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

◆ bt_hogp_rep_read()

int bt_hogp_rep_read ( struct bt_hogp * hogp,
struct bt_hogp_rep_info * rep,
bt_hogp_read_cb func )

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

Send a read request addressing the report value descriptor.

This function can be used on any type of report.

Parameters
hogpHOGP object.
repReport object.
funcFunction to be called to process the response.
Return values
0If the operation was successful. Otherwise, a (negative) error code is returned.