This commit is contained in:
parent
fad648f428
commit
c2b522a404
|
@ -19,7 +19,7 @@
|
|||
|
||||
|
||||
#define SYS_HW_VERSION (0X13U)
|
||||
#define SYS_SW_VERSION (0X16U)
|
||||
#define SYS_SW_VERSION (0X17U)
|
||||
#define SYS_IOT_UPLOAD_CYCLE_MIN (0X003CU) // 高位在后,低位在前
|
||||
#define SYS_IOT_RETRY (0X03U)
|
||||
#define SYS_TEMP_ALARM_THRESHOLD (0X32U)
|
||||
|
@ -37,7 +37,6 @@
|
|||
// #define SYS_IOT_URL ("8.130.105.38")
|
||||
// #define SYS_IOT_PORT ("7133")
|
||||
|
||||
|
||||
#define K (8 * 1000)
|
||||
|
||||
// 定义宏来打印编译时间和日期
|
||||
|
|
|
@ -140,7 +140,9 @@ static void urc_tcp_recv (struct at_client *client, const char *data, rt_size_t
|
|||
rt_uint16_t rec_crc16 = 0;
|
||||
char crc16_buf[6] = {0};
|
||||
char data_buf[AT_CLIENT_RECV_BUFF_LEN] = {0};
|
||||
|
||||
#ifdef TEST_ENABLE
|
||||
RTC_ShowTime(); // 每次接收打印下时间,容易定位问题
|
||||
#endif
|
||||
rt_uint8_t recv_byte_buf[AT_CLIENT_RECV_BUFF_LEN] = {0};
|
||||
rt_memset (data_buf, 0, sizeof (data_buf));
|
||||
/*+MIPURC: "rtcp",<connect_id>,<recv_length>,<data>*/
|
||||
|
|
Loading…
Reference in New Issue