nRF51 SDK: ble_bas_c_s 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_s Struct Reference
Structures

Battery Service Client structure. More...

`#include <ble_bas_c.h>`

## Data Fields

uint16_t | conn_handle
uint16_t | bl_cccd_handle
uint16_t | bl_handle
ble_bas_c_evt_handler_t | evt_handler

## Detailed Description

Battery Service Client structure.

## Field Documentation

uint16_t ble_bas_c_s::bl_cccd_handle

Handle of the CCCD of the Battery Level characteristic.

uint16_t ble_bas_c_s::bl_handle

Handle of the Battery Level characteristic as provided by the SoftDevice.

uint16_t ble_bas_c_s::conn_handle

Connection handle as provided by the SoftDevice.

ble_bas_c_evt_handler_t ble_bas_c_s::evt_handler

Application event handler to be called when there is an event related to the Battery service.