ble_ans_c_s

nRF5 SDK v16.0.0

Alert Notification structure. Contains various status information for the client. More...

#include <ble_ans_c.h>

Detailed Description

Alert Notification structure. Contains various status information for the client.

Field Documentation

uint8_t ble_ans_c_s::central_handle

Handle for the currently connected central, if peer is bonded.

uint16_t ble_ans_c_s::conn_handle

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

ble_srv_error_handler_t ble_ans_c_s::error_handler

Function to be called in case of an error.

ble_ans_c_evt_handler_t ble_ans_c_s::evt_handler

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

uint32_t ble_ans_c_s::message_buffer_size

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

nrf_ble_gq_t * ble_ans_c_s::p_gatt_queue

Pointer to the BLE GATT Queue instance.

uint8_t* ble_ans_c_s::p_message_buffer

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

ble_ans_c_service_t ble_ans_c_s::service

Struct to store different handles and UUIDs related to the service.

uint8_t ble_ans_c_s::service_handle

Handle for the service in the database to be used for this instance.

  • components/ble/ble_services/ble_ans_c/ble_ans_c.h