nRF51 SDK - S120 SoftDevice
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
ble_db_discovery_evt_t Struct Reference

Structure containing the event from the DB discovery module to the application. More...

#include <ble_db_discovery.h>

Data Fields

ble_db_discovery_evt_type_t evt_type
 
uint16_t conn_handle
 
union {
   ble_db_discovery_srv_t   discovered_db
 
   uint32_t   err_code
 
params
 

Detailed Description

Structure containing the event from the DB discovery module to the application.

Field Documentation

uint16_t ble_db_discovery_evt_t::conn_handle

Handle of the connection for which this event has occurred.

ble_db_discovery_srv_t ble_db_discovery_evt_t::discovered_db

Structure containing the information about the GATT Database at the server. This will be filled when the event type is BLE_DB_DISCOVERY_COMPLETE.

uint32_t ble_db_discovery_evt_t::err_code

nRF Error code indicating the type of error occurred in the DB Discovery module. This will be filled when the event type is BLE_DB_DISCOVERY_ERROR.

ble_db_discovery_evt_type_t ble_db_discovery_evt_t::evt_type

Type of event.