瀏覽代碼

里程上报错误修改

CHENJIE-PC\QiXiang_CHENJIE 3 年之前
父節點
當前提交
25df7671c5
共有 1 個文件被更改,包括 5 次插入4 次删除
  1. 5 4
      inc/TcpTask.h

+ 5 - 4
inc/TcpTask.h

@@ -22,15 +22,15 @@ extern UINT32 TcpService;
 #define RUN_END_DELAY    (100)
 
 
-#define QX_TCP_ADD              "iotp.fast-fun.cn"
-#define QX_TCP_PORT					8712
+// #define QX_TCP_ADD              "iotp.fast-fun.cn"
+// #define QX_TCP_PORT					8712
 // #define QX_TCP_IPADRRES				"47.97.127.222"
 // #define QX_TCP_PORT					8712
 /*---------------测试IP地址-----------------------------------*/
 // #define QX_TCP_IPADRRES				"39.103.177.126"
 // #define QX_TCP_PORT					8712
-// #define QX_TCP_ADD 				"rpi.it5000.com"
-// #define QX_TCP_PORT					8812
+#define QX_TCP_ADD 				"rpi.it5000.com"
+#define QX_TCP_PORT					8812
 /*---------------测试IP地址END-----------------------------------*/
 #define BATT_SN_LEN             17
 #define TCP_START_SYM1			0x23
@@ -103,6 +103,7 @@ typedef struct _GPSInfoType
 	UINT8	altitude[2];
 	UINT8	latitude[4];
 	UINT8	longitude[4];
+	UINT8   AccMileage[4];
 	
 }GPSInfoType;
 typedef struct GPSMsgtoTcpType