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

◆ bt_hogp_abort_all()

void bt_hogp_abort_all ( struct bt_hogp * hogp)

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

Abort all pending transfers.

Call this function only when the server is disconnected. Otherwise, if any read or write transfers are pending, the HOGP object might permanently return an EBUSY error on the following transfer attempts.

Note
This function disables transfers inside the HIDS client library. It does not abort any pending transfers in the Bluetooth LE stack.
Parameters
hogpHOGP object.