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

◆ bt_hogp_sci_info_get()

int bt_hogp_sci_info_get ( struct bt_hogp * hogp,
struct bt_hogp_sci_info * sci_info )

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

Get the cached HID SCI Information.

This function fills the SCI Information structure with the cached SCI Information. It does not generate any traffic on the radio. The SCI Information is read once after connection to the HID device and cached in the HOGP object.

Parameters
hogpHOGP object.
sci_infoPointer to the SCI Information structure to fill.
Return values
0If the operation was successful.
-ENOTSUPThe HID SCI Device does not support mandatory connection intervals. The sci_info will be filled with values and usable. It is up to the upper layer what to do with this information.
-EINVALThe passed parameters are invalid.