nRF Connect SDK API 0.1.0
|
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. |