nRF51 SDK - S110 SoftDevice
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
ble_bas_c_evt_t Struct Reference

Battery Service Client Event structure. More...

#include <ble_bas_c.h>

Data Fields

ble_bas_c_evt_type_t evt_type
 
union {
   uint8_t   battery_level
 
params
 

Detailed Description

Battery Service Client Event structure.

Field Documentation

uint8_t ble_bas_c_evt_t::battery_level

Battery level received from peer. This field will be used for the events BLE_BAS_C_EVT_BATT_NOTIFICATION and BLE_BAS_C_EVT_BATT_READ_RESP.

ble_bas_c_evt_type_t ble_bas_c_evt_t::evt_type

Event Type.