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

◆ bt_hids_sci_mode_change_request()

int bt_hids_sci_mode_change_request ( struct bt_conn * conn,
enum bt_hids_sci_mode_value mode )

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

Request a new HID SCI mode. This function will request connection parameters for the mode. To actually change the mode bt_hids_sci_mode_updated needs to be called when the connection rate change event is received from the Bluetooth stack (conn_rate_changed callback).

Note
The function is not thread safe.
Parameters
connPointer to Connection Object.
modeNew SCI mode.
Returns
0 If the operation was successful. Otherwise, a (negative) error code is returned.