Data Fields
bas_init_t Struct Reference
BLE Services » Battery Service (BAS) » Structures

Battery Service init structure. This contains all options and data needed for initialization of the service. More...

`#include <bas.h>`

## Data Fields
bas_evt_handler_t | evt_handler
uint8_t | char_mask
uint8_t | batt_lvl

## Detailed Description

Battery Service init structure. This contains all options and data needed for initialization of the service.

## Field Documentation

## ◆ batt_lvl

uint8_t bas_init_t::batt_lvl

Initial value of Battery Level characteristic.

## ◆ char_mask

uint8_t bas_init_t::char_mask

Initial mask of supported characteristics, and configured with Characteristics Mask

## ◆ evt_handler

bas_evt_handler_t bas_init_t::evt_handler

Battery Service event handler.

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

- bas.h