ble_lbs_c_evt_t

nRF5 SDK v12.1.0

LED Button Event structure. More...

#include <ble_lbs_c.h>

Detailed Description

LED Button Event structure.

Field Documentation

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 .

  • components/ble/ble_services/ble_lbs_c/ble_lbs_c.h