This commit is contained in:
lmx
2025-12-02 19:13:01 +08:00
parent f63092fe87
commit 2bc443584c
16 changed files with 1793 additions and 820 deletions

View File

@ -302,8 +302,8 @@ static int bt_connction_status_event_handler(struct bt_event *bt)
ble_bqb_test_thread_init();
} else {
#if !TCFG_WIRELESS_MIC_ENABLE
bt_ble_init();
xtell_ble_central_test_start();
// bt_ble_init();
// xtell_ble_central_test_start(); //xtell
#endif
}
#endif
@ -337,7 +337,7 @@ static int bt_connction_status_event_handler(struct bt_event *bt)
bt_newname =1;
u8 temp[5]={0xBB,0xBE,0x02,0x04,0x00};
temp[4] = xtell_bl_state; //经典蓝牙连接状态
send_data_to_ble_client(&temp,5);
// send_data_to_ble_client(&temp,5);
}
earphone_change_pwr_mode(PWR_DCDC15, 3000);
sys_auto_shut_down_disable();
@ -370,7 +370,7 @@ static int bt_connction_status_event_handler(struct bt_event *bt)
bt_newname=0;
u8 temp[5]={0xBB,0xBE,0x02,0x04,0x00};
temp[4] = xtell_bl_state; //经典蓝牙连接状态
send_data_to_ble_client(&temp,5);
// send_data_to_ble_client(&temp,5);
}
if (app_var.goto_poweroff_flag) {
/*关机不播断开提示音*/