Macros
Characteristics Mask
BLE Services » User Data Service (UDS) » Defines

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

Collaboration diagram for Characteristics Mask:

## Macros
#define | UDS_CHAR_MANDATORY 0x000001FF
| Bit mask for mandatory characteristic in UDS. More...
#define | UDS_CHAR_AGE_SUP 0x00000600
| Bit mask for Age characteristic that is optional. More...
#define | UDS_CHAR_DATE_OF_BIRTH_SUP 0x00001800
| Bit mask for date of birth characteristic that is optional. More...
#define | UDS_CHAR_FIRST_NAME_SUP 0x00006000
| Bit mask for first name characteristic that is optional. More...
#define | UDS_CHAR_HEIGHT_SUP 0x00018000
| Bit mask for height characteristic that is optional. More...
#define | UDS_CHAR_GENDER_SUP 0x00060000
| Bit mask for gender characteristic that is optional. More...
#define | UDS_CHAR_REGIST_USER_SUP 0x00380000
| Bit mask for Registered User characteristic that is optional. More...
#define | UDS_CHAR_FULL 0x003FFFFF
| Bit mask of the full characteristic. More...

## Detailed Description

Bit masks for the initialization of uds_init_t::char_mask.

## Macro Definition Documentation

## ◆ UDS_CHAR_AGE_SUP

#define UDS_CHAR_AGE_SUP 0x00000600

Bit mask for Age characteristic that is optional.

Definition at line 108 of file uds.h.

## ◆ UDS_CHAR_DATE_OF_BIRTH_SUP

#define UDS_CHAR_DATE_OF_BIRTH_SUP 0x00001800

Bit mask for date of birth characteristic that is optional.

Definition at line 109 of file uds.h.

## ◆ UDS_CHAR_FIRST_NAME_SUP

#define UDS_CHAR_FIRST_NAME_SUP 0x00006000

Bit mask for first name characteristic that is optional.

Definition at line 110 of file uds.h.

## ◆ UDS_CHAR_FULL

#define UDS_CHAR_FULL 0x003FFFFF

Bit mask of the full characteristic.

Definition at line 114 of file uds.h.

## ◆ UDS_CHAR_GENDER_SUP

#define UDS_CHAR_GENDER_SUP 0x00060000

Bit mask for gender characteristic that is optional.

Definition at line 112 of file uds.h.

## ◆ UDS_CHAR_HEIGHT_SUP

#define UDS_CHAR_HEIGHT_SUP 0x00018000

Bit mask for height characteristic that is optional.

Definition at line 111 of file uds.h.

## ◆ UDS_CHAR_MANDATORY

#define UDS_CHAR_MANDATORY 0x000001FF

Bit mask for mandatory characteristic in UDS.

Definition at line 107 of file uds.h.

## ◆ UDS_CHAR_REGIST_USER_SUP

#define UDS_CHAR_REGIST_USER_SUP 0x00380000

Bit mask for Registered User characteristic that is optional.

Definition at line 113 of file uds.h.