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
#define | BAS_LVL_MAX_LEN 1

## Detailed Description

## Macro Definition Documentation

## ◆ BAS_CONNECTION_MAX

#define BAS_CONNECTION_MAX

Value:
(10 < CFG_MAX_CONNECTIONS ?\
10 : CFG_MAX_CONNECTIONS)

Maximum number of BAS connections. The value is configurable.

## ◆ BAS_INSTANCE_MAX

#define BAS_INSTANCE_MAX 1

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

## ◆ BAS_LVL_MAX_LEN

#define BAS_LVL_MAX_LEN 1

Maximun length of battery level value.