Macros
Category ID Bit Masks
BLE Services » Alert Notification Service (ANS) » Defines

Category ID Bit Masks. More...

Collaboration diagram for Category ID Bit Masks:

## Macros
#define | ANS_SMPL_ALERT_SUP (0x01 << 0)
| Bit for Simple Alert Supported. More...
#define | ANS_EMAIL_SUP (0x01 << 1)
| Bit for Email Supported. More...
#define | ANS_NEWS_SUP (0x01 << 2)
| Bit for News Supported. More...
#define | ANS_CALL_SUP (0x01 << 3)
| Bit for Call Supported. More...
#define | ANS_MISSED_CALL_SUP (0x01 << 4)
| Bit for Missed Call Supported. More...
#define | ANS_SMS_MMS_SUP (0x01 << 5)
| Bit for SMS/MMS Supported. More...
#define | ANS_VOICE_MAIL_SUP (0x01 << 6)
| Bit for Voice Mail Supported. More...
#define | ANS_SCHEDULE_SUP (0x01 << 7)
| Bit for Schedule Supported. More...
#define | ANS_HG_PRIO_ALERT_SUP (0x01 << 8)
| Bit for High Prioritized Alert Supported. More...
#define | ANS_INSTANT_MES (0x01 << 9)
| Bit for Instant Message Supported. More...
#define | ANS_ALL_CAT_SUP (0x03ff)
| Bit for All Category Supported. More...

## Detailed Description

Category ID Bit Masks.

## Macro Definition Documentation

## ◆ ANS_ALL_CAT_SUP

#define ANS_ALL_CAT_SUP (0x03ff)

Bit for All Category Supported.

Definition at line 94 of file ans.h.

## ◆ ANS_CALL_SUP

#define ANS_CALL_SUP (0x01 << 3)

Bit for Call Supported.

Definition at line 87 of file ans.h.

## ◆ ANS_EMAIL_SUP

#define ANS_EMAIL_SUP (0x01 << 1)

Bit for Email Supported.

Definition at line 85 of file ans.h.

## ◆ ANS_HG_PRIO_ALERT_SUP

#define ANS_HG_PRIO_ALERT_SUP (0x01 << 8)

Bit for High Prioritized Alert Supported.

Definition at line 92 of file ans.h.

## ◆ ANS_INSTANT_MES

#define ANS_INSTANT_MES (0x01 << 9)

Bit for Instant Message Supported.

Definition at line 93 of file ans.h.

## ◆ ANS_MISSED_CALL_SUP

#define ANS_MISSED_CALL_SUP (0x01 << 4)

Bit for Missed Call Supported.

Definition at line 88 of file ans.h.

## ◆ ANS_NEWS_SUP

#define ANS_NEWS_SUP (0x01 << 2)

Bit for News Supported.

Definition at line 86 of file ans.h.

## ◆ ANS_SCHEDULE_SUP

#define ANS_SCHEDULE_SUP (0x01 << 7)

Bit for Schedule Supported.

Definition at line 91 of file ans.h.

## ◆ ANS_SMPL_ALERT_SUP

#define ANS_SMPL_ALERT_SUP (0x01 << 0)

Bit for Simple Alert Supported.

Definition at line 84 of file ans.h.

## ◆ ANS_SMS_MMS_SUP

#define ANS_SMS_MMS_SUP (0x01 << 5)

Bit for SMS/MMS Supported.

Definition at line 89 of file ans.h.

## ◆ ANS_VOICE_MAIL_SUP

#define ANS_VOICE_MAIL_SUP (0x01 << 6)

Bit for Voice Mail Supported.

Definition at line 90 of file ans.h.