From: penglei <1624952103@qq.com> Date: Mon, 8 Apr 2024 01:33:10 +0000 (+0800) Subject: 优化cat1蓝牙产测 X-Git-Tag: release_V1.2.70_20241020_135402~1227 X-Git-Url: http://git.snicker.com.cn/css/static/gitweb.css?a=commitdiff_plain;h=7cf001d85a6917cec06302a610c8c66940d381a7;p=mirrors%2FFD230.git 优化cat1蓝牙产测 --- diff --git a/code/sdk/application/wearable/service/factorytest_service/factorytest_protocol.c b/code/sdk/application/wearable/service/factorytest_service/factorytest_protocol.c index f3edbeccb..2b6d802e8 100644 --- a/code/sdk/application/wearable/service/factorytest_service/factorytest_protocol.c +++ b/code/sdk/application/wearable/service/factorytest_service/factorytest_protocol.c @@ -334,8 +334,8 @@ void get_rtc(uint32_t *msc) void aging_task(void) { - //while(aging_t.flag == 0xfdfd0002 && aging_time) - while(aging_t.flag == 0xfdfd0002) + while(aging_t.flag == 0xfdfd0002 && aging_time) + //while(aging_t.flag == 0xfdfd0002) { msleep(60000); @@ -1287,6 +1287,7 @@ void factorytest_protocol_soft_test_decode(uint8_t submode,uint8_t testitem,uint uint16_t len = sizeof(send_data); cat1_getsignal(); + msleep(1000); char *tokbuf=NULL; tokbuf=strtok(networkmsg,":"); if(strcmp(tokbuf,"imei")==0) @@ -1309,6 +1310,7 @@ void factorytest_protocol_soft_test_decode(uint8_t submode,uint8_t testitem,uint uint8_t send_data[2] = {0}; cat1_getsignal(); + msleep(1000); char *tokbuf=NULL; tokbuf=strtok(networkmsg,":"); if(strcmp(tokbuf,"imei")==0) @@ -1336,6 +1338,7 @@ void factorytest_protocol_soft_test_decode(uint8_t submode,uint8_t testitem,uint uint8_t send_data = 0x00; cat1_getsignal(); + msleep(1000); char *tokbuf=NULL; char *buf1=NULL; char *buf2=NULL;