Modules | Macros
Defines
BLE Services » Battery Service (BAS)

## Modules
| Characteristics Mask
| Bit masks for the initialization of bas_init_t::char_mask.

## Macros
#define | BAS_INSTANCE_MAX 1
#define | BAS_CONNECTION_MAX 10
#define | BAS_LVL_MAX_LEN 1

## Detailed Description

## Macro Definition Documentation

## ◆ BAS_CONNECTION_MAX

#define BAS_CONNECTION_MAX 10

Maximum number of BAS connections.The value is configurable.

Definition at line 81 of file bas.h.

## ◆ BAS_INSTANCE_MAX

#define BAS_INSTANCE_MAX 1

Maximum number of Battery Service instances. The value is configurable.

Definition at line 80 of file bas.h.

## ◆ BAS_LVL_MAX_LEN

#define BAS_LVL_MAX_LEN 1

Maximun length of battery level value.

Definition at line 82 of file bas.h.