8 Commits

Author SHA1 Message Date
lmx
3fa235d3c2 cun 2025-12-18 18:33:00 +08:00
lmx
8775ec8b1a 遥感adc值调整 2025-12-18 14:58:35 +08:00
lmx
5757f3fb12 cun 2025-12-18 11:41:44 +08:00
lmx
01f442d636 cun 2025-12-18 11:41:44 +08:00
lmx
c856031d2f 代码调整 2025-12-18 11:41:44 +08:00
lmx
537cb1f099 连接server并发送数据成功 2025-12-18 11:41:44 +08:00
lmx
d029d273f8 cun 2025-12-18 11:41:44 +08:00
lmx
0087d2922a cun 2025-12-18 11:41:31 +08:00
27 changed files with 7082 additions and 1775 deletions

View File

@ -1,3 +1,5 @@
// *****************************************************************************
/* EXAMPLE_START(le_counter): LE Peripheral - Heartbeat Counter over GATT
*

View File

@ -34,7 +34,7 @@
/*软件IIC设置*/ //xtell
#define TCFG_SW_I2C0_CLK_PORT IO_PORTA_05//IO_PORTB_04 //软件IIC CLK脚选择 XTELL
#define TCFG_SW_I2C0_DAT_PORT IO_PORTA_06//IO_PORTB_05 //软件IIC DAT脚选择
#define TCFG_SW_I2C0_DELAY_CNT 0 //IIC延时参数影响通讯时钟频率
#define TCFG_SW_I2C0_DELAY_CNT 10 //IIC延时参数影响通讯时钟频率
/*硬件IIC端口选择 -- 具体看手册,这里写的不准 -- lmx
SCL SDA

View File

@ -8,7 +8,7 @@
/* Following Macros Affect Periods Of Both Code Compiling And Post-build */
#define CONFIG_DOUBLE_BANK_ENABLE 1 //单双备份选择(若打开了改宏,FLASH结构变为双备份结构适用于接入第三方协议的OTA PS: JL-OTA同样支持双备份升级, 需要根据实际FLASH大小同时配置CONFIG_FLASH_SIZE)
#define CONFIG_DOUBLE_BANK_ENABLE 0 //单双备份选择(若打开了改宏,FLASH结构变为双备份结构适用于接入第三方协议的OTA PS: JL-OTA同样支持双备份升级, 需要根据实际FLASH大小同时配置CONFIG_FLASH_SIZE)
#define CONFIG_APP_OTA_ENABLE 1 //是否支持RCSP升级(JL-OTA)
#define CONFIG_UPDATE_JUMP_TO_MASK 0 //配置升级到loader的方式0为直接reset,1为跳转(适用于芯片电源由IO口KEEP住的方案,需要注意检查跳转前是否将使用DMA的硬件模块全部关闭)

View File

