bthh_interface_t 结构参考
bthh_interface_t 结构参考
#include < bt_hh.h >
数据字段 | |
尺寸_t | 尺寸 |
bt_状态_t (* | 初始化)( bthh_callbacks_t *回调) |
bt_状态_t (* | 连接)(bt_bdaddr_t *bd_addr) |
bt_状态_t (* | 断开连接)(bt_bdaddr_t *bd_addr) |
bt_状态_t (* | virtual_unplug )(bt_bdaddr_t *bd_addr) |
bt_状态_t (* | set_info )(bt_bdaddr_t *bd_addr, bthh_hid_info_t hid_info) |
bt_状态_t (* | get_protocol )(bt_bdaddr_t *bd_addr, bthh_protocol_mode_t协议模式) |
bt_状态_t (* | set_protocol )(bt_bdaddr_t *bd_addr, bthh_protocol_mode_t协议模式) |
bt_状态_t (* | get_report )(bt_bdaddr_t *bd_addr, bthh_report_type_t报告类型, uint8_t 报告Id, int bufferSize) |
bt_状态_t (* | set_report )(bt_bdaddr_t *bd_addr, bthh_report_type_t报告类型, char *报告) |
bt_状态_t (* | 发送数据)(bt_bdaddr_t *bd_addr,字符*数据) |
空白(* | 清理)(无效) |
详细说明
现场文档
bt_status_t (* 连接)(bt_bdaddr_t *bd_addr) |
bt_status_t (* 断开连接)(bt_bdaddr_t *bd_addr) |
bt_status_t (* get_protocol)(bt_bdaddr_t *bd_addr, bthh_protocol_mode_t协议模式) |
bt_status_t (* get_report)(bt_bdaddr_t *bd_addr, bthh_report_type_t报告类型, uint8_t 报告Id, int bufferSize) |
bt_status_t (* init)( bthh_callbacks_t *回调) |
bt_status_t (* send_data)(bt_bdaddr_t *bd_addr, char *data) |
bt_status_t (* set_info)(bt_bdaddr_t *bd_addr, bthh_hid_info_t hid_info) |
bt_status_t (* set_protocol)(bt_bdaddr_t *bd_addr, bthh_protocol_mode_t协议模式) |
bt_status_t (* set_report)(bt_bdaddr_t *bd_addr, bthh_report_type_t报告类型, char *报告) |
bt_status_t (* virtual_unplug)(bt_bdaddr_t *bd_addr) |
该结构的文档是从以下文件生成的: