nRF51 SDK
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
ble_ans_c_s Struct Reference

Data Fields

ble_ans_c_evt_handler_t evt_handler
 
ble_srv_error_handler_t error_handler
 
uint16_t conn_handle
 
int8_t master_handle
 
uint8_t service_handle
 
uint32_t message_buffer_size
 
uint8_t * p_message_buffer
 

Field Documentation

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).

int8_t master_handle

Handle for the currently connected master if we have a bond in the bond manager.

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.