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

◆ bt_hids_boot_kb_inp_rep_send()

int bt_hids_boot_kb_inp_rep_send ( struct bt_hids * hids_obj,
struct bt_conn * conn,
uint8_t const * rep,
uint16_t len,
bt_gatt_complete_func_t cb )

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

Send Boot Keyboard Input Report.

Note
The function is not thread safe. It cannot be called from multiple threads at the same time.
Parameters
hids_objPointer to HIDS instance.
connPointer to Connection Object.
repPointer to the report data.
lenLength of report data.
cbNotification complete callback (can be NULL).
Returns
0 If the operation was successful. Otherwise, a (negative) error code is returned.