ble_bas_c_evt_t

nRF5 SDK v9.0.0

nRF51 SDK v9.0.0

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.


Please send us your feedback about the documentation! For technical questions, visit the Nordic Developer Zone .