nRF Connect SDK API 2.8.99
|
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.
hogp | HOGP object. |
rep | Report object. |
data | Data to be sent. |
length | Data size. |
func | Function to be called when operation is completed. |
0 | If the operation was successful. Otherwise, a (negative) error code is returned. |