Structure for holding the information related to the GATT database at the server. More...
#include <ble_db_discovery.h>
Data Fields | |
ble_gatt_db_srv_t | services [6] |
uint8_t | srv_count |
uint8_t | curr_char_ind |
uint8_t | curr_srv_ind |
bool | discovery_in_progress |
bool | discovery_pending |
uint8_t | discoveries_count |
uint16_t | conn_handle |
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.
uint16_t ble_db_discovery_t::conn_handle |
Connection handle on which the discovery is started
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.
bool ble_db_discovery_t::discovery_pending |
Discovery was requested, but could not start because the SoftDevice was busy.
ble_gatt_db_srv_t ble_db_discovery_t::services[6] |
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.