BES2500 SDK接口

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);//清除所有手机和耳机的配对记录

  • 2
    点赞
  • 15
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值