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

◆ send_empty_report

void(* hid_report_provider_api::send_empty_report) (uint8_t report_id, const void *subscriber)

Send empty report to the given subscriber.

This is an optional callback.

The empty report is sent to a subscriber different than the currently connected one. This might be needed to clear state (e.g. clear all of the pressed buttons) when a high priority subscriber connects and starts receiving HID reports instead of previously connected low priority subscriber.

Parameters
[in]report_idReport ID.
[in]subscriberReport subscriber.