app_tws_pairing_and_pairing_mode.h | |
bool app_tws_role_is_master(void);//判断耳机是否为主耳 | |
app_status_ind.h | |
int app_status_indication_set(APP_STATUS_INDICATION_T status);//设置指示灯状态 | |
APP_STATUS_INDICATION_T app_status_indication_get(void);//获得指示灯状态 | |
int app_status_indication_filter_set(APP_STATUS_INDICATION_T status);//设置某个指示灯无效 |
app_ibrt_ui.h | |
bool app_ibrt_ui_tws_switch(void);//主从切换 | |
bool app_ibrt_ui_ibrt_connected(void);// |
besaud_api.h | |
uint8_t btif_besaud_is_connected(void); | |
uint8_t btif_besaud_is_cmd_sending(void); | |
void btif_besaud_clear_cmd_sending(void); | |
void btif_besaud_client_create(btif_remote_device_t *dev); | |
void btif_besaud_server_create(btif_besaud_status_change_callback callback); | |
void btif_besaud_data_received_register(btif_besaud_data_received_callback callback); | |
void btif_besaud_send_cmd(uint8_t* cmd, uint16_t len); | |
bt_status_t btif_besaud_send_cmd_no_wait(uint8_t* cmd, uint16_t len); | |
void btif_besaud_status_changed(btif_besaud_event event); | |
btif_remote_device_t *btif_besaud_get_peer_device(void); |
app_tws_ibrt.h | |
bool app_tws_ibrt_tws_link_connected(void);//判断耳机与耳机组队成功 | |
bool app_tws_ibrt_mobile_link_connected(void);//判断耳机与手机配对成功 | |
bool app_tws_ibrt_slave_ibrt_link_connected(void);// | |
app_ibrt_if.h |
void app_start_tws_serching_direactly();//开始耳机组队搜索 |
void app_ibrt_enter_limited_mode(void);//有限搜索模式,主耳机没有组队时调用,已组队不调用! |
int app_ibrt_if_event_entry(ibrt_event_type event);//触发底层状态机 |
app_ibrt_search_pair_ui.cpp |
void app_ibrt_remove_history_paired_device(void);//清除所有蓝牙左耳和右耳的组队记录 |
app_ibrt_nvrecord.h |
void app_ibrt_nvrecord_delete_all_mobile_record(void);//清除所有手机和耳机的配对记录 |