nRF Connect SDK API 0.1.0
|
int bt_hogp_suspend | ( | struct bt_hogp * | hogp | ) |
#include <include/bluetooth/services/hogp.h>
Suspend the device.
This function sends a SUSPEND command using the Control Point Characteristic. It should be called when the HOST enters SUSPEND state.
hogp | HOGP object. |
0 | If the operation was successful. Otherwise, a (negative) error code is returned. |