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

◆ bt_hids_connected()

int bt_hids_connected ( struct bt_hids * hids_obj,
struct bt_conn * conn )

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

Function for informing the HID service about connection to the device This function should be used in main application.

Parameters
hids_objPointer to HIDS instance.
connPointer to Connection Object.
Returns
0 If the operation was successful. Otherwise, a (negative) error code is returned.