Macros
Characteristics Mask
BLE Services » Battery Service (BAS) » Defines

Bit masks for the initialization of bas_init_t::char_mask. More...

## Macros
#define | BAS_CHAR_MANDATORY 0x07
#define | BAS_CHAR_LVL_NTF_SUP 0x08
#define | BAS_CHAR_FORMAT_SUP 0x10
#define | BAS_CHAR_FULL 0x1f

## Detailed Description

Bit masks for the initialization of bas_init_t::char_mask.

## Macro Definition Documentation

## ◆ BAS_CHAR_FORMAT_SUP

#define BAS_CHAR_FORMAT_SUP 0x10

Bit mask of the Presentation Format descriptor.

## ◆ BAS_CHAR_FULL

#define BAS_CHAR_FULL 0x1f

Bit mask of the full characteristic.

## ◆ BAS_CHAR_LVL_NTF_SUP

#define BAS_CHAR_LVL_NTF_SUP 0x08

Bit mask of Battery Level notification.

## ◆ BAS_CHAR_MANDATORY

#define BAS_CHAR_MANDATORY 0x07

Bit mask of the mandatory characteristics in BAS.