11月28日发客户的版本
This commit is contained in:
@ -385,7 +385,7 @@ void stop_calibration(void){
|
|||||||
void start_clloct(void){
|
void start_clloct(void){
|
||||||
reset_ms_timer();
|
reset_ms_timer();
|
||||||
create_process(&start_collect_fuc_id,"start_collect",NULL,start_collect_fuc,10);
|
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){
|
void stop_clloct(void){
|
||||||
close_process(&start_collect_fuc_id,"start_collect");
|
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发送任务
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -83,7 +83,7 @@ extern u8 init_ok;
|
|||||||
extern u8 sniff_out;
|
extern u8 sniff_out;
|
||||||
unsigned char xtell_bl_state=0; //存放经典蓝牙的连接状态,0断开,1是连接
|
unsigned char xtell_bl_state=0; //存放经典蓝牙的连接状态,0断开,1是连接
|
||||||
u8 bt_newname =0;
|
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;
|
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);
|
// extern void gsensor_test(void);
|
||||||
// create_process(&gsensor_test_id,"gsensor_test",NULL,gsensor_test,1000);
|
// create_process(&gsensor_test_id,"gsensor_test",NULL,gsensor_test,1000);
|
||||||
xlog("ota_test");
|
xlog("ota_test");
|
||||||
|
cpu_reset();
|
||||||
break;
|
break;
|
||||||
case 0xff: //测试
|
case 0xff: //测试
|
||||||
u8 device_buff[10];
|
u8 device_buff[10];
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -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,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,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,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_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,clk_get,l
|
||||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,bt_pll_para,l
|
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,bt_pll_para,l
|
||||||
|
|||||||
Reference in New Issue
Block a user