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

◆ bt_lbs_send_button_state()

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.

Parameters
[in]button_stateThe state of the button.
Return values
0If the operation was successful. Otherwise, a (negative) error code is returned.