19 #ifndef __M_COMS_BLE_HID__
20 #define __M_COMS_BLE_HID__
25 #include "m_coms_ble.h"
85 m_coms_hid_evt_handler_t evt_handler;
86 ble_srv_error_handler_t error_handler;
88 uint16_t base_hid_version;
89 uint8_t b_country_code;
91 uint8_t io_capabilities;
92 } m_coms_ble_hid_init_t;
97 #define BLE_HID_REPORT_MAP_CONF(_interface, \
102 .interface = _interface, \
103 .report_map = _report_map, \
104 .report_map_len = _report_map_len, \
105 .boot_type = _boot_type, \
111 #define BLE_HID_REPORT_CONF(_interface_idx, \
117 .interface_idx = _interface_idx, \
118 .report_type = _report_type, \
119 .read_resp = _read_resp, \
120 .report_id = _report_id, \
121 .report_len = _report_len, \
127 #define BLE_HID_EXT_MAP_CONF(_interface_idx, \
128 _external_char_uuid) \
130 .interface_idx = _interface_idx, \
131 .external_char_uuid = _external_char_uuid, \
144 uint16_t *p_last_input_report_cccd_handle);
157 uint8_t p_report_idx,
196 uint8_t p_report_idx,