LED Button Event structure. More...
#include <ble_lbs_c.h>
Data Fields | |
ble_lbs_c_evt_type_t | evt_type |
uint16_t | conn_handle |
union { | |
ble_button_t button | |
lbs_db_t peer_db | |
} | params |
LED Button Event structure.
ble_button_t ble_lbs_c_evt_t::button |
Button Value received. This will be filled if the evt_type is BLE_LBS_C_EVT_BUTTON_NOTIFICATION.
uint16_t ble_lbs_c_evt_t::conn_handle |
Connection handle on which the event occured.
ble_lbs_c_evt_type_t ble_lbs_c_evt_t::evt_type |
Type of the event.
lbs_db_t ble_lbs_c_evt_t::peer_db |
LED Button Service related handles found on the peer device. This will be filled if the evt_type is BLE_LBS_C_EVT_DISCOVERY_COMPLETE.