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

◆ bt_hogp_rep_find()

struct bt_hogp_rep_info * bt_hogp_rep_find ( struct bt_hogp * hogp,
enum bt_hids_report_type type,
uint8_t id )

#include <include/bluetooth/services/hogp.h>

Find a report.

This function searches for a report with the given type and identifier.

Parameters
hogpHOGP object.
typeThe report type to find.
idThe identifier to find. Note that valid identifiers start from 1, but the value 0 may be used for devices that have one report of each type and there is no report ID inside the report map.
Returns
The report that was found, or NULL.