From e84d48604c00cec457884f621afe2181823f00c0 Mon Sep 17 00:00:00 2001 From: victor Date: Tue, 4 Jul 2017 14:33:27 +0900 Subject: [PATCH] =?UTF-8?q?=EB=AA=A8=EB=93=9C=EB=B2=84=EC=8A=A4=20?= =?UTF-8?q?=EC=98=A4=EB=A5=98=20=EC=BD=94=EB=93=9C=EA=B0=80=20=EB=B6=88?= =?UTF-8?q?=EB=AA=85=ED=99=95=ED=95=98=EA=B8=B0=EC=97=90=20=EA=B4=80?= =?UTF-8?q?=EB=A0=A8=ED=95=B4=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/app-prime-modbus/app/app-prime-modbus/rs485_serial.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/app-prime-modbus/app/app-prime-modbus/rs485_serial.c b/app/app-prime-modbus/app/app-prime-modbus/rs485_serial.c index b54b668..296fe27 100644 --- a/app/app-prime-modbus/app/app-prime-modbus/rs485_serial.c +++ b/app/app-prime-modbus/app/app-prime-modbus/rs485_serial.c @@ -560,6 +560,9 @@ static void on_receive_data( void){ case 0x03 : on_rcv_control(); break; case 0x04 : on_rcv_status(); break; case 0x06 : on_rcv_echo(); break; + case 0x83 : + case 0x84 : + case 0x86 : case 0x80 : on_rcv_80_code(); break; default : printf( "receive unknown func code 0x%x\n", rx_data[1] & 0xff); -- 2.1.4