Browse Source

重庆6060-002使用软件:软件版本-1.2.1.7,修改:1.控制下发都会进行回复,锁定状态由模块自行控制

CHENJIE-PC\QiXiang_CHENJIE 4 years ago
parent
commit
0665518a78
2 changed files with 2 additions and 2 deletions
  1. 1 1
      inc/app.h
  2. 1 1
      src/TcpTask.c

+ 1 - 1
inc/app.h

@@ -34,7 +34,7 @@ extern "C" {
 #define HWVERSION		    0x0102    //硬件主版本,现为V1.2板
 #define	BLSWVERSION		0x01020000    //BootLoader版本号V1.2.0.0
 #define	DRVSWVERSION		0x01030000     //驱动层版本号V1.3.0.0
-#define	APPSWVERSION		0x01020106      
+#define	APPSWVERSION		0x01020107      
 
 //--------------------------------------------------------------------------------
 

+ 1 - 1
src/TcpTask.c

@@ -487,8 +487,8 @@ static void TcpDataInfoRecvHandle()
                         if((UartReadMsg.data[(0x03+BATT_CELL_VOL_NUM)*2+1]&0x03)==0x00)
                         {
                             osMessageQueuePut(UartWriteCmdHandle,&UartWriteCmd,0,1000);
-                            tcpipConnectionSend(socContext.id,TcpCmdAnswer,31,0,0,0);
                         }
+                        tcpipConnectionSend(socContext.id,TcpCmdAnswer,31,0,0,0);
                     }
                     else                //0x02代表解锁
                     {