nRF5 SDK v16.0.0
Data Fields
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_gatt_db_srv_t   discovered_db
 
   void const *   p_db_instance
 
   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_gatt_db_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. The UUID field of this will be filled when the event type is BLE_DB_DISCOVERY_SRV_NOT_FOUND.

uint32_t ble_db_discovery_evt_t::err_code

nRF Error code indicating the type of error which 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.

void const* ble_db_discovery_evt_t::p_db_instance

Pointer to DB discovery instance ble_db_discovery_t, indicating availability to the new discovery process. This will be filled when the event type is BLE_DB_DISCOVERY_AVAILABLE.


The documentation for this struct was generated from the following file:

Documentation feedback | Developer Zone | Subscribe | Updated