![]() |
nRF Connect SDK Bare Metal API 2.0.99
|
| uint32_t ble_lbs_on_button_change | ( | struct ble_lbs * | lbs, |
| uint16_t | conn_handle, | ||
| uint8_t | button_state ) |
#include <ble_lbs.h>
Function for sending a button state notification.
| [in] | lbs | LED Button Service structure. |
| [in] | conn_handle | Handle of the peripheral connection to which the button state notification will be sent. |
| [in] | button_state | New button state. |
| NRF_SUCCESS | If the notification was sent successfully. |
| NRF_ERROR_NULL | If lbs is NULL. |