Public Attributes | List of all members
ans_c_evt_t Struct Reference
BLE Services » Alert Notification Service Client (ANS_C) » Structures

Alert Notification Service Client event. More...

`#include <ans_c.h>`

Collaboration diagram for ans_c_evt_t:
[legend]

## Public Attributes
uint8_t | conn_idx
| The index of the connection. More...
ans_c_evt_type_t | evt_type
| The ANS event type. More...
union {
uint16_t sup_new_alert_cat_ids
| Alert status received. More...
uint16_t sup_unread_alert_cat_ids
| Ringer setting received. More...
ans_c_new_alert_t new_alert
| New Alert value. More...
ans_c_unread_alert_t unread_alert
| Unread Alert Status value. More...
} | value
| Value received. More...

## Detailed Description

Alert Notification Service Client event.

Definition at line 185 of file ans_c.h.

## Member Data Documentation

## ◆ conn_idx

uint8_t ans_c_evt_t::conn_idx

The index of the connection.

Definition at line 187 of file ans_c.h.

## ◆ evt_type

ans_c_evt_type_t ans_c_evt_t::evt_type

The ANS event type.

Definition at line 188 of file ans_c.h.

## ◆ new_alert

ans_c_new_alert_t ans_c_evt_t::new_alert

New Alert value.

Definition at line 193 of file ans_c.h.

## ◆ sup_new_alert_cat_ids

uint16_t ans_c_evt_t::sup_new_alert_cat_ids

Alert status received.

Definition at line 191 of file ans_c.h.

## ◆ sup_unread_alert_cat_ids

uint16_t ans_c_evt_t::sup_unread_alert_cat_ids

Ringer setting received.

Definition at line 192 of file ans_c.h.

## ◆ unread_alert

ans_c_unread_alert_t ans_c_evt_t::unread_alert

Unread Alert Status value.

Definition at line 194 of file ans_c.h.

## ◆ value

union { ... } ans_c_evt_t::value

Value received.

The documentation for this struct was generated from the following file:

- ans_c.h