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) |
該結構的文檔是從以下文件產生的: