![]() |
nRF Connect SDK API 3.3.99
|
| bool(* hid_report_provider_api::send_report) (uint8_t report_id, bool force) |
Send report to the currently connected subscriber.
The HID provider must send the HID report as a hid_report_event only if the HID report data requires an update (there is user input waiting). Otherwise, the HID provider must skip sending the HID report unless a force flag is set.
If the force flag is set, the HID provider needs to always send a HID report (even if the report would contain no new information). The HID state sets the force flag if the connected subscriber requires an update (to refresh the state).
| [in] | report_id | Report ID. |
| [in] | force | Force send report to refresh state. |