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

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

## Macros
#define | ANS_CONNECTION_MAX
#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.

## ◆ ANS_CONNECTION_MAX

#define ANS_CONNECTION_MAX

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

Maximum number of Alert Notification Service connections.

## ◆ ANS_ERROR_CMD_NOT_SUP

#define ANS_ERROR_CMD_NOT_SUP 0xa0

Command not supported.

## ◆ ANS_NEWS_ALERT_VAL_LEN

#define ANS_NEWS_ALERT_VAL_LEN (ANS_UTF_8_STR_LEN_MAX + 2)

Length of New Alert value.

## ◆ ANS_SUP_NEW_ALERT_CAT_VAL_LEN

#define ANS_SUP_NEW_ALERT_CAT_VAL_LEN 2

Length of Supported New Alert Category value.

## ◆ ANS_SUP_UNREAD_ALERT_CAT_VAL_LEN

#define ANS_SUP_UNREAD_ALERT_CAT_VAL_LEN 2

Length of Supported Unread Alert Category value.

## ◆ ANS_UNREAD_ALERT_STA_VAL_LEN

#define ANS_UNREAD_ALERT_STA_VAL_LEN 2

Length of Unread Alert Status value.

## ◆ ANS_UTF_8_STR_LEN_MAX

#define ANS_UTF_8_STR_LEN_MAX 18

Maximum length of “UTF-8 string”.