nRF Connect SDK API 2.8.99
|
int bt_hogp_pm_write | ( | struct bt_hogp * | hogp, |
enum bt_hids_pm | pm ) |
#include <include/bluetooth/services/hogp.h>
Set the current protocol mode.
This function sends a write command to the Protocol Mode value.
hogp | HOGP object. |
pm | Protocol mode to select. |
0 | If the operation was successful. Otherwise, a (negative) error code is returned. |