@ -20,7 +20,7 @@
#include "pbg_user.h"
#include "btstack/bluetooth.h"
#include "colorful_lights/colorful_lights.h"
#if 0
#if TCFG_AUDIO_ANC_ENABLE
#include "audio_anc.h"
#endif/*TCFG_AUDIO_ANC_ENABLE*/
@ -2792,3 +2792,4 @@ static int state_machine(struct application *app, enum app_state state, struct i
// .state = APP_STA_DESTROY,
// };
#endif

View File

@ -24,7 +24,7 @@
#define TRANS_DATA_EN 0
#define RCSP_BTMATE_EN 0
#if BLE_WIRELESS_CLIENT_EN == 0
#define RCSP_ADV_EN 1 // lmx打开这个则作为ble从设备
#define RCSP_ADV_EN 1
#else
#define RCSP_ADV_EN 0
#endif

View File

@ -169,6 +169,7 @@ static const struct sin_param *get_sine_param_by_index(u8 index, u8 *num)
__BANK_TONE_ENTRY
int tone_play_index(u8 index, u8 preemption)
{
return 0; //xtell
printf("tone_play_index:%d,preemption:%d", index, preemption);
if (index >= IDEX_TONE_NONE) {
return 0;
@ -202,6 +203,7 @@ int tone_play_index_no_tws(u8 index, u8 preemption)
/* __BANK_TONE_ENTRY */
int tone_play_index_with_callback(u8 index, u8 preemption, void (*user_evt_handler)(void *priv), void *priv)
{
return 0; //xtell
printf("tone_play_index:%d,preemption:%d", index, preemption);
if (index >= IDEX_TONE_NONE) {
return 0;

View File

@ -11,7 +11,7 @@
#include "asm/pwm_led.h"
#include "aec_user.h"
#include "app_power_manage.h"
#include "avctp_user.h"
#define LOG_TAG_CONST USER_CFG
#define LOG_TAG "[USER_CFG]"
#define LOG_ERROR_ENABLE
@ -581,5 +581,33 @@ int bt_modify_name(u8 *new_name)
}
return 0;
}
////////////////////////////////////////////////////////////////////////////////////////
extern void lmp_hci_write_local_name(const char *name);
int xtell_bt_newname(u8 *new_name){
u8 new_len = strlen(new_name);
if(new_len >= LOCAL_NAME_LEN){
new_name[LOCAL_NAME_LEN -1] = 0;
}
if(strcmp(new_name,bt_cfg.edr_name)){
user_send_cmd_prepare(USER_CTRL_DISCONNECTION_HCI, 0, NULL); //断开此时经典蓝牙的连接,但经典蓝牙还是可以被发现
user_send_cmd_prepare(USER_CTRL_WRITE_SCAN_DISABLE, 0, NULL); //关闭蓝牙可发现,已连接时不能操作
user_send_cmd_prepare(USER_CTRL_WRITE_CONN_DISABLE, 0, NULL); //关闭蓝牙可连接
syscfg_write(CFG_BT_NAME,new_name,LOCAL_NAME_LEN);
memcpy(bt_cfg.edr_name,new_name,LOCAL_NAME_LEN);
lmp_hci_write_local_name(bt_get_local_name());
printf("xtell set new name sucess\n");
delay_2ms(25);
bt_ble_init();
user_send_cmd_prepare(USER_CTRL_WRITE_SCAN_ENABLE, 0, NULL); //打开蓝牙可发现,已连接时不能操作
user_send_cmd_prepare(USER_CTRL_WRITE_CONN_ENABLE, 0, NULL); //打开蓝牙可连接
connect_last_device_from_vm();
return 1;
}
return 0;
}

View File

@ -67,15 +67,18 @@ unsigned char GetReg(unsigned char address, unsigned char *reg_data){
soft_iic_start(0);
if (0 == soft_iic_tx_byte(0, FM176_WRITE_ADDR)) {
soft_iic_stop(0);
xlog("GetReg: 【write】 addr write error\n");
return FAIL;
}
if (0 == soft_iic_tx_byte(0, address)) {
soft_iic_stop(0);
xlog("GetReg: 【reg】 addr write error\n");
return FAIL;
}
soft_iic_start(0);
if (0 == soft_iic_tx_byte(0, FM176_READ_ADDR)) {
soft_iic_stop(0);
xlog("GetReg: 【read】 addr read error\n");
return FAIL;
}
*reg_data = soft_iic_rx_byte(0, 0);
@ -96,14 +99,17 @@ unsigned char SetReg(unsigned char address, unsigned char reg_data){
soft_iic_start(0);
if (0 == soft_iic_tx_byte(0, FM176_WRITE_ADDR)) {
soft_iic_stop(0);
xlog("SetReg: 【write】 addr write error\n");
return FAIL;
}
if (0 == soft_iic_tx_byte(0, address)) {
soft_iic_stop(0);
xlog("SetReg: 【reg】 addr write error\n");
return FAIL;
}
if (0 == soft_iic_tx_byte(0, reg_data)) {
soft_iic_stop(0);
xlog("SetReg: 【reg】 data write error\n");
return FAIL;
}
soft_iic_stop(0);
@ -216,5 +222,5 @@ unsigned char FM176XX_SoftReset(void){
void rfid_delay_ms(unsigned int ms){
// delay(ms);
os_time_dly(ms/10);
mdelay(ms);
}

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,528 @@
#include "system/includes.h"
#include "media/includes.h"
#include "tone_player.h"
#include "earphone.h"
#include "app_config.h"
#include "app_action.h"
#include "app_task.h"
#include "btstack/avctp_user.h"
#include "btstack/btstack_task.h"
#include "btctrler/btctrler_task.h"
#include "btstack/frame_queque.h"
#include "user_cfg.h"
// #include "aec_user.h"
#include "classic/hci_lmp.h"
#include "bt_common.h"
#include "bt_ble.h"
#include "bt_tws.h"
#include "pbg_user.h"
#include "btstack/bluetooth.h"
#include "colorful_lights/colorful_lights.h"
#include "app_chargestore.h"
#include "jl_kws/jl_kws_api.h"
#include "asm/charge.h"
#include "app_charge.h"
#include "ui_manage.h"
#include "app_chargestore.h"
#include "app_umidigi_chargestore.h"
#include "app_testbox.h"
#include "app_online_cfg.h"
#include "app_main.h"
#include "app_power_manage.h"
#include "gSensor/gSensor_manage.h"
#include "key_event_deal.h"
#include "classic/tws_api.h"
#include "asm/pwm_led.h"
#include "ir_sensor/ir_manage.h"
#include "in_ear_detect/in_ear_manage.h"
#include "vol_sync.h"
#include "bt_background.h"
#include "default_event_handler.h"
#include "debug.h"
#include "system/event.h"
#include "../nvs/nvs.h"
#if (JL_EARPHONE_APP_EN)
#include "rcsp_adv_bluetooth.h"
#endif
///////////////////////////////////////////////////////////////////////////////////////////////////
//宏定义
#define LOG_TAG_CONST EARPHONE
#define LOG_TAG "[EARPHONE]"
#define LOG_ERROR_ENABLE
#define LOG_DEBUG_ENABLE
#define xlog_ENABLE
#if(USE_DMA_UART_TEST) //使用dm串口测试时不能同时打开
#define MY_SNIFF_EN 0
#else
#define MY_SNIFF_EN 1 //默认打开
#endif
#define ENABLE_XLOG 1
#ifdef xlog
#undef xlog
#endif
#if ENABLE_XLOG
#define xlog(format, ...) printf("[XT:%s] " format, __func__, ##__VA_ARGS__)
#else
#define xlog(format, ...) ((void)0)
#endif
//
///////////////////////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////////////////////
//变量
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] = "tws";
static u16 play_poweron_ok_timer_id = 0;
// -- 初始化标志位 --
u8 SC7U22_init = 0x10; //六轴是否初始化
u8 MMC5603nj_init = 0x20; //地磁是否初始化
u8 BMP280_init = 0x30; //气压计初始化
// -- 线程id --
u16 SC7U22_calibration_id;
u16 start_collect_fuc_id;
u16 BLE_send_fuc_id;
u16 rfid_fuc_id;
//
///////////////////////////////////////////////////////////////////////////////////////////////////
extern int bt_hci_event_handler(struct bt_event *bt);
extern void SC7U22_static_calibration(void);
extern void create_process(u16* pid, const char* name, void *priv, void (*func)(void *priv), u32 msec);
extern void close_process(u16* pid,char* name);
extern void start_collect_fuc(void);
extern void BLE_send_fuc(void);
extern void xtell_ble_central_test_start(void);
///////////////////////////////////////////////////////////////////////////////////////////////////
/*
* 模式状态机, 通过start_app()控制状态切换
*/
/* extern int audio_mic_init(); */
static int state_machine(struct application *app, enum app_state state, struct intent *it){
int error = 0;
static u8 tone_player_err = 0;
xlog("bt_state_machine=%d\n", state);
switch (state) {
case APP_STA_CREATE:
xlog("APP_STA_CREATE\n");
/* set_adjust_conn_dac_check(0); */
break;
case APP_STA_START:
xlog("APP_STA_START\n");
if (!it) {
xlog("APP_STA_START:it none\n");
break;
}
switch (it->action) {
case ACTION_EARPHONE_MAIN:
xlog("ble init\n");
/*
* handler 初始化
*/
clk_set("sys", BT_NORMAL_HZ);
u32 sys_clk = clk_get("sys");
bt_pll_para(TCFG_CLOCK_OSC_HZ, sys_clk, 0, 0);
/* bredr_set_dut_enble(1, 1); */
bt_function_select_init();
bredr_handle_register();
EARPHONE_STATE_INIT();
btstack_init();
sys_auto_shut_down_enable();
bt_sniff_feature_init();
sys_auto_sniff_controle(MY_SNIFF_EN, NULL);
app_var.dev_volume = -1;
break;
case ACTION_A2DP_START: //蓝牙音频传输协议
xlog("ACTION_A2DP_START\n");
break;
case ACTION_BY_KEY_MODE:
xlog("ACTION_BY_KEY_MODE\n");
break;
case ACTION_TONE_PLAY:
xlog("ACTION_TONE_PLAY\n");
// STATUS *p_tone = get_tone_config();
// tone_play_index(p_tone->bt_init_ok, 1);
break;
case ACTION_DO_NOTHING:
xlog("ACTION_DO_NOTHING\n");
break;
}
break;
case APP_STA_PAUSE:
xlog("APP_STA_PAUSE\n");
break;
case APP_STA_RESUME:
xlog("APP_STA_RESUME\n");
//恢复前台运行
sys_auto_shut_down_disable();
sys_key_event_enable();
break;
case APP_STA_STOP:
xlog("APP_STA_STOP\n");
break;
case APP_STA_DESTROY:
xlog("APP_STA_DESTROY\n");
r_printf("APP_STA_DESTROY\n");
if (!app_var.goto_poweroff_flag) {
bt_app_exit(NULL);
}
break;
}
xlog("state machine error\n");
return error;
}
///////////////////////////////////////////////////////////////////////////////////////////////////
//handle
void le_user_app_send_event(size_t command, unsigned char* data, size_t size)
{
// 中断->事件
static unsigned char buffer[512];
if(data && size && size <= sizeof(buffer)) {
// 拷贝到缓存,避免转发事件的时候,地址发送改变。
memcpy(buffer, data, size);
struct sys_event event;
event.type = SYS_APP_USER_EVENT;
event.u.app.command = command;
event.u.app.buffer = buffer;
event.u.app.size = size;
sys_event_notify(&event);
}
}
void le_user_app_event_handler(struct sys_event* event){
switch (event->type) {
// 打印接收到的数据
printf("BLE data\n");
put_buf(event->u.app.buffer, event->u.app.size);
case SYS_APP_USER_EVENT:
if (event->u.app.buffer[0] == 0xBE && event->u.app.buffer[1] == 0xBB) {
if(event->u.app.buffer[2] == 0x01){ //后面的数据长度 1
switch (event->u.app.buffer[3]){
case 0x01:
nvs_test_factory_info();
break;
case 0x02:
// factory_info_t read_info;;
// nvs_read_factory_info(&read_info);
extern void rfid_task_fuc(void);
create_process(&rfid_fuc_id,"rfid",NULL,rfid_task_fuc,2000);
break;
case 0xff: //测试
int ret = hw_iic_init(0);
// int ret = soft_iic_init(0);
xlog("init iic result:%d\n", ret); //返回0成功
extern void i2c_scanner_probe(void);
i2c_scanner_probe();
break;
default:
break;
}
}else if(event->u.app.buffer[2] == 0x02){ //后面数据长度为2
switch (event->u.app.buffer[3]){ //数据包类型
case 0x00:
break;
}
}
}
break;
default:
xlog("%d\n",event->type);
break;
}
}
static void play_poweron_ok_timer(void *priv)
{
app_var.wait_timer_do = 0;
log_d("\n-------play_poweron_ok_timer-------\n", priv);
if (is_dac_power_off()) {
#if TCFG_USER_TWS_ENABLE
bt_tws_poweron();
#else
bt_wait_connect_and_phone_connect_switch(0);
#endif
return;
}
app_var.wait_timer_do = sys_timeout_add(priv, play_poweron_ok_timer, 100);
}
static void play_bt_connect_dly(void *priv)
{
app_var.wait_timer_do = 0;
log_d("\n-------play_bt_connect_dly-------\n", priv);
if (!app_var.goto_poweroff_flag) {
STATUS *p_tone = get_tone_config();
tone_play_index(p_tone->bt_connect_ok, 1);
}
}
static int bt_connction_status_event_handler(struct bt_event *bt)
{
STATUS *p_tone = get_tone_config();
u8 *phone_number = NULL;
switch (bt->event) {
case BT_STATUS_INIT_OK:
/*
* 蓝牙初始化完成
*/
xlog("BT_STATUS_INIT_OK\n");
init_ok = 1;
__set_sbc_cap_bitpool(38);
#if (TCFG_USER_BLE_ENABLE)
if (BT_MODE_IS(BT_BQB)) {
ble_bqb_test_thread_init();
} else {
#if !TCFG_WIRELESS_MIC_ENABLE
bt_ble_init(); // lmx初始化完初始化ble决定ble是作为主设备还是从设备
// xtell_ble_central_test_start(); //xtell
#endif
}
#endif
bt_init_ok_search_index();
#if TCFG_TEST_BOX_ENABLE
testbox_set_bt_init_ok(1);
#endif
#if ((CONFIG_BT_MODE == BT_BQB)||(CONFIG_BT_MODE == BT_PER))
bt_wait_phone_connect_control(1);
#else
if (is_dac_power_off()) {
bt_wait_connect_and_phone_connect_switch(0);
} else {
app_var.wait_timer_do = sys_timeout_add(NULL, play_poweron_ok_timer, 100);
}
#endif
/*if (app_var.play_poweron_tone) {
tone_play_index(p_tone->power_on, 1);
}*/
break;
case BT_STATUS_SECOND_CONNECTED:
clear_current_poweron_memory_search_index(0);
case BT_STATUS_FIRST_CONNECTED:
xlog("BT_STATUS_CONNECTED\n");
xtell_bl_state = 1; //蓝牙连接成功 置1
if(strcmp(xt_ble_new_name,"CM-11111") != 0){
//蓝牙连接成功
bt_newname =1;
u8 temp[5]={0xBB,0xBE,0x02,0x04,0x00};
temp[4] = xtell_bl_state; //经典蓝牙连接状态
// send_data_to_ble_client(&temp,5);
}
earphone_change_pwr_mode(PWR_DCDC15, 3000);
sys_auto_shut_down_disable();
ui_update_status(STATUS_BT_CONN); //单台在此处设置连接状态,对耳的连接状态需要同步在bt_tws.c中去设置
/* tone_play(TONE_CONN); */
/*os_time_dly(40); // for test*/
xlog("tone status:%d\n", tone_get_status());
if (get_call_status() == BT_CALL_HANGUP) {
if (app_var.phone_dly_discon_time) {
sys_timeout_del(app_var.phone_dly_discon_time);
app_var.phone_dly_discon_time = 0;
} else {
app_var.wait_timer_do = sys_timeout_add(NULL, play_bt_connect_dly, 1600);
/* tone_play_index(p_tone->bt_connect_ok, 1); */
}
}
/*int timeout = 5000 + rand32() % 10000;
sys_timeout_add(NULL, connect_phone_test, timeout);*/
break;
case BT_STATUS_FIRST_DISCONNECT:
case BT_STATUS_SECOND_DISCONNECT:
xlog("BT_STATUS_DISCONNECT\n");
xtell_bl_state = 0; //断开蓝牙 清0
//蓝牙断开连接
if(bt_newname){ //已经改成新蓝牙名字,断开才播报
bt_newname=0;
u8 temp[5]={0xBB,0xBE,0x02,0x04,0x00};
temp[4] = xtell_bl_state; //经典蓝牙连接状态
// send_data_to_ble_client(&temp,5);
}
if (app_var.goto_poweroff_flag) {
/*关机不播断开提示音*/
/*关机时不改UI*/
break;
}
// bt_discon_dly_handle(NULL);
break;
//phone status deal
case BT_STATUS_PHONE_INCOME:
break;
case BT_STATUS_PHONE_OUT:
break;
case BT_STATUS_PHONE_ACTIVE:
break;
case BT_STATUS_PHONE_HANGUP:
break;
case BT_STATUS_PHONE_NUMBER:
break;
case BT_STATUS_INBAND_RINGTONE: //铃声
break;
case BT_STATUS_CALL_VOL_CHANGE:
break;
case BT_STATUS_SNIFF_STATE_UPDATE:
xlog(" BT_STATUS_SNIFF_STATE_UPDATE %d\n", bt->value); //0退出SNIFF
if (bt->value == 0) {
sniff_out = 1;
sys_auto_sniff_controle(MY_SNIFF_EN, bt->args);
} else {
sys_auto_sniff_controle(0, bt->args);
}
break;
case BT_STATUS_LAST_CALL_TYPE_CHANGE:
break;
case BT_STATUS_CONN_A2DP_CH:
case BT_STATUS_CONN_HFP_CH:
if ((!is_1t2_connection()) && (get_current_poweron_memory_search_index(NULL))) { //回连下一个device
if (get_esco_coder_busy_flag()) {
clear_current_poweron_memory_search_index(0);
} else {
user_send_cmd_prepare(USER_CTRL_START_CONNECTION, 0, NULL);
}
}
break;
case BT_STATUS_PHONE_MANUFACTURER:
break;
case BT_STATUS_VOICE_RECOGNITION:
break;
case BT_STATUS_AVRCP_INCOME_OPID:
xlog("BT_STATUS_AVRCP_INCOME_OPID:%d\n", bt->value);
break;
default:
xlog(" BT STATUS DEFAULT\n");
break;
}
return 0;
}
static int event_handler(struct application *app, struct sys_event *event)
{
le_user_app_event_handler(event);
if (SYS_EVENT_REMAP(event)) {
g_printf("****SYS_EVENT_REMAP**** \n");
return 0;
}
switch (event->type) {
case SYS_KEY_EVENT:
break;
case SYS_BT_EVENT:
/*
* 蓝牙事件处理
*/
if ((u32)event->arg == SYS_BT_EVENT_TYPE_CON_STATUS) {
printf("in event_handler:bt_connction_status_event_handler");
bt_connction_status_event_handler(&event->u.bt);
} else if ((u32)event->arg == SYS_BT_EVENT_TYPE_HCI_STATUS) {
bt_hci_event_handler(&event->u.bt);
}
break;
case SYS_DEVICE_EVENT:
/*
* 系统设备事件处理
*/
if ((u32)event->arg == DEVICE_EVENT_FROM_CHARGE) {
} else if ((u32)event->arg == DEVICE_EVENT_FROM_POWER) {
return app_power_event_handler(&event->u.dev);
}
#if (JL_EARPHONE_APP_EN)
else if ((u32)event->arg == DEVICE_EVENT_FROM_RCSP) {
xlog("DEVICE_EVENT_FROM_RCSP: %d", event->u.rcsp.event);
switch (event->u.rcsp.event) {
case MSG_JL_UPDATE_START:
xlog(">>> Xtell APP: MSG_JL_UPDATE_START\n");
// You can add UI notifications here, like LED blinking or a tone.
break;
default:
break;
}
}
#endif
#if TCFG_UMIDIGI_BOX_ENABLE
else if ((u32)event->arg == DEVICE_EVENT_UMIDIGI_CHARGE_STORE) {
app_umidigi_chargestore_event_handler(&event->u.umidigi_chargestore);
}
#endif
#if TCFG_TEST_BOX_ENABLE
else if ((u32)event->arg == DEVICE_EVENT_TEST_BOX) {
app_testbox_event_handler(&event->u.testbox);
}
#endif
break;
default:
return false;
}
SYS_EVENT_HANDLER_SPECIFIC(event);
#ifdef CONFIG_BT_BACKGROUND_ENABLE
if (app) {
default_event_handler(event);
}
#endif
return false;
}
///////////////////////////////////////////////////////////////////////////////////////////////////
static const struct application_operation app_handler_ops = {
.state_machine = state_machine,
.event_handler = event_handler,
};
/*
* 注册earphone模式
*/
REGISTER_APPLICATION(app_handler) = {
.name = "handler",
.action = ACTION_EARPHONE_MAIN,
.ops = &app_handler_ops,
.state = APP_STA_DESTROY,
};

View File

@ -6,6 +6,11 @@
#include "le_common.h"
#include "ble_user.h"
#if 0 //ENABLE_THIS_TEST
#define LOG_TAG_CONST EARPHONE

File diff suppressed because it is too large Load Diff

View File

@ -49,4 +49,12 @@ extern void g_ble_connect_new_device(char* name);
* @return //0:连接断开; 1连接成功
*/
extern u8 g_ble_get_state(void);
/**
* @brief 发送数据给server
*
* @param data
* @param length
*/
void g_send_data_to_ble_server(const u8* data, u16 length);
#endif

File diff suppressed because it is too large Load Diff

View File

@ -8,9 +8,11 @@
#include "le_client_demo.h"
#include "le_common.h"
#include "./ble_handler/client_handler.h"
// =================================================================================
#include "./RFID/include/rfid_main.h"
#include "./RFID/include/READER_REG.h"
// ==================================================================================================================================================================
// 宏定义与日志
// =================================================================================
// ==================================================================================================================================================================
#define RC_LOG_ENABLE 1
#if RC_LOG_ENABLE
@ -19,14 +21,14 @@
#define rc_log(format, ...)
#endif
// =================================================================================
// ==================================================================================================================================================================
// 外部函数声明
// =================================================================================
// ==================================================================================================================================================================
extern void TYPE_V_EVENT(char* uid);
extern void TYPE_A_EVENT(char* uid);
// =================================================================================
// ==================================================================================================================================================================
// 静态函数声明
// =================================================================================
// ==================================================================================================================================================================
static RFID_Device_Type_t get_rfid_device_type(const u8* uid);
@ -35,9 +37,15 @@ static void rc_ble_state_set_connecting(void);
static void rc_ble_state_set_connected(void);
static void rc_ble_state_set_disconnected(void);
// =================================================================================
//进程名称
static char control_key_task_name[] = "control_key";
//进程运行中标志
static u8 key_detect_sign = 0; //为1表示正在运行
// ==================================================================================================================================================================
// 全局变量
// =================================================================================
// ==================================================================================================================================================================
static RC_Context_t g_rc_context; // 全局上下文实例
static u16 g_rfid_timer_id = 0; // RFID 定时器ID
@ -46,9 +54,9 @@ static u8 current_board_mac[MAIN_BOARD_MAC_ADDR_LENGTH] = {0}; //当前连接
// =================================================================================
// 核心回调函数 (Core Callback Handlers)
// =================================================================================
// ==================================================================================================================================================================
// rfid功能相关
// ==================================================================================================================================================================
/**
* @brief RFID回调处理函数 (由定时器周期性调用)
@ -121,6 +129,11 @@ void rc_rfid_callback_handler(void *priv)
}
}
// ==================================================================================================================================================================
// ble功能相关
// ==================================================================================================================================================================
/**
* @brief BLE回调处理函数 (由定时器周期性调用)s
*/
@ -195,9 +208,129 @@ static RFID_Device_Type_t get_rfid_device_type(const u8* uid)
return RFID_DEVICE_TYPE_UNKNOWN;
}
// =================================================================================
// 辅助函数 (Helper Functions)
// =================================================================================
// ==================================================================================================================================================================
// 遥感按键相关
// ==================================================================================================================================================================
/**
* @brief 遥感按键初始化
*
*/
void control_key_init(void){
//Yout
adc_add_sample_ch(AD_CH_PG5);
gpio_set_die(IO_PORTG_05, 0);
gpio_set_direction(IO_PORTG_05, 1);
gpio_set_pull_down(IO_PORTG_05, 0);
gpio_set_pull_up(IO_PORTG_05, 0);
//Xout
adc_add_sample_ch(AD_CH_PG7);
gpio_set_die(IO_PORTG_07, 0);
gpio_set_direction(IO_PORTG_07, 1);
gpio_set_pull_down(IO_PORTG_07, 0);
gpio_set_pull_up(IO_PORTG_07, 0);
//key 1默认为高按下为低
gpio_set_die(IO_PORTG_06, 1);
gpio_set_direction(IO_PORTG_06, 1);
gpio_set_pull_down(IO_PORTG_06, 0);
gpio_set_pull_up(IO_PORTG_06, 1);
}
/**
* @brief 获取遥感按键值
*
* @param Xout_adc x轴遥感adc
* @param Yout_adc y轴遥感adc
* @param key1_state 按键1值
* @param key2_state 按键2值
*/
void control_key_get_value(u16* Xout_adc, u16* Yout_adc, u8* key1_state, u8* key2_state){
*Xout_adc = (u16)adc_get_value(AD_CH_PG5) * 64;
*Yout_adc = (u16)adc_get_value(AD_CH_PG7) * 64;
if(*Yout_adc >= 65535){
*Yout_adc = 65535;
}
if(*Xout_adc >= 65535){
*Xout_adc = 65535;
}
*key1_state = gpio_read(IO_PORTG_06);
rc_log("adc_get_value: Xout = %d, Yout = %d, key1_state = %d, key2_state = %d\n", *Xout_adc , *Yout_adc, *key1_state, 1);
}
/**
* @brief 按键的处理任务
*
*/
void contol_key_task(void){
static u16 vbat_value = 0; //当前剩余电量
static u16 Xout_adc = 0;
static u16 Yout_adc = 0;
static u8 key1_state = 1;
u8 ble_data_buff[12] = {0xBE, 0xBB, 0x09, 0x01, //0-3
0x00, 0x00, 0x00, 0x00, //4-7 遥感值:上下、左右
0x00, 0x00, //8、9 两个按键
0x00, //10 电量百分比
0x00}; //11 校验和
control_key_init(); //遥感按键初始化
while(1){
extern u16 get_vbat_level(void);
vbat_value = get_vbat_level(); //当前电量
control_key_get_value(&Xout_adc, &Yout_adc, &key1_state, NULL); //遥感值
ble_data_buff[4] = (u8)(Yout_adc & 0xFF);
ble_data_buff[5] = (u8)((Yout_adc >> 8) & 0xFF);
ble_data_buff[6] = (u8)(Xout_adc & 0xFF);
ble_data_buff[7] = (u8)((Xout_adc >> 8) & 0xFF);
ble_data_buff[8] = key1_state;
ble_data_buff[9] = 0x01;
ble_data_buff[10] = get_vbat_percent();
ble_data_buff[11] = 0;
for(int i = 0 ;i < 11; i++){
ble_data_buff[11] += ble_data_buff[i];
}
g_send_data_to_ble_server(ble_data_buff, sizeof(ble_data_buff));
/*
1000
700
500
*/
os_time_dly(60); //10ms为单位
}
}
/**
* @brief 和主板ble连接上后会被调用
*
*/
void create_key_detect_thread(void){
key_detect_sign = 1;
os_task_create(contol_key_task, NULL, 1, 2048, 128, control_key_task_name);
}
/**
* @brief 和主板ble断连后会被调用
*
*/
void destroy_key_detect_thread(void){
if(key_detect_sign == 1){
key_detect_sign = 0;
os_task_del(control_key_task_name);
}
}
// ==================================================================================================================================================================
// 辅助函数
// ==================================================================================================================================================================
/**
* @brief 进入 CONNECTING 状态的逻辑
@ -237,8 +370,9 @@ static void rc_ble_state_set_disconnected(void)
// 在这里控制LED灯效例如黄灯呼吸闪烁
}
// 初始化函数 (Initialization Function)
// =================================================================================
// ==================================================================================================================================================================
// 初始化函数
// ==================================================================================================================================================================
/**
* @brief 遥控器应用主初始化函数
@ -247,21 +381,21 @@ void rc_app_main_init(void)
{
rc_log("Initializing Remote Control App...\n");
// 1. 初始化全局上下文
// 初始化全局上下文
memset(&g_rc_context, 0, sizeof(RC_Context_t));
g_rc_context.state = RC_STATE_DISCONNECTED; // 初始状态为未连接
g_rc_context.team = TEAM_NO;
FM176XX_HardInit();
// 2. 检查并启动RFID处理定时器
// 检查并启动RFID处理定时器
if (g_rfid_timer_id == 0) {
g_rfid_timer_id = sys_timer_add(NULL, rc_rfid_callback_handler, RC_RFID_CALLBACK_INTERVAL_MS);
// g_rfid_timer_id = sys_timer_add(NULL, rc_rfid_callback_handler, RC_RFID_CALLBACK_INTERVAL_MS);
rc_log("RFID handler timer started (ID: %d).\n", g_rfid_timer_id);
}
// 3. 检查并启动BLE处理定时器
// 检查并启动BLE处理定时器
if (g_ble_timer_id == 0) {
g_ble_timer_id = sys_timer_add(NULL, rc_ble_callback_handler, RC_BLE_CALLBACK_INTERVAL_MS);
// g_ble_timer_id = sys_timer_add(NULL, rc_ble_callback_handler, RC_BLE_CALLBACK_INTERVAL_MS);
rc_log("BLE handler timer started (ID: %d).\n", g_ble_timer_id);
}
}
@ -270,23 +404,88 @@ void rc_app_main_init(void)
///////////////////////////////////////////////////////////////////////////////////////////////
//test
#define TEST_FUNCTION 1
void g_i2c_scanner_probe(u8* device_addr, u8* found_number)
{
printf("Starting I2C bus scan...\n");
int devices_found = 0;
// I2C地址范围是 0x08 到 0x77
for (uint8_t addr_7bit = 0x00; addr_7bit < 0x7F; addr_7bit++)
{
// 构建8位的写地址
uint8_t write_addr_8bit = (addr_7bit << 1);
//传入使用的iic句柄编号
soft_iic_start(0);
// 尝试发送写地址,并检查返回值
// iic_tx_byte 返回 1 表示收到了 ACK
if (soft_iic_tx_byte(0, write_addr_8bit))
{
printf("=====================================================================\n");
printf("I2C device found at 7-bit address: 0x%02X\n", addr_7bit);
printf("I2C device found at 8-bit address: 0x%02X\n", write_addr_8bit);
printf("=====================================================================\n");
devices_found++;
}
//传入使用的iic句柄编号
soft_iic_stop(0);
mdelay(2); // 短暂延时
}
if (devices_found == 0) {
printf("Scan finished. No I2C devices found.\n");
} else {
printf("Scan finished. Found %d device(s).\n", devices_found);
}
}
void test_task(void){
#if TEST_FUNCTION == 1
unsigned char reg_data = 0;
FM176XX_HardInit();
rfid_delay_ms(5); // 硬件初始化后增加一个短暂延时,确保芯片稳定
int result = FM176XX_SoftReset();
if (result != SUCCESS)
{
rc_log("FM176XX HardReset FAIL\r\n");
}
else
{
rc_log("FM176XX HardReset SUCCESS\r\n");
}
rfid_delay_ms(10); // 复位后延时
// 读取芯片版本号,确认通信是否正常
GetReg(REG_VERSION, &reg_data);
rc_log("REG_VERSION = %02X\r\n", reg_data);
u8 device_buff[10];
u8 founds = 0;
extern void g_i2c_scanner_probe(u8* device_addr, u8* found_number);
g_i2c_scanner_probe(device_buff,&founds);
while(1){
u8 uid[UID_LENGTH] = {0};
//读id卡
TYPE_V_EVENT((char *)uid);
// TYPE_A_EVENT((char *)uid);
os_time_dly(100);
os_time_dly(500);
}
#endif
}
void test_func_main(void){
#if TEST_FUNCTION == 1
os_task_create(test_task, NULL, 1, 1024, 128, "rfid_test");
// os_task_create(contol_key_task, NULL, 1, 2048, 128, control_key_task_name);
#endif
}

View File

@ -37,7 +37,7 @@ typedef enum {
typedef enum {
TEAM_NO, //未组队
TEAM_YES,
} RC_State_t;
} RC_Team_t;
/**
* @brief RFID读取到的设备类型
@ -53,7 +53,7 @@ typedef enum {
*/
typedef struct {
RC_State_t state; // 当前状态机状态
RC_State_t team; //当前是否组队
RC_Team_t team; //当前是否组队
u8 paired_mac_addr[UID_LENGTH]; // 已配对主板的MAC地址(包含前缀)
// ... 可在此处添加更多运行时需要管理的数据
} RC_Context_t;

View File

@ -8,7 +8,7 @@
#include "app_charge.h"
#include "bt_profile_cfg.h"
#include "debug.h"
#include "avctp_user.h"
///////////////////////////////////////////////////////////////////////////////////////////////////
//宏定义
@ -38,6 +38,10 @@
//-------------------------------------------------------------------------------------------------//
extern APP_VAR app_var;
//-------------------------------------------------------------------------------------------------//
// 全局变量
//-------------------------------------------------------------------------------------------------//
unsigned char xt_bt_new_name[13] = "WEBIRD-XXXXX"; //经典蓝牙名称
//-------------------------------------------------------------------------------------------------//
// 系统主函数 app_main
@ -119,6 +123,21 @@ void xtell_app_main()
xlog("==============xtell_app_end================\n");
u8 mac_data[6];
extern void rcsp_adv_fill_mac_addr(u8 *mac_addr_buf);
rcsp_adv_fill_mac_addr(mac_data); //读取MAC地址
xlog("xtell BT mac data:%x:%x:%x:%x:%x:%x",mac_data[0],mac_data[1],mac_data[2],mac_data[3],mac_data[4],mac_data[5]);
// user_send_cmd_prepare(USER_CTRL_WRITE_SCAN_ENABLE, 0, NULL); //打开蓝牙可发现,已连接时不能操作
// delay_2ms(50);
// user_send_cmd_prepare(USER_CTRL_WRITE_CONN_ENABLE, 0, NULL); //打开蓝牙可连接
// delay_2ms(50);
// soft_iic_init(0);
// extern int xtell_bt_newname(u8 *new_name);
// xtell_bt_newname(xt_bt_new_name); //设置经典蓝牙名
extern void test_func_main(void);
test_func_main();
}

View File

@ -13,6 +13,11 @@

View File

@ -13,6 +13,11 @@
sdfile_vfs_ops

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -13,6 +13,11 @@

View File

@ -13,13 +13,19 @@
[EXTRA_CFG_PARAM]
NEW_FLASH_FS = YES;
BR22_TWS_DB = YES;
FLASH_SIZE = 0x100000;
BR22_TWS_VERSION = 0;
FORCE_4K_ALIGN = YES;
SPECIAL_OPT = 0;
CHIP_NAME = AC701N;
ENTRY = 0x6000100;
PID = AC701N;
@ -68,6 +74,18 @@ FILE_LIST = (file = ota.bin: type = 100);
BTIF_ADR = AUTO;
BTIF_LEN = 0x1000;
BTIF_OPT = 1;
EXIF_ADR = AUTO;
EXIF_LEN = 0x1000;
EXIF_OPT = 1;
PRCT_ADR = 0;
PRCT_LEN = CODE_LEN;
PRCT_OPT = 2;

View File

@ -2275,168 +2275,6 @@ objs/apps/earphone/bt_tws.c.o
objs/apps/earphone/default_event_handler.c.o
-r=objs/apps/earphone/default_event_handler.c.o,default_event_handler,pl
objs/apps/earphone/earphone.c.o
-r=objs/apps/earphone/earphone.c.o,get_bt_init_status,pl
-r=objs/apps/earphone/earphone.c.o,get_sniff_out_status,pl
-r=objs/apps/earphone/earphone.c.o,clear_sniff_out_status,pl
-r=objs/apps/earphone/earphone.c.o,earphone_change_pwr_mode,pl
-r=objs/apps/earphone/earphone.c.o,bt_wait_phone_connect_control,pl
-r=objs/apps/earphone/earphone.c.o,log_print,l
-r=objs/apps/earphone/earphone.c.o,is_1t2_connection,l
-r=objs/apps/earphone/earphone.c.o,get_total_connect_dev,l
-r=objs/apps/earphone/earphone.c.o,user_send_cmd_prepare,l
-r=objs/apps/earphone/earphone.c.o,bt_send_keypress,pl
-r=objs/apps/earphone/earphone.c.o,bt_send_pair,pl
-r=objs/apps/earphone/earphone.c.o,bt_init_ok_search_index,pl
-r=objs/apps/earphone/earphone.c.o,get_current_poweron_memory_search_index,l
-r=objs/apps/earphone/earphone.c.o,clear_current_poweron_memory_search_index,l
-r=objs/apps/earphone/earphone.c.o,bt_wait_connect_and_phone_connect_switch,pl
-r=objs/apps/earphone/earphone.c.o,sys_timeout_add,l
-r=objs/apps/earphone/earphone.c.o,bt_close_page_scan,pl
-r=objs/apps/earphone/earphone.c.o,sys_timer_del,l
-r=objs/apps/earphone/earphone.c.o,bt_fast_test_api,pl
-r=objs/apps/earphone/earphone.c.o,audio_fast_mode_test,l
-r=objs/apps/earphone/earphone.c.o,pwm_led_mode_set,l
-r=objs/apps/earphone/earphone.c.o,bt_fix_fre_api,pl
-r=objs/apps/earphone/earphone.c.o,bit_clr_ie,l
-r=objs/apps/earphone/earphone.c.o,bredr_fcc_init,l
-r=objs/apps/earphone/earphone.c.o,bt_fix_txrx_api,pl
-r=objs/apps/earphone/earphone.c.o,local_irq_disable,l
-r=objs/apps/earphone/earphone.c.o,link_fix_txrx_disable,
-r=objs/apps/earphone/earphone.c.o,link_fix_rx_enable,
-r=objs/apps/earphone/earphone.c.o,link_fix_tx_enable,
-r=objs/apps/earphone/earphone.c.o,local_irq_enable,l
-r=objs/apps/earphone/earphone.c.o,bt_updata_fix_rx_result,pl
-r=objs/apps/earphone/earphone.c.o,link_fix_rx_update_result,
-r=objs/apps/earphone/earphone.c.o,printf,l
-r=objs/apps/earphone/earphone.c.o,spp_data_handler,pl
-r=objs/apps/earphone/earphone.c.o,bredr_handle_register,pl
-r=objs/apps/earphone/earphone.c.o,spp_data_deal_handle_register,l
-r=objs/apps/earphone/earphone.c.o,bt_fast_test_handle_register,l
-r=objs/apps/earphone/earphone.c.o,music_vol_change_handle_register,l
-r=objs/apps/earphone/earphone.c.o,set_music_device_volume,l
-r=objs/apps/earphone/earphone.c.o,phone_get_device_vol,l
-r=objs/apps/earphone/earphone.c.o,get_battery_value_register,l
-r=objs/apps/earphone/earphone.c.o,bt_dut_test_handle_register,l
-r=objs/apps/earphone/earphone.c.o,bt_function_select_init,pl
-r=objs/apps/earphone/earphone.c.o,set_bt_afh_classs_enc,l
-r=objs/apps/earphone/earphone.c.o,__set_user_ctrl_conn_num,l
-r=objs/apps/earphone/earphone.c.o,__set_support_msbc_flag,l
-r=objs/apps/earphone/earphone.c.o,__set_aac_bitrate,l
-r=objs/apps/earphone/earphone.c.o,__set_support_aac_flag,l
-r=objs/apps/earphone/earphone.c.o,__set_support_ldac_flag,l
-r=objs/apps/earphone/earphone.c.o,__bt_set_update_battery_time,l
-r=objs/apps/earphone/earphone.c.o,__set_page_timeout_value,l
-r=objs/apps/earphone/earphone.c.o,__set_super_timeout_value,l
-r=objs/apps/earphone/earphone.c.o,vol_sys_tab_init,l
-r=objs/apps/earphone/earphone.c.o,__set_simple_pair_param,l
-r=objs/apps/earphone/earphone.c.o,bt_testbox_ex_info_get_handle_register,l
-r=objs/apps/earphone/earphone.c.o,get_vbat_value,l
-r=objs/apps/earphone/earphone.c.o,get_vbat_percent,l
-r=objs/apps/earphone/earphone.c.o,sdfile_get_burn_code,l
-r=objs/apps/earphone/earphone.c.o,lib_make_ble_address,l
-r=objs/apps/earphone/earphone.c.o,bt_get_mac_addr,l
-r=objs/apps/earphone/earphone.c.o,le_controller_set_mac,l
-r=objs/apps/earphone/earphone.c.o,printf_buf,l
-r=objs/apps/earphone/earphone.c.o,set_bt_enhanced_power_control,l
-r=objs/apps/earphone/earphone.c.o,set_g_need_inc_power,l
-r=objs/apps/earphone/earphone.c.o,phone_sync_vol,pl
-r=objs/apps/earphone/earphone.c.o,get_esco_packet_dump,pl
-r=objs/apps/earphone/earphone.c.o,task_switch,pl
-r=objs/apps/earphone/earphone.c.o,get_current_app,l
-r=objs/apps/earphone/earphone.c.o,start_app,l
-r=objs/apps/earphone/earphone.c.o,bt_is_sniff_close,pl
-r=objs/apps/earphone/earphone.c.o,bt_check_exit_sniff,pl
-r=objs/apps/earphone/earphone.c.o,sys_timeout_del,l
-r=objs/apps/earphone/earphone.c.o,bt_sniff_ready_clean,pl
-r=objs/apps/earphone/earphone.c.o,bt_check_enter_sniff,pl
-r=objs/apps/earphone/earphone.c.o,bt_api_enter_sniff_status_check,l
-r=objs/apps/earphone/earphone.c.o,cpu_assert_debug,l
-r=objs/apps/earphone/earphone.c.o,sys_auto_sniff_controle,pl
-r=objs/apps/earphone/earphone.c.o,bt_api_conn_mode_check,l
-r=objs/apps/earphone/earphone.c.o,sys_timer_add,l
-r=objs/apps/earphone/earphone.c.o,lmp_rx_sniff_req_check,pl
-r=objs/apps/earphone/earphone.c.o,bt_sniff_set_enable,pl
-r=objs/apps/earphone/earphone.c.o,tws_sniff_controle_check_enable,
-r=objs/apps/earphone/earphone.c.o,bt_sniff_feature_init,pl
-r=objs/apps/earphone/earphone.c.o,wait_exit_btstack_flag,pl
-r=objs/apps/earphone/earphone.c.o,bt_audio_is_running,l
-r=objs/apps/earphone/earphone.c.o,lmp_hci_reset,l
-r=objs/apps/earphone/earphone.c.o,os_time_dly,l
-r=objs/apps/earphone/earphone.c.o,get_curr_channel_state,l
-r=objs/apps/earphone/earphone.c.o,hci_standard_connect_check,l
-r=objs/apps/earphone/earphone.c.o,poweroff_sniff_all_exit,pl
-r=objs/apps/earphone/earphone.c.o,bt_api_get_sniff_state,l
-r=objs/apps/earphone/earphone.c.o,sys_enter_soft_poweroff,pl
-r=objs/apps/earphone/earphone.c.o,ui_update_status,l
-r=objs/apps/earphone/earphone.c.o,sys_key_event_disable,l
-r=objs/apps/earphone/earphone.c.o,sys_event_clear,l
-r=objs/apps/earphone/earphone.c.o,sys_auto_shut_down_disable,pl
-r=objs/apps/earphone/earphone.c.o,sys_auto_shut_down_enable,pl
-r=objs/apps/earphone/earphone.c.o,phone_num_play_timer,pl
-r=objs/apps/earphone/earphone.c.o,get_call_status,l
-r=objs/apps/earphone/earphone.c.o,is_siri_open,l
-r=objs/apps/earphone/earphone.c.o,tone_play_stop,l
-r=objs/apps/earphone/earphone.c.o,tone_file_list_play,l
-r=objs/apps/earphone/earphone.c.o,phone_check_inband_ring_play_timer,pl
-r=objs/apps/earphone/earphone.c.o,get_esco_coder_busy_flag,l
-r=objs/apps/earphone/earphone.c.o,phone_ring_play_start,pl
-r=objs/apps/earphone/earphone.c.o,earphone_a2dp_codec_get_low_latency_mode,l
-r=objs/apps/earphone/earphone.c.o,earphone_a2dp_codec_set_low_latency_mode,l
-r=objs/apps/earphone/earphone.c.o,bt_get_low_latency_mode,pl
-r=objs/apps/earphone/earphone.c.o,bt_set_low_latency_mode,pl
-r=objs/apps/earphone/earphone.c.o,testbox_in_ear_detect_test_flag_get,pl
-r=objs/apps/earphone/earphone.c.o,bt_hci_event_handler,pl
-r=objs/apps/earphone/earphone.c.o,set_remote_test_flag,l
-r=objs/apps/earphone/earphone.c.o,bt_ble_adv_enable,l
-r=objs/apps/earphone/earphone.c.o,bt_in_background_event_handler,pl
-r=objs/apps/earphone/earphone.c.o,bt_app_exit_check,pl
-r=objs/apps/earphone/earphone.c.o,bt_app_exit,pl
-r=objs/apps/earphone/earphone.c.o,a2dp_get_status,l
-r=objs/apps/earphone/earphone.c.o,bt_media_is_running,l
-r=objs/apps/earphone/earphone.c.o,a2dp_dec_close,l
-r=objs/apps/earphone/earphone.c.o,a2dp_media_clear_packet_before_seqn,l
-r=objs/apps/earphone/earphone.c.o,btstack_exit,l
-r=objs/apps/earphone/earphone.c.o,bredr_close_all_scan,l
-r=objs/apps/earphone/earphone.c.o,get_cur_battery_level,l
-r=objs/apps/earphone/earphone.c.o,sdk_version_info_get,l
-r=objs/apps/earphone/earphone.c.o,strlen,l
-r=objs/apps/earphone/earphone.c.o,p33_soft_reset,l
-r=objs/apps/earphone/earphone.c.o,get_remote_test_flag,l
-r=objs/apps/earphone/earphone.c.o,get_esco_busy_flag,l
-r=objs/apps/earphone/earphone.c.o,audio_adc_mic_demo_close,l
-r=objs/apps/earphone/earphone.c.o,tone_play_index,l
-r=objs/apps/earphone/earphone.c.o,app_earphone_key_event_handler,l
-r=objs/apps/earphone/earphone.c.o,app_power_event_handler,l
-r=objs/apps/earphone/earphone.c.o,get_tone_config,l
-r=objs/apps/earphone/earphone.c.o,__set_sbc_cap_bitpool,l
-r=objs/apps/earphone/earphone.c.o,ble_bqb_test_thread_init,l
-r=objs/apps/earphone/earphone.c.o,bt_ble_init,l
-r=objs/apps/earphone/earphone.c.o,is_dac_power_off,l
-r=objs/apps/earphone/earphone.c.o,tone_get_status,l
-r=objs/apps/earphone/earphone.c.o,check_esco_state_via_addr,l
-r=objs/apps/earphone/earphone.c.o,get_device_inband_ringtone_flag,l
-r=objs/apps/earphone/earphone.c.o,lmp_private_esco_suspend_resume,l
-r=objs/apps/earphone/earphone.c.o,app_audio_set_volume,l
-r=objs/apps/earphone/earphone.c.o,a2dp_dec_open,l
-r=objs/apps/earphone/earphone.c.o,free_a2dp_using_decoder_conn,l
-r=objs/apps/earphone/earphone.c.o,puts,l
-r=objs/apps/earphone/earphone.c.o,aac_decoder_energy_det_close,l
-r=objs/apps/earphone/earphone.c.o,esco_dec_open,l
-r=objs/apps/earphone/earphone.c.o,esco_dec_close,l
-r=objs/apps/earphone/earphone.c.o,clk_set_sys_lock,l
-r=objs/apps/earphone/earphone.c.o,init_ok,pl
-r=objs/apps/earphone/earphone.c.o,sniff_out,pl
-r=objs/apps/earphone/earphone.c.o,app_var,l
-r=objs/apps/earphone/earphone.c.o,log_tag_const_i_EARPHONE,l
-r=objs/apps/earphone/earphone.c.o,bt_user_priv_var,pl
-r=objs/apps/earphone/earphone.c.o,CONFIG_WIFI_DETECT_ENABLE,l
-r=objs/apps/earphone/earphone.c.o,sniff_ready_status,pl
-r=objs/apps/earphone/earphone.c.o,exit_sniff_timer,pl
-r=objs/apps/earphone/earphone.c.o,config_asser,l
-r=objs/apps/earphone/earphone.c.o,phone_incom_lp_target,pl
-r=objs/apps/earphone/earphone.c.o,bt_user_comm_var,pl
-r=objs/apps/earphone/earphone.c.o,config_btctler_mode,l
-r=objs/apps/earphone/earphone.c.o,hid_conn_depend_on_dev_company,l
objs/apps/earphone/eartch_event_deal.c.o
objs/apps/earphone/font/fontinit.c.o
objs/apps/earphone/idle.c.o
@ -3345,14 +3183,12 @@ objs/apps/earphone/rcsp/jl_phone_app.c.o
objs/apps/earphone/rcsp/rcsp_adv.c.o
objs/apps/earphone/tone_table.c.o
-r=objs/apps/earphone/tone_table.c.o,tone_play_index,pl
-r=objs/apps/earphone/tone_table.c.o,printf,l
-r=objs/apps/earphone/tone_table.c.o,tone_play,l
-r=objs/apps/earphone/tone_table.c.o,tone_name_cmp_by_index,pl
-r=objs/apps/earphone/tone_table.c.o,tone_name_compare,l
-r=objs/apps/earphone/tone_table.c.o,tone_play_index_no_tws,pl
-r=objs/apps/earphone/tone_table.c.o,printf,l
-r=objs/apps/earphone/tone_table.c.o,tone_play_no_tws,l
-r=objs/apps/earphone/tone_table.c.o,tone_play_index_with_callback,pl
-r=objs/apps/earphone/tone_table.c.o,tone_play_with_callback,l
-r=objs/apps/earphone/tone_table.c.o,tone_table_init,pl
-r=objs/apps/earphone/tone_table.c.o,tone_play_set_sine_param_handler,l
-r=objs/apps/earphone/tone_table.c.o,__initcall_tone_table_init,pl
@ -3405,6 +3241,12 @@ objs/apps/earphone/user_cfg.c.o
-r=objs/apps/earphone/user_cfg.c.o,strlen,l
-r=objs/apps/earphone/user_cfg.c.o,strcmp,l
-r=objs/apps/earphone/user_cfg.c.o,lmp_hci_write_local_name,l
-r=objs/apps/earphone/user_cfg.c.o,xtell_bt_newname,pl
-r=objs/apps/earphone/user_cfg.c.o,user_send_cmd_prepare,l
-r=objs/apps/earphone/user_cfg.c.o,delay_2ms,l
-r=objs/apps/earphone/user_cfg.c.o,bt_ble_init,l
-r=objs/apps/earphone/user_cfg.c.o,connect_last_device_from_vm,l
-r=objs/apps/earphone/user_cfg.c.o,puts,l
-r=objs/apps/earphone/user_cfg.c.o,bt_cfg,pl
-r=objs/apps/earphone/user_cfg.c.o,audio_cfg,pl
-r=objs/apps/earphone/user_cfg.c.o,btif_table,pl
@ -5162,66 +5004,183 @@ objs/apps/common/colorful_lights/colorful_lights.c.o
-r=objs/apps/common/colorful_lights/colorful_lights.c.o,usr_timer_del,l
-r=objs/apps/common/colorful_lights/colorful_lights.c.o,spi_dma_set_addr_for_isr,l
objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,le_user_app_send_event,pl
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,sys_event_notify,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,le_user_app_event_handler,pl
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,nvs_test_factory_info,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,create_process,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,rfid_task_fuc,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,hw_iic_init,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,get_bt_init_status,pl
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,get_sniff_out_status,pl
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,clear_sniff_out_status,pl
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,earphone_change_pwr_mode,pl
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,bt_wait_phone_connect_control,pl
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,log_print,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,is_1t2_connection,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,get_total_connect_dev,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,user_send_cmd_prepare,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,bt_send_keypress,pl
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,bt_send_pair,pl
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,bt_init_ok_search_index,pl
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,get_current_poweron_memory_search_index,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,clear_current_poweron_memory_search_index,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,bt_wait_connect_and_phone_connect_switch,pl
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,sys_timeout_add,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,bt_close_page_scan,pl
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,sys_timer_del,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,bt_fast_test_api,pl
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,audio_fast_mode_test,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,pwm_led_mode_set,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,bt_fix_fre_api,pl
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,bit_clr_ie,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,bredr_fcc_init,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,bt_fix_txrx_api,pl
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,local_irq_disable,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,link_fix_txrx_disable,
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,link_fix_rx_enable,
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,link_fix_tx_enable,
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,local_irq_enable,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,bt_updata_fix_rx_result,pl
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,link_fix_rx_update_result,
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,printf,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,i2c_scanner_probe,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,clk_set,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,clk_get,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,bt_pll_para,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,bt_function_select_init,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,bredr_handle_register,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,btstack_init,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,sys_auto_shut_down_enable,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,bt_sniff_feature_init,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,sys_auto_sniff_controle,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,sys_auto_shut_down_disable,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,sys_key_event_enable,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,bt_app_exit,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,bt_hci_event_handler,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,spp_data_handler,pl
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,bredr_handle_register,pl
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,spp_data_deal_handle_register,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,bt_fast_test_handle_register,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,music_vol_change_handle_register,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,set_music_device_volume,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,phone_get_device_vol,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,get_battery_value_register,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,bt_dut_test_handle_register,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,bt_function_select_init,pl
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,set_bt_afh_classs_enc,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,__set_user_ctrl_conn_num,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,__set_support_msbc_flag,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,__set_aac_bitrate,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,__set_support_aac_flag,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,__set_support_ldac_flag,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,__bt_set_update_battery_time,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,__set_simple_pair_flag,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,__set_page_timeout_value,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,__set_super_timeout_value,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,vol_sys_tab_init,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,__set_simple_pair_param,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,bt_testbox_ex_info_get_handle_register,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,get_vbat_value,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,get_vbat_percent,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,sdfile_get_burn_code,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,lib_make_ble_address,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,bt_get_mac_addr,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,le_controller_set_mac,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,printf_buf,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,set_bt_enhanced_power_control,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,set_g_need_inc_power,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,phone_sync_vol,pl
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,get_esco_packet_dump,pl
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,task_switch,pl
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,get_current_app,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,start_app,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,bt_is_sniff_close,pl
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,bt_check_exit_sniff,pl
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,sys_timeout_del,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,bt_sniff_ready_clean,pl
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,bt_check_enter_sniff,pl
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,bt_api_enter_sniff_status_check,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,cpu_assert_debug,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,sys_auto_sniff_controle,pl
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,bt_api_conn_mode_check,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,sys_timer_add,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,lmp_rx_sniff_req_check,pl
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,bt_sniff_set_enable,pl
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,tws_sniff_controle_check_enable,
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,bt_sniff_feature_init,pl
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,wait_exit_btstack_flag,pl
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,bt_audio_is_running,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,lmp_hci_reset,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,os_time_dly,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,get_curr_channel_state,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,hci_standard_connect_check,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,poweroff_sniff_all_exit,pl
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,bt_api_get_sniff_state,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,sys_enter_soft_poweroff,pl
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,ui_update_status,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,sys_key_event_disable,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,sys_event_clear,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,sys_auto_shut_down_disable,pl
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,sys_auto_shut_down_enable,pl
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,phone_num_play_timer,pl
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,get_call_status,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,is_siri_open,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,tone_play_stop,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,tone_file_list_play,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,phone_check_inband_ring_play_timer,pl
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,get_esco_coder_busy_flag,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,phone_ring_play_start,pl
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,earphone_a2dp_codec_get_low_latency_mode,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,earphone_a2dp_codec_set_low_latency_mode,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,bt_get_low_latency_mode,pl
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,bt_set_low_latency_mode,pl
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,testbox_in_ear_detect_test_flag_get,pl
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,bt_in_background_event_handler,pl
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,bt_app_exit_check,pl
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,bt_app_exit,pl
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,a2dp_get_status,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,bt_media_is_running,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,a2dp_dec_close,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,a2dp_media_clear_packet_before_seqn,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,btstack_exit,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,bredr_close_all_scan,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,bt_ble_adv_enable,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,get_cur_battery_level,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,sdk_version_info_get,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,strlen,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,p33_soft_reset,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,audio_adc_mic_demo_close,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,tone_play_index,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,app_earphone_key_event_handler,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,app_power_event_handler,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,default_event_handler,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,get_tone_config,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,__set_sbc_cap_bitpool,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,ble_bqb_test_thread_init,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,bt_ble_init,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,bt_init_ok_search_index,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,is_dac_power_off,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,bt_wait_connect_and_phone_connect_switch,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,sys_timeout_add,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,clear_current_poweron_memory_search_index,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,strcmp,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,earphone_change_pwr_mode,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,ui_update_status,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,tone_get_status,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,get_call_status,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,sys_timeout_del,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,is_1t2_connection,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,get_current_poweron_memory_search_index,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,get_esco_coder_busy_flag,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,user_send_cmd_prepare,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,tone_play_index,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,xtell_bl_state,pl
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,check_esco_state_via_addr,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,get_device_inband_ringtone_flag,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,lmp_private_esco_suspend_resume,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,app_audio_set_volume,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,a2dp_dec_open,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,free_a2dp_using_decoder_conn,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,puts,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,aac_decoder_energy_det_close,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,esco_dec_open,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,esco_dec_close,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,clk_set_sys_lock,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,set_remote_test_flag,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,get_remote_test_flag,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,get_esco_busy_flag,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,tone_play_index_with_callback,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,clk_set,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,clk_get,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,bt_pll_para,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,btstack_init,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,sys_key_event_enable,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,xtell_uart_ai_14_bt_connect,pl
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,xtell_uart_ai_34_bt_break,pl
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,bt_newname,pl
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,xt_ble_new_name,pl
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,SC7U22_init,pl
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,MMC5603nj_init,pl
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,BMP280_init,pl
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,rfid_fuc_id,pl
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,SC7U22_calibration_id,pl
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,start_collect_fuc_id,pl
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,BLE_send_fuc_id,pl
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,init_ok,pl
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,app_var,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,init_ok,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,log_tag_const_i_EARPHONE,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,bt_user_priv_var,pl
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,CONFIG_WIFI_DETECT_ENABLE,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,sniff_ready_status,pl
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,exit_sniff_timer,pl
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,config_asser,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,phone_incom_lp_target,pl
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,bt_user_comm_var,pl
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,config_btctler_mode,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,sniff_out,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/ble_handler.c.o,hid_conn_depend_on_dev_company,l
objs/apps/earphone/xtell_remote_control/ble_handler/ble_test.c.o
objs/apps/earphone/xtell_remote_control/ble_handler/client_handler.c.o
-r=objs/apps/earphone/xtell_remote_control/ble_handler/client_handler.c.o,clear_bonding_info,pl
-r=objs/apps/earphone/xtell_remote_control/ble_handler/client_handler.c.o,l2cap_connection_update_request_just,pl
-r=objs/apps/earphone/xtell_remote_control/ble_handler/client_handler.c.o,user_client_report_search_result,pl
-r=objs/apps/earphone/xtell_remote_control/ble_handler/client_handler.c.o,user_client_report_data_callback,pl
-r=objs/apps/earphone/xtell_remote_control/ble_handler/client_handler.c.o,ble_get_client_operation_table,pl
-r=objs/apps/earphone/xtell_remote_control/ble_handler/client_handler.c.o,ble_profile_init,pl
-r=objs/apps/earphone/xtell_remote_control/ble_handler/client_handler.c.o,le_device_db_init,l
@ -5238,23 +5197,21 @@ objs/apps/earphone/xtell_remote_control/ble_handler/client_handler.c.o
-r=objs/apps/earphone/xtell_remote_control/ble_handler/client_handler.c.o,bt_ble_adv_enable,pl
-r=objs/apps/earphone/xtell_remote_control/ble_handler/client_handler.c.o,client_send_conn_param_update,pl
-r=objs/apps/earphone/xtell_remote_control/ble_handler/client_handler.c.o,ble_user_cmd_prepare,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/client_handler.c.o,clear_bonding_info,pl
-r=objs/apps/earphone/xtell_remote_control/ble_handler/client_handler.c.o,rcsp_adv_fill_mac_addr,pl
-r=objs/apps/earphone/xtell_remote_control/ble_handler/client_handler.c.o,swapX,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/client_handler.c.o,bt_get_mac_addr,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/client_handler.c.o,g_ble_connect_new_device,pl
-r=objs/apps/earphone/xtell_remote_control/ble_handler/client_handler.c.o,g_ble_get_state,pl
-r=objs/apps/earphone/xtell_remote_control/ble_handler/client_handler.c.o,usr_timer_add,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/client_handler.c.o,sys_timeout_del,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/client_handler.c.o,g_send_data_to_ble_server,pl
-r=objs/apps/earphone/xtell_remote_control/ble_handler/client_handler.c.o,printf,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/client_handler.c.o,syscfg_read,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/client_handler.c.o,syscfg_write,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/client_handler.c.o,little_endian_read_16,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/client_handler.c.o,printf,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/client_handler.c.o,put_buf,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/client_handler.c.o,memcmp,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/client_handler.c.o,create_key_detect_thread,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/client_handler.c.o,destroy_key_detect_thread,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/client_handler.c.o,little_endian_read_16,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/client_handler.c.o,put_buf,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/client_handler.c.o,user_client_init,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/client_handler.c.o,user_client_set_search_complete,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/client_handler.c.o,sys_timer_add,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/client_handler.c.o,puts,l
-r=objs/apps/earphone/xtell_remote_control/ble_handler/client_handler.c.o,client_user_target,pl
objs/apps/earphone/xtell_remote_control/ble_handler/example/example.c.o
objs/apps/earphone/xtell_remote_control/nvs/nvs.c.o
@ -5263,6 +5220,7 @@ objs/apps/earphone/xtell_remote_control/nvs/nvs.c.o
-r=objs/apps/earphone/xtell_remote_control/nvs/nvs.c.o,syscfg_write,l
-r=objs/apps/earphone/xtell_remote_control/nvs/nvs.c.o,nvs_read_main_board_mac,pl
-r=objs/apps/earphone/xtell_remote_control/nvs/nvs.c.o,syscfg_read,l
-r=objs/apps/earphone/xtell_remote_control/nvs/nvs.c.o,nvs_clear_info,pl
-r=objs/apps/earphone/xtell_remote_control/nvs/nvs.c.o,nvs_write_factory_info,pl
-r=objs/apps/earphone/xtell_remote_control/nvs/nvs.c.o,nvs_read_factory_info,pl
-r=objs/apps/earphone/xtell_remote_control/nvs/nvs.c.o,nvs_clear_factory_info,pl
@ -5401,23 +5359,48 @@ objs/apps/earphone/xtell_remote_control/RFID/rfid_hal.c.o
-r=objs/apps/earphone/xtell_remote_control/RFID/rfid_hal.c.o,SetReg,pl
-r=objs/apps/earphone/xtell_remote_control/RFID/rfid_hal.c.o,FM176XX_SoftReset,pl
-r=objs/apps/earphone/xtell_remote_control/RFID/rfid_hal.c.o,rfid_delay_ms,pl
-r=objs/apps/earphone/xtell_remote_control/RFID/rfid_hal.c.o,os_time_dly,l
-r=objs/apps/earphone/xtell_remote_control/RFID/rfid_hal.c.o,mdelay,l
objs/apps/earphone/xtell_remote_control/task_func.c.o
-r=objs/apps/earphone/xtell_remote_control/task_func.c.o,rc_rfid_callback_handler,pl
-r=objs/apps/earphone/xtell_remote_control/task_func.c.o,TYPE_A_EVENT,l
-r=objs/apps/earphone/xtell_remote_control/task_func.c.o,printf,l
-r=objs/apps/earphone/xtell_remote_control/task_func.c.o,strncmp,l
-r=objs/apps/earphone/xtell_remote_control/task_func.c.o,nvs_write_main_board_mac,l
-r=objs/apps/earphone/xtell_remote_control/task_func.c.o,g_ble_get_state,l
-r=objs/apps/earphone/xtell_remote_control/task_func.c.o,nvs_clear_info,l
-r=objs/apps/earphone/xtell_remote_control/task_func.c.o,g_ble_get_state,
-r=objs/apps/earphone/xtell_remote_control/task_func.c.o,rc_ble_callback_handler,pl
-r=objs/apps/earphone/xtell_remote_control/task_func.c.o,nvs_read_main_board_mac,l
-r=objs/apps/earphone/xtell_remote_control/task_func.c.o,rc_app_main_init,pl
-r=objs/apps/earphone/xtell_remote_control/task_func.c.o,sys_timer_add,l
-r=objs/apps/earphone/xtell_remote_control/task_func.c.o,test_task,pl
-r=objs/apps/earphone/xtell_remote_control/task_func.c.o,TYPE_V_EVENT,l
-r=objs/apps/earphone/xtell_remote_control/task_func.c.o,control_key_init,pl
-r=objs/apps/earphone/xtell_remote_control/task_func.c.o,adc_add_sample_ch,l
-r=objs/apps/earphone/xtell_remote_control/task_func.c.o,gpio_set_die,l
-r=objs/apps/earphone/xtell_remote_control/task_func.c.o,gpio_set_direction,l
-r=objs/apps/earphone/xtell_remote_control/task_func.c.o,gpio_set_pull_down,l
-r=objs/apps/earphone/xtell_remote_control/task_func.c.o,gpio_set_pull_up,l
-r=objs/apps/earphone/xtell_remote_control/task_func.c.o,control_key_get_value,pl
-r=objs/apps/earphone/xtell_remote_control/task_func.c.o,adc_get_value,l
-r=objs/apps/earphone/xtell_remote_control/task_func.c.o,gpio_read,l
-r=objs/apps/earphone/xtell_remote_control/task_func.c.o,contol_key_task,pl
-r=objs/apps/earphone/xtell_remote_control/task_func.c.o,get_vbat_level,l
-r=objs/apps/earphone/xtell_remote_control/task_func.c.o,get_vbat_percent,l
-r=objs/apps/earphone/xtell_remote_control/task_func.c.o,g_send_data_to_ble_server,l
-r=objs/apps/earphone/xtell_remote_control/task_func.c.o,os_time_dly,l
-r=objs/apps/earphone/xtell_remote_control/task_func.c.o,test_func_main,pl
-r=objs/apps/earphone/xtell_remote_control/task_func.c.o,create_key_detect_thread,pl
-r=objs/apps/earphone/xtell_remote_control/task_func.c.o,os_task_create,l
-r=objs/apps/earphone/xtell_remote_control/task_func.c.o,destroy_key_detect_thread,pl
-r=objs/apps/earphone/xtell_remote_control/task_func.c.o,os_task_del,l
-r=objs/apps/earphone/xtell_remote_control/task_func.c.o,rc_app_main_init,pl
-r=objs/apps/earphone/xtell_remote_control/task_func.c.o,FM176XX_HardInit,l
-r=objs/apps/earphone/xtell_remote_control/task_func.c.o,g_i2c_scanner_probe,pl
-r=objs/apps/earphone/xtell_remote_control/task_func.c.o,soft_iic_start,l
-r=objs/apps/earphone/xtell_remote_control/task_func.c.o,soft_iic_tx_byte,l
-r=objs/apps/earphone/xtell_remote_control/task_func.c.o,soft_iic_stop,l
-r=objs/apps/earphone/xtell_remote_control/task_func.c.o,mdelay,l
-r=objs/apps/earphone/xtell_remote_control/task_func.c.o,test_task,pl
-r=objs/apps/earphone/xtell_remote_control/task_func.c.o,rfid_delay_ms,l
-r=objs/apps/earphone/xtell_remote_control/task_func.c.o,FM176XX_SoftReset,l
-r=objs/apps/earphone/xtell_remote_control/task_func.c.o,GetReg,l
-r=objs/apps/earphone/xtell_remote_control/task_func.c.o,TYPE_V_EVENT,l
-r=objs/apps/earphone/xtell_remote_control/task_func.c.o,test_func_main,pl
-r=objs/apps/earphone/xtell_remote_control/task_func.c.o,puts,l
objs/apps/earphone/xtell_remote_control/xtell_app_main.c.o
-r=objs/apps/earphone/xtell_remote_control/xtell_app_main.c.o,create_process,pl
@ -5434,8 +5417,10 @@ objs/apps/earphone/xtell_remote_control/xtell_app_main.c.o
-r=objs/apps/earphone/xtell_remote_control/xtell_app_main.c.o,vbat_check_init,l
-r=objs/apps/earphone/xtell_remote_control/xtell_app_main.c.o,start_app,l
-r=objs/apps/earphone/xtell_remote_control/xtell_app_main.c.o,check_power_on_voltage,l
-r=objs/apps/earphone/xtell_remote_control/xtell_app_main.c.o,rcsp_adv_fill_mac_addr,l
-r=objs/apps/earphone/xtell_remote_control/xtell_app_main.c.o,test_func_main,l
-r=objs/apps/earphone/xtell_remote_control/xtell_app_main.c.o,cpu_reset_by_soft,l
-r=objs/apps/earphone/xtell_remote_control/xtell_app_main.c.o,xt_bt_new_name,pl
-r=objs/apps/earphone/xtell_remote_control/xtell_app_main.c.o,app_var,l
-r=objs/apps/earphone/xtell_remote_control/xtell_app_main.c.o,config_update_mode,l
cpu/br28/liba/cpu.a.llvm.19376.crc16.c
@ -8629,7 +8614,7 @@ cpu/br28/liba/btstack.a.llvm.343146.l2cap.c
-r=cpu/br28/liba/btstack.a.llvm.343146.l2cap.c,l2cap_signaling_handler_channel,pl
-r=cpu/br28/liba/btstack.a.llvm.343146.l2cap.c,l2cap_signaling_handler_dispatch,pl
-r=cpu/br28/liba/btstack.a.llvm.343146.l2cap.c,clear_sniff_cnt,l
-r=cpu/br28/liba/btstack.a.llvm.343146.l2cap.c,l2cap_connection_update_request_just,pl
-r=cpu/br28/liba/btstack.a.llvm.343146.l2cap.c,l2cap_connection_update_request_just,l
-r=cpu/br28/liba/btstack.a.llvm.343146.l2cap.c,l2cap_acl_handler,pl
-r=cpu/br28/liba/btstack.a.llvm.343146.l2cap.c,l2cap_packet_handler,pl
-r=cpu/br28/liba/btstack.a.llvm.343146.l2cap.c,gap_request_connection_parameter_update,pl
@ -9820,12 +9805,12 @@ cpu/br28/liba/btstack.a.llvm.2207106.att_send.c
-r=cpu/br28/liba/btstack.a.llvm.2207106.att_send.c,config_asser,l
-r=cpu/br28/liba/btstack.a.llvm.2207106.att_send.c,CONFIG_BTCTLER_TWS_ENABLE,l
cpu/br28/liba/btstack.a.llvm.2252410.client_user.c
-r=cpu/br28/liba/btstack.a.llvm.2252410.client_user.c,user_client_report_search_result,pl
-r=cpu/br28/liba/btstack.a.llvm.2252410.client_user.c,user_client_report_search_result,l
-r=cpu/br28/liba/btstack.a.llvm.2252410.client_user.c,user_client_report_descriptor_result,pl
-r=cpu/br28/liba/btstack.a.llvm.2252410.client_user.c,printf,l
-r=cpu/br28/liba/btstack.a.llvm.2252410.client_user.c,put_buf,l
-r=cpu/br28/liba/btstack.a.llvm.2252410.client_user.c,user_client_search_descriptor_is_enable,pl
-r=cpu/br28/liba/btstack.a.llvm.2252410.client_user.c,user_client_report_data_callback,pl
-r=cpu/br28/liba/btstack.a.llvm.2252410.client_user.c,user_client_report_data_callback,l
-r=cpu/br28/liba/btstack.a.llvm.2252410.client_user.c,user_client_set_search_complete,pl
-r=cpu/br28/liba/btstack.a.llvm.2252410.client_user.c,user_client_gatt_event,pl
-r=cpu/br28/liba/btstack.a.llvm.2252410.client_user.c,gatt_client_discover_characteristics_for_service,l