![](/media/cache/profiles/8c458fc1ed9bb89c1cd16889cb7e7e68.jpg.50x50_q85.png)
konashi/SBBLEのテスト
Fork of BLE_LoopbackUART by
ble_hids_s Struct Reference
[Human Interface Device Service]
HID Service structure. More...
#include <ble_hids.h>
Data Fields | |
ble_hids_evt_handler_t | evt_handler |
Event handler to be called for handling events in the HID Service. | |
ble_srv_error_handler_t | error_handler |
Function to be called in case of an error. | |
uint16_t | service_handle |
Handle of HID Service (as provided by the BLE stack). | |
ble_gatts_char_handles_t | protocol_mode_handles |
Handles related to the Protocol Mode characteristic (will only be created if ble_hids_init_t.is_kb or ble_hids_init_t.is_mouse is set). | |
uint8_t | inp_rep_count |
Number of Input Report characteristics. | |
ble_hids_rep_char_t | inp_rep_array [BLE_HIDS_MAX_INPUT_REP] |
Information about the Input Report characteristics. | |
uint8_t | outp_rep_count |
Number of Output Report characteristics. | |
ble_hids_rep_char_t | outp_rep_array [BLE_HIDS_MAX_OUTPUT_REP] |
Information about the Output Report characteristics. | |
uint8_t | feature_rep_count |
Number of Feature Report characteristics. | |
ble_hids_rep_char_t | feature_rep_array [BLE_HIDS_MAX_FEATURE_REP] |
Information about the Feature Report characteristics. | |
ble_gatts_char_handles_t | rep_map_handles |
Handles related to the Report Map characteristic. | |
uint16_t | rep_map_ext_rep_ref_handle |
Handle of the Report Map External Report Reference descriptor. | |
ble_gatts_char_handles_t | boot_kb_inp_rep_handles |
Handles related to the Boot Keyboard Input Report characteristic (will only be created if ble_hids_init_t.is_kb is set). | |
ble_gatts_char_handles_t | boot_kb_outp_rep_handles |
Handles related to the Boot Keyboard Output Report characteristic (will only be created if ble_hids_init_t.is_kb is set). | |
ble_gatts_char_handles_t | boot_mouse_inp_rep_handles |
Handles related to the Boot Mouse Input Report characteristic (will only be created if ble_hids_init_t.is_mouse is set). | |
ble_gatts_char_handles_t | hid_information_handles |
Handles related to the Report Map characteristic. | |
ble_gatts_char_handles_t | hid_control_point_handles |
Handles related to the Report Map characteristic. | |
uint16_t | conn_handle |
Handle of the current connection (as provided by the BLE stack, is BLE_CONN_HANDLE_INVALID if not in a connection). |
Detailed Description
HID Service structure.
This contains various status information for the service.
Definition at line 196 of file ble_hids.h.
Field Documentation
Handles related to the Boot Keyboard Input Report characteristic (will only be created if ble_hids_init_t.is_kb is set).
Definition at line 210 of file ble_hids.h.
Handles related to the Boot Keyboard Output Report characteristic (will only be created if ble_hids_init_t.is_kb is set).
Definition at line 211 of file ble_hids.h.
Handles related to the Boot Mouse Input Report characteristic (will only be created if ble_hids_init_t.is_mouse is set).
Definition at line 212 of file ble_hids.h.
uint16_t conn_handle |
Handle of the current connection (as provided by the BLE stack, is BLE_CONN_HANDLE_INVALID if not in a connection).
Definition at line 215 of file ble_hids.h.
Function to be called in case of an error.
Definition at line 199 of file ble_hids.h.
Event handler to be called for handling events in the HID Service.
Definition at line 198 of file ble_hids.h.
ble_hids_rep_char_t feature_rep_array[BLE_HIDS_MAX_FEATURE_REP] |
Information about the Feature Report characteristics.
Definition at line 207 of file ble_hids.h.
uint8_t feature_rep_count |
Number of Feature Report characteristics.
Definition at line 206 of file ble_hids.h.
Handles related to the Report Map characteristic.
Definition at line 214 of file ble_hids.h.
Handles related to the Report Map characteristic.
Definition at line 213 of file ble_hids.h.
ble_hids_rep_char_t inp_rep_array[BLE_HIDS_MAX_INPUT_REP] |
Information about the Input Report characteristics.
Definition at line 203 of file ble_hids.h.
uint8_t inp_rep_count |
Number of Input Report characteristics.
Definition at line 202 of file ble_hids.h.
ble_hids_rep_char_t outp_rep_array[BLE_HIDS_MAX_OUTPUT_REP] |
Information about the Output Report characteristics.
Definition at line 205 of file ble_hids.h.
uint8_t outp_rep_count |
Number of Output Report characteristics.
Definition at line 204 of file ble_hids.h.
Handles related to the Protocol Mode characteristic (will only be created if ble_hids_init_t.is_kb or ble_hids_init_t.is_mouse is set).
Definition at line 201 of file ble_hids.h.
uint16_t rep_map_ext_rep_ref_handle |
Handle of the Report Map External Report Reference descriptor.
Definition at line 209 of file ble_hids.h.
Handles related to the Report Map characteristic.
Definition at line 208 of file ble_hids.h.
uint16_t service_handle |
Handle of HID Service (as provided by the BLE stack).
Definition at line 200 of file ble_hids.h.
Generated on Tue Jul 12 2022 20:35:48 by
![doxygen](doxygen.png)