ble_db_discovery_t

nRF5 SDK v10.0.0

nRF51 SDK v10.0.0

Structure for holding the information related to the GATT database at the server. More...

#include <ble_db_discovery.h>

Detailed Description

Structure for holding the information related to the GATT database at the server.

This module identifies a remote database. Use one instance of this structure per connection.

Warning
This structure must be zero-initialized.

Field Documentation

uint16_t ble_db_discovery_t::conn_handle

Connection handle as provided by the SoftDevice.

uint8_t ble_db_discovery_t::curr_char_ind

Index of the current characteristic being discovered. This is intended for internal use during service discovery.

uint8_t ble_db_discovery_t::curr_srv_ind

Index of the current service being discovered. This is intended for internal use during service discovery.

uint8_t ble_db_discovery_t::discoveries_count

Number of service discoveries made, both successful and unsuccessful.

bool ble_db_discovery_t::discovery_in_progress

Variable to indicate if there is a service discovery in progress.

ble_gatt_db_srv_t ble_db_discovery_t::services[2]

Information related to the current service being discovered. This is intended for internal use during service discovery.

uint8_t ble_db_discovery_t::srv_count

Number of services at the peers GATT database.


Please send us your feedback about the documentation! For technical questions, visit the Nordic Developer Zone .