Modules | Macros
Defines
BLE Services » Alert Notification Service (ANS)

## Modules
| Category ID Bit Masks
| Category ID Bit Masks.

## Macros
#define | ANS_CONNECTION_MAX 10
#define | ANS_ERROR_CMD_NOT_SUP 0xa0
#define | ANS_UTF_8_STR_LEN_MAX 18
#define | ANS_SUP_NEW_ALERT_CAT_VAL_LEN 2
#define | ANS_NEWS_ALERT_VAL_LEN (ANS_UTF_8_STR_LEN_MAX + 2)
#define | ANS_SUP_UNREAD_ALERT_CAT_VAL_LEN 2
#define | ANS_UNREAD_ALERT_STA_VAL_LEN 2
#define | ANS_ALERT_NTF_CTRL_PT_VAL_LEN 2

## Detailed Description

## Macro Definition Documentation

## ◆ ANS_ALERT_NTF_CTRL_PT_VAL_LEN

#define ANS_ALERT_NTF_CTRL_PT_VAL_LEN 2

Length of Alert Notification Control Point value.

Definition at line 77 of file ans.h.

## ◆ ANS_CONNECTION_MAX

#define ANS_CONNECTION_MAX 10

Maximum number of Alert Notification Service connections.

Definition at line 70 of file ans.h.

## ◆ ANS_ERROR_CMD_NOT_SUP

#define ANS_ERROR_CMD_NOT_SUP 0xa0

Command not supported.

Definition at line 71 of file ans.h.

## ◆ ANS_NEWS_ALERT_VAL_LEN

#define ANS_NEWS_ALERT_VAL_LEN (ANS_UTF_8_STR_LEN_MAX + 2)

Length of New Alert value.

Definition at line 74 of file ans.h.

## ◆ ANS_SUP_NEW_ALERT_CAT_VAL_LEN

#define ANS_SUP_NEW_ALERT_CAT_VAL_LEN 2

Length of Supported New Alert Category value.

Definition at line 73 of file ans.h.

## ◆ ANS_SUP_UNREAD_ALERT_CAT_VAL_LEN

#define ANS_SUP_UNREAD_ALERT_CAT_VAL_LEN 2

Length of Supported Unread Alert Category value.

Definition at line 75 of file ans.h.

## ◆ ANS_UNREAD_ALERT_STA_VAL_LEN

#define ANS_UNREAD_ALERT_STA_VAL_LEN 2

Length of Unread Alert Status value.

Definition at line 76 of file ans.h.

## ◆ ANS_UTF_8_STR_LEN_MAX

#define ANS_UTF_8_STR_LEN_MAX 18

Maximum length of “UTF-8 string”.

Definition at line 72 of file ans.h.