Data Fields
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>`

## Data Fields
uint8_t | conn_idx
ans_c_evt_type_t | evt_type
union {
uint16_t sup_new_alert_cat_ids
uint16_t sup_unread_alert_cat_ids
ans_c_new_alert_t new_alert
ans_c_unread_alert_t unread_alert
} | value

## Detailed Description

Alert Notification Service Client event.

## Field Documentation

## ◆ conn_idx

uint8_t ans_c_evt_t::conn_idx

The index of the connection.

## ◆ evt_type

ans_c_evt_type_t ans_c_evt_t::evt_type

The ANS event type.

## ◆ new_alert

ans_c_new_alert_t ans_c_evt_t::new_alert

New Alert value.

## ◆ sup_new_alert_cat_ids

uint16_t ans_c_evt_t::sup_new_alert_cat_ids

Alert status received.

## ◆ sup_unread_alert_cat_ids

uint16_t ans_c_evt_t::sup_unread_alert_cat_ids

Ringer setting received.

## ◆ unread_alert

ans_c_unread_alert_t ans_c_evt_t::unread_alert

Unread Alert Status value.

## ◆ value

union { ... } ans_c_evt_t::value

Value received.

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

- ans_c.h