ble_db_discovery_evt_t

nRF5 SDK v12.2.0

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

#include <ble_db_discovery.h>

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 .

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.

  • components/ble/ble_db_discovery/ble_db_discovery.h