cun
This commit is contained in:
@ -14,21 +14,25 @@
|
|||||||
//#define CONFIG_DEBUG_LITE_ENABLE //轻量级打印开关, 默认关闭
|
//#define CONFIG_DEBUG_LITE_ENABLE //轻量级打印开关, 默认关闭
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#define BLE_WIRELESS_CLIENT_EN 1 //开启则作为主设备,lmx
|
||||||
//*********************************************************************************//
|
//*********************************************************************************//
|
||||||
// AI配置 //
|
// AI配置 //
|
||||||
//*********************************************************************************//
|
//*********************************************************************************//
|
||||||
#define CONFIG_APP_BT_ENABLE
|
#define CONFIG_APP_BT_ENABLE
|
||||||
#define BLE_WIRELESS_CLIENT_EN 1 //作为主设备,lmx
|
|
||||||
#ifdef CONFIG_APP_BT_ENABLE
|
#ifdef CONFIG_APP_BT_ENABLE
|
||||||
#define TRANS_DATA_EN 0
|
#define TRANS_DATA_EN 0
|
||||||
#define RCSP_BTMATE_EN 0
|
#define RCSP_BTMATE_EN 0
|
||||||
|
#if BLE_WIRELESS_CLIENT_EN == 0
|
||||||
|
#define RCSP_ADV_EN 1 // lmx,打开这个,则作为ble从设备
|
||||||
|
#else
|
||||||
#define RCSP_ADV_EN 0
|
#define RCSP_ADV_EN 0
|
||||||
|
#endif
|
||||||
#define AI_APP_PROTOCOL 0
|
#define AI_APP_PROTOCOL 0
|
||||||
#define LL_SYNC_EN 0
|
#define LL_SYNC_EN 0
|
||||||
#define TUYA_DEMO_EN 0
|
#define TUYA_DEMO_EN 0
|
||||||
#else
|
#else
|
||||||
#define TRANS_DATA_EN 1
|
#define TRANS_DATA_EN 0
|
||||||
#define RCSP_BTMATE_EN 0
|
#define RCSP_BTMATE_EN 0
|
||||||
#define RCSP_ADV_EN 0
|
#define RCSP_ADV_EN 0
|
||||||
#define AI_APP_PROTOCOL 0
|
#define AI_APP_PROTOCOL 0
|
||||||
|
|||||||
@ -231,6 +231,7 @@ const int config_btctler_le_roles = (LE_ADV | LE_SLAVE);
|
|||||||
const uint64_t config_btctler_le_features = LE_ENCRYPTION;
|
const uint64_t config_btctler_le_features = LE_ENCRYPTION;
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
const int config_btctler_le_roles = (LE_ADV | LE_SLAVE);
|
const int config_btctler_le_roles = (LE_ADV | LE_SLAVE);
|
||||||
const uint64_t config_btctler_le_features = 0;
|
const uint64_t config_btctler_le_features = 0;
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@ -7,4 +7,6 @@
|
|||||||
|
|
||||||
#define ACC_RANGE 16 //g,加速度满量程:2、4、8、16
|
#define ACC_RANGE 16 //g,加速度满量程:2、4、8、16
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
@ -302,7 +302,7 @@ static int bt_connction_status_event_handler(struct bt_event *bt)
|
|||||||
ble_bqb_test_thread_init();
|
ble_bqb_test_thread_init();
|
||||||
} else {
|
} else {
|
||||||
#if !TCFG_WIRELESS_MIC_ENABLE
|
#if !TCFG_WIRELESS_MIC_ENABLE
|
||||||
// bt_ble_init();
|
bt_ble_init(); // lmx,初始化完,初始化ble,决定ble是作为主设备还是从设备
|
||||||
// xtell_ble_central_test_start(); //xtell
|
// xtell_ble_central_test_start(); //xtell
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -5322,15 +5322,9 @@ objs/apps/earphone/remote_control/RFID/rfid_hal.c.o
|
|||||||
-r=objs/apps/earphone/remote_control/RFID/rfid_hal.c.o,os_time_dly,l
|
-r=objs/apps/earphone/remote_control/RFID/rfid_hal.c.o,os_time_dly,l
|
||||||
objs/apps/earphone/xtell_Sensor/ble_test.c.o
|
objs/apps/earphone/xtell_Sensor/ble_test.c.o
|
||||||
objs/apps/earphone/xtell_Sensor/client_handler.c.o
|
objs/apps/earphone/xtell_Sensor/client_handler.c.o
|
||||||
-r=objs/apps/earphone/xtell_Sensor/client_handler.c.o,clear_bonding_info,pl
|
|
||||||
-r=objs/apps/earphone/xtell_Sensor/client_handler.c.o,printf,l
|
|
||||||
-r=objs/apps/earphone/xtell_Sensor/client_handler.c.o,l2cap_connection_update_request_just,pl
|
|
||||||
-r=objs/apps/earphone/xtell_Sensor/client_handler.c.o,little_endian_read_16,l
|
|
||||||
-r=objs/apps/earphone/xtell_Sensor/client_handler.c.o,user_client_report_search_result,pl
|
|
||||||
-r=objs/apps/earphone/xtell_Sensor/client_handler.c.o,put_buf,l
|
|
||||||
-r=objs/apps/earphone/xtell_Sensor/client_handler.c.o,user_client_report_data_callback,pl
|
|
||||||
-r=objs/apps/earphone/xtell_Sensor/client_handler.c.o,ble_get_client_operation_table,pl
|
-r=objs/apps/earphone/xtell_Sensor/client_handler.c.o,ble_get_client_operation_table,pl
|
||||||
-r=objs/apps/earphone/xtell_Sensor/client_handler.c.o,ble_profile_init,pl
|
-r=objs/apps/earphone/xtell_Sensor/client_handler.c.o,ble_profile_init,pl
|
||||||
|
-r=objs/apps/earphone/xtell_Sensor/client_handler.c.o,printf,l
|
||||||
-r=objs/apps/earphone/xtell_Sensor/client_handler.c.o,le_device_db_init,l
|
-r=objs/apps/earphone/xtell_Sensor/client_handler.c.o,le_device_db_init,l
|
||||||
-r=objs/apps/earphone/xtell_Sensor/client_handler.c.o,ble_stack_gatt_role,l
|
-r=objs/apps/earphone/xtell_Sensor/client_handler.c.o,ble_stack_gatt_role,l
|
||||||
-r=objs/apps/earphone/xtell_Sensor/client_handler.c.o,gatt_client_init,l
|
-r=objs/apps/earphone/xtell_Sensor/client_handler.c.o,gatt_client_init,l
|
||||||
@ -5342,14 +5336,20 @@ objs/apps/earphone/xtell_Sensor/client_handler.c.o
|
|||||||
-r=objs/apps/earphone/xtell_Sensor/client_handler.c.o,ble_module_enable,pl
|
-r=objs/apps/earphone/xtell_Sensor/client_handler.c.o,ble_module_enable,pl
|
||||||
-r=objs/apps/earphone/xtell_Sensor/client_handler.c.o,bt_ble_exit,pl
|
-r=objs/apps/earphone/xtell_Sensor/client_handler.c.o,bt_ble_exit,pl
|
||||||
-r=objs/apps/earphone/xtell_Sensor/client_handler.c.o,ble_app_disconnect,pl
|
-r=objs/apps/earphone/xtell_Sensor/client_handler.c.o,ble_app_disconnect,pl
|
||||||
|
-r=objs/apps/earphone/xtell_Sensor/client_handler.c.o,bt_ble_adv_enable,pl
|
||||||
-r=objs/apps/earphone/xtell_Sensor/client_handler.c.o,client_send_conn_param_update,pl
|
-r=objs/apps/earphone/xtell_Sensor/client_handler.c.o,client_send_conn_param_update,pl
|
||||||
-r=objs/apps/earphone/xtell_Sensor/client_handler.c.o,ble_user_cmd_prepare,l
|
-r=objs/apps/earphone/xtell_Sensor/client_handler.c.o,ble_user_cmd_prepare,l
|
||||||
-r=objs/apps/earphone/xtell_Sensor/client_handler.c.o,bt_ble_adv_enable,pl
|
-r=objs/apps/earphone/xtell_Sensor/client_handler.c.o,clear_bonding_info,pl
|
||||||
-r=objs/apps/earphone/xtell_Sensor/client_handler.c.o,syscfg_read,l
|
-r=objs/apps/earphone/xtell_Sensor/client_handler.c.o,rcsp_adv_fill_mac_addr,pl
|
||||||
-r=objs/apps/earphone/xtell_Sensor/client_handler.c.o,syscfg_write,l
|
-r=objs/apps/earphone/xtell_Sensor/client_handler.c.o,swapX,l
|
||||||
-r=objs/apps/earphone/xtell_Sensor/client_handler.c.o,memcmp,l
|
-r=objs/apps/earphone/xtell_Sensor/client_handler.c.o,bt_get_mac_addr,l
|
||||||
|
-r=objs/apps/earphone/xtell_Sensor/client_handler.c.o,put_buf,l
|
||||||
-r=objs/apps/earphone/xtell_Sensor/client_handler.c.o,usr_timer_add,l
|
-r=objs/apps/earphone/xtell_Sensor/client_handler.c.o,usr_timer_add,l
|
||||||
-r=objs/apps/earphone/xtell_Sensor/client_handler.c.o,sys_timeout_del,l
|
-r=objs/apps/earphone/xtell_Sensor/client_handler.c.o,sys_timeout_del,l
|
||||||
|
-r=objs/apps/earphone/xtell_Sensor/client_handler.c.o,syscfg_read,l
|
||||||
|
-r=objs/apps/earphone/xtell_Sensor/client_handler.c.o,syscfg_write,l
|
||||||
|
-r=objs/apps/earphone/xtell_Sensor/client_handler.c.o,little_endian_read_16,l
|
||||||
|
-r=objs/apps/earphone/xtell_Sensor/client_handler.c.o,memcmp,l
|
||||||
-r=objs/apps/earphone/xtell_Sensor/client_handler.c.o,user_client_init,l
|
-r=objs/apps/earphone/xtell_Sensor/client_handler.c.o,user_client_init,l
|
||||||
-r=objs/apps/earphone/xtell_Sensor/client_handler.c.o,user_client_set_search_complete,l
|
-r=objs/apps/earphone/xtell_Sensor/client_handler.c.o,user_client_set_search_complete,l
|
||||||
-r=objs/apps/earphone/xtell_Sensor/client_handler.c.o,sys_timer_add,l
|
-r=objs/apps/earphone/xtell_Sensor/client_handler.c.o,sys_timer_add,l
|
||||||
@ -5402,6 +5402,7 @@ objs/apps/earphone/xtell_Sensor/xtell_handler.c.o
|
|||||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,get_tone_config,l
|
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,get_tone_config,l
|
||||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,__set_sbc_cap_bitpool,l
|
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,__set_sbc_cap_bitpool,l
|
||||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,ble_bqb_test_thread_init,l
|
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,ble_bqb_test_thread_init,l
|
||||||
|
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,bt_ble_init,l
|
||||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,bt_init_ok_search_index,l
|
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,bt_init_ok_search_index,l
|
||||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,is_dac_power_off,l
|
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,is_dac_power_off,l
|
||||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,bt_wait_connect_and_phone_connect_switch,l
|
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,bt_wait_connect_and_phone_connect_switch,l
|
||||||
@ -8623,7 +8624,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_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,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,clear_sniff_cnt,l
|
||||||
-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_connection_update_request_just,pl
|
||||||
-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_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,l2cap_packet_handler,pl
|
||||||
-r=cpu/br28/liba/btstack.a.llvm.343146.l2cap.c,gap_request_connection_parameter_update,pl
|
-r=cpu/br28/liba/btstack.a.llvm.343146.l2cap.c,gap_request_connection_parameter_update,pl
|
||||||
@ -9814,12 +9815,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_asser,l
|
||||||
-r=cpu/br28/liba/btstack.a.llvm.2207106.att_send.c,CONFIG_BTCTLER_TWS_ENABLE,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
|
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,l
|
-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_descriptor_result,pl
|
-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,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,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_search_descriptor_is_enable,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_report_data_callback,pl
|
||||||
-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_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,user_client_gatt_event,pl
|
||||||
-r=cpu/br28/liba/btstack.a.llvm.2252410.client_user.c,gatt_client_discover_characteristics_for_service,l
|
-r=cpu/br28/liba/btstack.a.llvm.2252410.client_user.c,gatt_client_discover_characteristics_for_service,l
|
||||||
|
|||||||
Reference in New Issue
Block a user