nRF Connect SDK API 3.3.99
Loading...
Searching...
No Matches

◆ trigger_report_send

int(* hid_state_api::trigger_report_send) (uint8_t report_id)

Trigger sending HID report to the currently connected subscriber.

The function is used to notify the HID state that new data is available (for example on user input). The HID provider needs to wait with submitting a hid_report_event until the HID state requests it through the send_report callback.

Parameters
[in]report_idReport ID.
Returns
0 if the operation was successful. Otherwise, a (negative) error code is returned.