nRF Connect SDK API 0.1.0
|
int bt_lbs_send_button_state | ( | bool | button_state | ) |
#include <include/bluetooth/services/lbs.h>
Send the button state.
This function sends a binary state, typically the state of a button, to all connected peers.
[in] | button_state | The state of the button. |
0 | If the operation was successful. Otherwise, a (negative) error code is returned. |