bas_init_t Struct Reference

Battery Service init structure. More...

#include <bas.h>

+ Collaboration diagram for bas_init_t:

Public Attributes

bas_evt_handler_t evt_handler
 Battery Service event handler. More...
 
uint8_t char_mask
 Initial mask of supported characteristics, and configured with Characteristics Mask. More...
 
uint8_t batt_lvl
 Initial value of Battery Level characteristic. More...
 

Detailed Description

Battery Service init structure.

This contains all options and data needed for initialization of the service.

Definition at line 134 of file bas.h.

Member Data Documentation

◆ batt_lvl

uint8_t bas_init_t::batt_lvl

Initial value of Battery Level characteristic.

Definition at line 138 of file bas.h.

◆ char_mask

uint8_t bas_init_t::char_mask

Initial mask of supported characteristics, and configured with Characteristics Mask.

Definition at line 137 of file bas.h.

◆ evt_handler

bas_evt_handler_t bas_init_t::evt_handler

Battery Service event handler.

Definition at line 136 of file bas.h.


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