nRF Connect SDK API 0.1.0
|
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.
hogp | HOGP object. |
type | The report type to find. |
id | The 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. |