![]() |
nRF Connect SDK Bare Metal API 2.0.99
|
HID service configuration. More...
#include <bm/bluetooth/services/ble_hids.h>
Data Fields | ||
| ble_hids_evt_handler_t | evt_handler | |
| HID service event handler. | ||
| uint8_t | input_report_count | |
| Number of Input Report characteristics. | ||
| const struct ble_hids_report_config * | input_report | |
| Information about the Input Report characteristics. | ||
| uint8_t | output_report_count | |
| Number of Output Report characteristics. | ||
| const struct ble_hids_report_config * | output_report | |
| Information about the Output Report characteristics. | ||
| uint8_t | feature_report_count | |
| Number of Feature Report characteristics. | ||
| const struct ble_hids_report_config * | feature_report | |
| Information about the Feature Report characteristics. | ||
| struct ble_hids_rep_map_config | report_map | |
| Information nedeed for initialization of the Report Map characteristic. | ||
| struct { | ||
| uint16_t bcd_hid | ||
| 16-bit unsigned integer representing version number of base USB HID Specification implemented by HID Device More... | ||
| uint8_t b_country_code | ||
| Identifies which country the hardware is localized for. Most hardware is not localized and thus this value would be zero (0). More... | ||
| struct { | ||
| uint8_t normally_connectable: 1 | ||
| Device is normally connectable. More... | ||
| uint8_t remote_wake: 1 | ||
| Device can be waked remotely. More... | ||
| uint8_t reserved: 6 | ||
| Reserved. More... | ||
| } flags | ||
| HID information flags. More... | ||
| } | hid_information | |
| Value of the HID Information characteristic. | ||
| uint8_t | included_services_count | |
| Number of services to include in HID service. | ||
| uint16_t * | included_services_array | |
| Array of services to include in HID service. | ||
| struct { | ||
| struct { | ||
| ble_gap_conn_sec_mode_t read | ||
| Security requirement for reading HID Information characteristic value. More... | ||
| } hid_info_char | ||
| Security requirement for HID information characteristic. More... | ||
| struct { | ||
| ble_gap_conn_sec_mode_t read | ||
| Security requirement for reading HID Service Protocol Mode characteristic value. More... | ||
| ble_gap_conn_sec_mode_t write | ||
| Security requirement for writing HID Service Protocol Mode characteristic value. More... | ||
| } protocol_mode_char | ||
| Security requirement for HID service Protocol Mode characteristic. More... | ||
| struct { | ||
| ble_gap_conn_sec_mode_t write | ||
| Security requirement for writing HID service Control Point characteristic value. More... | ||
| } ctrl_point_char | ||
| Security requirement for HID service Control Point characteristic. More... | ||
| struct { | ||
| ble_gap_conn_sec_mode_t read | ||
| Security requirement for reading HID Service characteristic value. More... | ||
| } report_map_char | ||
| Security requirement for HID service Report Map characteristic. More... | ||
| struct { | ||
| ble_gap_conn_sec_mode_t read | ||
| Security requirement for reading HID Boot Mouse Input Report characteristic value. More... | ||
| ble_gap_conn_sec_mode_t write | ||
| Security requirement for writing HID Boot Mouse Input Report characteristic value. More... | ||
| ble_gap_conn_sec_mode_t cccd_write | ||
| Security requirement for writing HID Boot Mouse Input Report characteristic CCCD. More... | ||
| } boot_mouse_inp_rep_char | ||
| Security requirements for HID Boot Keyboard Input Report characteristic. More... | ||
| struct { | ||
| ble_gap_conn_sec_mode_t read | ||
| Security requirement for reading HID Boot Keyboard Input Report characteristic value. More... | ||
| ble_gap_conn_sec_mode_t write | ||
| Security requirement for writing HID Boot Keyboard Input Report characteristic value. More... | ||
| ble_gap_conn_sec_mode_t cccd_write | ||
| Security requirement for writing HID Boot Keyboard Input Report characteristic CCCD. More... | ||
| } boot_kb_inp_rep_char | ||
| Security requirements for HID Boot Keyboard Input Report characteristic. More... | ||
| struct { | ||
| ble_gap_conn_sec_mode_t read | ||
| Security requirement for reading HID Boot Keyboard Output Report characteristic value. More... | ||
| ble_gap_conn_sec_mode_t write | ||
| Security requirement for writing HID Boot Keyboard Output Report characteristic value. More... | ||
| ble_gap_conn_sec_mode_t cccd_write | ||
| Security requirement for writing HID Boot Keyboard Output Report characteristic CCCD. More... | ||
| } boot_kb_outp_rep_char | ||
| Security requirements for HID Boot Keyboard Output Report characteristic. More... | ||
| } | sec_mode | |
| Security configuration. | ||
HID service configuration.