nRF51 SDK: ble_bas_c_evt_t Struct Reference

| nRF51 SDK

- Home
- Related Pages
- API Reference
- Data Structures

- Data Structures
- Data Structure Index
- Data Fields

All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
Data Fields
ble_bas_c_evt_t Struct Reference
Structures

Battery Service Client Event structure. More...

`#include <ble_bas_c.h>`

## Data Fields

ble_bas_c_evt_type_t | evt_type
union {
uint8_t batt_level
} | params

## Detailed Description

Battery Service Client Event structure.

## Field Documentation

uint8_t ble_bas_c_evt_t::batt_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

Type of the event.