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

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

Collaboration diagram for Characteristics Mask:

## Macros
#define | BAS_CHAR_MANDATORY 0x07
| Bit mask of the mandatory characteristics in BAS. More...
#define | BAS_CHAR_LVL_NTF_SUP 0x08
| Bit mask of Battery Level notification. More...
#define | BAS_CHAR_FORMAT_SUP 0x10
| Bit mask of the Presentation Format descriptor. More...
#define | BAS_CHAR_FULL 0x1f
| Bit mask of the full characteristic. More...

## 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.

Definition at line 91 of file bas.h.

## ◆ BAS_CHAR_FULL

#define BAS_CHAR_FULL 0x1f

Bit mask of the full characteristic.

Definition at line 92 of file bas.h.

## ◆ BAS_CHAR_LVL_NTF_SUP

#define BAS_CHAR_LVL_NTF_SUP 0x08

Bit mask of Battery Level notification.

Definition at line 90 of file bas.h.

## ◆ BAS_CHAR_MANDATORY

#define BAS_CHAR_MANDATORY 0x07

Bit mask of the mandatory characteristics in BAS.

Definition at line 89 of file bas.h.