nRF5 SDK v17.1.0
Data Fields
ble_lbs_c_evt_t Struct Reference

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
 

Detailed Description

LED Button Event structure.

Field Documentation

ble_button_t ble_lbs_c_evt_t::button

Button value received. This is 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

Handles related to the LED Button Service found on the peer device. This is filled if the evt_type is BLE_LBS_C_EVT_DISCOVERY_COMPLETE.


The documentation for this struct was generated from the following file:

Documentation feedback | Developer Zone | Subscribe | Updated