| nRF5 SDK v12.0.0 |

Choose documentation: | nRF5 SDK | S130 SoftDevice API | S132 SoftDevice API | S212 SoftDevice API | S332 SoftDevice API

All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
Data Fields
ble_ans_alert_notification_t Struct Reference
Alert Notification Service Client

Alert Notification structure. More...

`#include <ble_ans_c.h>`

## Data Fields
uint8_t | alert_category
uint8_t | alert_category_count
uint32_t | alert_msg_length
uint8_t * | p_alert_msg_buf

## Detailed Description

Alert Notification structure.

## Field Documentation

uint8_t ble_ans_alert_notification_t::alert_category

Alert category to which this alert belongs.

uint8_t ble_ans_alert_notification_t::alert_category_count

Number of alerts in the category.

uint32_t ble_ans_alert_notification_t::alert_msg_length

Length of optional text message send by the server.

uint8_t* ble_ans_alert_notification_t::p_alert_msg_buf

Pointer to buffer containing the optional text message.