![]() |
nRF Connect SDK API 3.3.99
|
| int bt_hids_inp_rep_send_userdata | ( | struct bt_hids * | hids_obj, |
| struct bt_conn * | conn, | ||
| uint8_t | rep_index, | ||
| uint8_t const * | rep, | ||
| uint8_t | len, | ||
| bt_gatt_complete_func_t | cb, | ||
| void * | userdata ) |
#include <include/bluetooth/services/hids.h>
Send Input Report, operation complete callback has user data as argument.
| hids_obj | Pointer to HIDS instance. |
| conn | Pointer to Connection Object. |
| rep_index | Index of report descriptor. |
| rep | Pointer to the report data. |
| len | Length of report data. |
| cb | Notification complete callback (can be NULL). |
| userdata | Argument passed to notificaion complete callback. |