|
SmartSnippets DA1459x SDK
|
Go to the documentation of this file.
76 typedef void (* hids_boot_keyboard_output_write_cb_t) (
ble_service_t *svc, uint16_t length,
79 uint8_t report_id, uint16_t length,
const uint8_t *data);
81 typedef void (* hids_notify_boot_mouse_input_report_completed_cb_t) (
ble_service_t *svc,
83 typedef void (* hids_notify_boot_keyboard_input_report_completed_cb_t) (
ble_service_t *svc,
85 typedef void (* hids_notify_input_report_completed_cb_t) (
ble_service_t *svc, uint8_t report_id,
94 hids_set_protocol_mode_cb_t set_protocol_mode;
96 hids_control_point_cb_t control_point;
98 hids_boot_keyboard_output_write_cb_t boot_keyboard_write;
100 hids_report_write_cb_t report_write;
102 hids_report_sent_t report_sent;
104 hids_notify_boot_mouse_input_report_completed_cb_t
107 hids_notify_boot_keyboard_input_report_completed_cb_t
110 hids_notify_input_report_completed_cb_t notify_input_report_completed;
123 HIDS_INFO_FLAG_REMOTE_WAKE = 0x01,
124 HID_INFO_FLAG_NORMALLY_CONNECTABLE = 0x02,
129 uint8_t country_code;
317 uint16_t length,
const uint8_t *data)
__attribute__((deprecated));
334 uint16_t length,
const uint8_t *data);
352 uint16_t length,
const uint8_t *data,
ble_error_t *ble_err);
hids_report_type_t type
Definition: hids.h:117
hids_protocol_mode_t
Definition: hids.h:52
bool hids_notify_boot_mouse_input_report(ble_service_t *svc, uint16_t length, const uint8_t *data, ble_error_t *ble_err)
Notify Boot Mouse Input Report.
bool hids_set_boot_mouse_input_value(ble_service_t *svc, uint16_t length, const uint8_t *data) __attribute__((deprecated))
Set Boot Mouse Input value.
const uint8_t * report_map
Definition: hids.h:154
hids_cp_command_t
Definition: hids.h:60
uint8_t num_reports
Definition: hids.h:150
hids_boot_device_t
Definition: hids.h:136
hids_report_type_t
Definition: hids.h:68
bool hids_notify_boot_keyboard_input_report(ble_service_t *svc, uint16_t length, const uint8_t *data, ble_error_t *ble_err)
Notify Boot Keyboard Input Report.
hids_notify_boot_mouse_input_report_completed_cb_t notify_boot_mouse_input_report_completed
Definition: hids.h:105
ble_service_t * hids_init(const ble_service_config_t *service_config, const hids_config_t *config, const hids_callbacks_t *callbacks)
Register HID Service instance.
bool hids_set_boot_mouse_input_report(ble_service_t *svc, uint16_t length, const uint8_t *data)
Set Boot Mouse Input Report.
uint16_t report_map_length
Definition: hids.h:156
hids_notify_boot_keyboard_input_report_completed_cb_t notify_boot_keyboard_input_report_completed
Definition: hids.h:108
Services handling routines API.
uint16_t length
Definition: hids.h:119
__attribute__
Definition: suota_security_ext.h:98
HW_GPIO_MODE mode
Definition: hw_gpio.h:211
bool hids_notify_input_report(ble_service_t *svc, uint8_t report_id, uint16_t length, const uint8_t *data, ble_error_t *ble_err)
Notify Input Report.
hids_hid_info_t hids_info
Definition: hids.h:158
bool hids_attach_connection(ble_service_t *svc, uint16_t conn_idx)
Attach connection to HID Service instance.
hids_boot_device_t boot_device
Definition: hids.h:160
const hids_report_t * reports
Definition: hids.h:152
ble_error_t
Definition: ble_common.h:53
bool hids_set_boot_keyboard_input_value(ble_service_t *svc, uint16_t length, const uint8_t *data) __attribute__((deprecated))
Set Boot Keyboard Input value.
Definition: ble_service.h:150
uint8_t report_id
Definition: hids.h:118
Definition: ble_service.h:132
bool hids_set_report_value(ble_service_t *svc, hids_report_type_t type, uint8_t report_id, uint16_t length, const uint8_t *data) __attribute__((deprecated))
Set Report value.
bool hids_set_boot_keyboard_input_report(ble_service_t *svc, uint16_t length, const uint8_t *data)
Set Boot Keyboard Input Report.
bool hids_set_report(ble_service_t *svc, hids_report_type_t type, uint8_t report_id, uint16_t length, const uint8_t *data)
Set Report.