一些常见的参数配置在app_ibrt_customif_ui.cpp例如,双耳是否使用相同的地址rssi主从信号切换、主从回连周期、超距回连等基本设置。
services\app_ibrt\src\app_ibrt_customif_ui.cpp
services\app_ibrt\inc\app_ibrt_customif_ui.h
/* * custom config main function */ int app_ibrt_customif_ui_start(void) { ibrt_ui_config_t config; // zero init the config memset(&config, 0, sizeof(ibrt_ui_config_t)); //freeman mode config, default should be false config.freeman_enable = false; //tws earphone set the same addr, UI will be flexible, default should be true config.tws_use_same_addr = true; //ibrt slave will reconnect to mobile if tws connect failed, default should be true config.slave_reconnect_enable = true; //do tws switch when wearup or weardown, must be true because MIC will be with IBRT master config.wear_updown_tws_switch_enable = true;