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

◆ bt_hogp_rep_write_wo_rsp()

int bt_hogp_rep_write_wo_rsp ( struct bt_hogp * hogp,
struct bt_hogp_rep_info * rep,
const void * data,
uint8_t length,
bt_hogp_write_cb func )

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

Send a write command addressing the report value descriptor.

Note that in case of an error, no error response from the server is received. If the server cannot execute the command, it is just ignored.

Parameters
hogpHOGP object.
repReport object.
dataData to be sent.
lengthData size.
funcFunction to be called when operation is completed.
Return values
0If the operation was successful. Otherwise, a (negative) error code is returned.