nRF51 SDK: ble_ans_alert_notification_t Struct Reference

| nRF51 SDK

- Home
- Related Pages
- API Reference
- Data Structures

- Data Structures
- Data Structure Index
- Data Fields

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.