nRF Connect SDK API 2.8.99
|
HID report queue header. More...
Go to the source code of this file.
Functions | |
struct hid_reportq * | hid_reportq_alloc (const void *sub_id, uint8_t report_max) |
Allocate a HID report queue object instance. | |
void | hid_reportq_free (struct hid_reportq *q) |
Free HID report queue object instance. | |
const void * | hid_reportq_get_sub_id (struct hid_reportq *q) |
Get ID of HID subscriber related to a HID report queue object instance. | |
int | hid_reportq_report_add (struct hid_reportq *q, const void *src_id, uint8_t rep_id, const uint8_t *data, size_t size) |
Add a HID report to the queue. | |
void | hid_reportq_report_sent (struct hid_reportq *q, uint8_t rep_id, bool err) |
Notify HID report queue that HID report was sent. | |
bool | hid_reportq_is_subscribed (struct hid_reportq *q, uint8_t rep_id) |
Check if HID report queue is subscribed for HID report with given ID. | |
void | hid_reportq_subscribe (struct hid_reportq *q, uint8_t rep_id) |
Subscribe for HID report with given ID. | |
void | hid_reportq_unsubscribe (struct hid_reportq *q, uint8_t rep_id) |
Unsubscribe from HID report with given ID. | |
HID report queue header.