nRF51 SDK: ble_ans_c_init_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_c_init_t Struct Reference
Alert Notification Service Client

Alert Notification init structure. This contains all options and data needed for initialization of the client. More...

`#include <ble_ans_c.h>`

## Data Fields

ble_ans_c_evt_handler_t | evt_handler
ble_srv_error_handler_t | error_handler
uint32_t | message_buffer_size
uint8_t * | p_message_buffer

## Detailed Description

Alert Notification init structure. This contains all options and data needed for initialization of the client.

## Field Documentation

ble_srv_error_handler_t ble_ans_c_init_t::error_handler

Function to be called in case of an error.

ble_ans_c_evt_handler_t ble_ans_c_init_t::evt_handler

Event handler to be called for handling events in the Battery Service.

uint32_t ble_ans_c_init_t::message_buffer_size

Size of buffer to handle messages.

uint8_t* ble_ans_c_init_t::p_message_buffer

Pointer to buffer for passing messages.