SG RFID nRF51822 fork

Fork of nRF51822 by Nordic Semiconductor

Embed: (wiki syntax)

« Back to documentation index

ble_ans_c_s Struct Reference

ble_ans_c_s Struct Reference
[Alert Notification Service Client]

Alert Notification structure. More...

#include <ble_ans_c.h>

Data Fields

ble_ans_c_evt_handler_t evt_handler
 Event handler to be called for handling events in the Alert Notification Client Application.
ble_srv_error_handler_t error_handler
 Function to be called in case of an error.
uint16_t conn_handle
 Handle of the current connection (as provided by the BLE stack, is BLE_CONN_HANDLE_INVALID if not in a connection).
uint8_t central_handle
 Handle for the currently connected central if peer is bonded.
uint8_t service_handle
 Handle to the service in the database to use for this instance.
uint32_t message_buffer_size
 Size of message buffer to hold the additional text messages received on notifications.
uint8_t * p_message_buffer
 Pointer to the buffer to be used for additional text message handling.

Detailed Description

Alert Notification structure.

This contains various status information for the client.

Definition at line 149 of file ble_ans_c.h.


Field Documentation

uint8_t central_handle

Handle for the currently connected central if peer is bonded.

Definition at line 154 of file ble_ans_c.h.

uint16_t conn_handle

Handle of the current connection (as provided by the BLE stack, is BLE_CONN_HANDLE_INVALID if not in a connection).

Definition at line 153 of file ble_ans_c.h.

Function to be called in case of an error.

Definition at line 152 of file ble_ans_c.h.

Event handler to be called for handling events in the Alert Notification Client Application.

Definition at line 151 of file ble_ans_c.h.

Size of message buffer to hold the additional text messages received on notifications.

Definition at line 156 of file ble_ans_c.h.

uint8_t* p_message_buffer

Pointer to the buffer to be used for additional text message handling.

Definition at line 157 of file ble_ans_c.h.

uint8_t service_handle

Handle to the service in the database to use for this instance.

Definition at line 155 of file ble_ans_c.h.