bt_callbacks_t 结构参考

bt_callbacks_t 结构参考

#include < bluetooth.h >

数据字段

尺寸_t尺寸
adapter_state_changed_callback adapter_state_changed_cb
适配器属性回调adapter_properties_cb
remote_device_properties_callback remote_device_properties_cb
device_found_callback device_found_cb
discovery_state_changed_callback discovery_state_changed_cb
pin_request_callback pin_request_cb
ssp_request_callback ssp_request_cb
bond_state_changed_callback bond_state_changed_cb
acl_state_changed_callback acl_state_changed_cb
回调线程事件thread_evt_cb
dut_mode_recv_callback dut_mode_recv_cb
le_test_mode_callback le_test_mode_cb
能量信息回调energy_info_cb

详细说明

TODO:为 Link Up/Down 和其他通用通知/回调蓝牙 DM 回调结构添加回调。

在文件bluetooth.h的第400行定义。

现场文件

acl_state_changed_callback acl_state_changed_cb

在文件bluetooth.h的第411行定义。

adapter_properties_callback adapter_properties_cb

在文件bluetooth.h的第404行定义。

adapter_state_changed_callback adapter_state_changed_cb

在文件bluetooth.h的第403行定义。

bond_state_changed_callback bond_state_changed_cb

在文件bluetooth.h的第410行定义。

device_found_callback device_found_cb

在文件bluetooth.h的第406行定义。

discovery_state_changed_callback discovery_state_changed_cb

在文件bluetooth.h的第407行定义。

dut_mode_recv_callback dut_mode_recv_cb

在文件bluetooth.h的第413行定义。

energy_info_callback energy_info_cb

在文件bluetooth.h的第415行定义。

le_test_mode_callback le_test_mode_cb

在文件bluetooth.h的第414行定义。

pin_request_callback pin_request_cb

在文件bluetooth.h的第408行定义。

remote_device_properties_callback remote_device_properties_cb

在文件bluetooth.h的第405行定义。

size_t 大小

设置为 sizeof(bt_callbacks_t)

在文件bluetooth.h的第402行定义。

ssp_request_callback ssp_request_cb

在文件bluetooth.h的第409行定义。

callback_thread_event thread_evt_cb

在文件bluetooth.h的第412行定义。


此结构的文档是从以下文件生成的: