diff --git a/apps/earphone/xtell_Sensor/send_data.c b/apps/earphone/xtell_Sensor/send_data.c index 7e0f5f8..b0bcbad 100644 --- a/apps/earphone/xtell_Sensor/send_data.c +++ b/apps/earphone/xtell_Sensor/send_data.c @@ -385,7 +385,7 @@ void stop_calibration(void){ void start_clloct(void){ reset_ms_timer(); create_process(&start_collect_fuc_id,"start_collect",NULL,start_collect_fuc,10); - create_process(&BLE_send_fuc_id,"BLE_send_fuc",NULL,BLE_send_fuc,1); + create_process(&BLE_send_fuc_id,"BLE_send_fuc",NULL,BLE_send_fuc,5); } @@ -395,7 +395,8 @@ void start_clloct(void){ */ void stop_clloct(void){ close_process(&start_collect_fuc_id,"start_collect"); - create_process(&stop_ble_send_fuc_id,"stop_BLE_send_fuc",NULL,stop_BLE_send_fuc,1000); //等缓冲区内容发送完,才停止ble发送任务 + close_process(&BLE_send_fuc_id,"BLE_send_fuc"); + // create_process(&stop_ble_send_fuc_id,"stop_BLE_send_fuc",NULL,stop_BLE_send_fuc,500); //等缓冲区内容发送完,才停止ble发送任务 } /** diff --git a/apps/earphone/xtell_Sensor/xtell_handler.c b/apps/earphone/xtell_Sensor/xtell_handler.c index 8ddfb1b..b3b8272 100644 --- a/apps/earphone/xtell_Sensor/xtell_handler.c +++ b/apps/earphone/xtell_Sensor/xtell_handler.c @@ -83,7 +83,7 @@ extern u8 init_ok; extern u8 sniff_out; unsigned char xtell_bl_state=0; //存放经典蓝牙的连接状态,0断开,1是连接 u8 bt_newname =0; -unsigned char xt_ble_new_name[9] = "CM-33333"; +unsigned char xt_ble_new_name[9] = "CM-22222"; static u16 play_poweron_ok_timer_id = 0; // -- 初始化标志位 -- @@ -223,6 +223,7 @@ void le_user_app_event_handler(struct sys_event* event){ // extern void gsensor_test(void); // create_process(&gsensor_test_id,"gsensor_test",NULL,gsensor_test,1000); xlog("ota_test"); + cpu_reset(); break; case 0xff: //测试 u8 device_buff[10]; diff --git a/cpu/br28/tools/app.bin b/cpu/br28/tools/app.bin index 277d32b..75e069a 100644 Binary files a/cpu/br28/tools/app.bin and b/cpu/br28/tools/app.bin differ diff --git a/cpu/br28/tools/data_code.bin b/cpu/br28/tools/data_code.bin index 29a843c..bb68600 100644 Binary files a/cpu/br28/tools/data_code.bin and b/cpu/br28/tools/data_code.bin differ diff --git a/cpu/br28/tools/download/earphone/jl_isd.bin b/cpu/br28/tools/download/earphone/jl_isd.bin index c6a2e83..322e5a2 100644 Binary files a/cpu/br28/tools/download/earphone/jl_isd.bin and b/cpu/br28/tools/download/earphone/jl_isd.bin differ diff --git a/cpu/br28/tools/sdk.elf.resolution.txt b/cpu/br28/tools/sdk.elf.resolution.txt index f6f6ead..cc2fda7 100644 --- a/cpu/br28/tools/sdk.elf.resolution.txt +++ b/cpu/br28/tools/sdk.elf.resolution.txt @@ -5758,6 +5758,7 @@ objs/apps/earphone/xtell_Sensor/xtell_handler.c.o -r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,bmp280_init,l -r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,start_clloct,l -r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,stop_clloct,l +-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,p33_soft_reset,l -r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,clk_set,l -r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,clk_get,l -r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,bt_pll_para,l