nRF51 SDK - S120 SoftDevice
|
Structure for holding the information related to the GATT database at the server. More...
#include <ble_db_discovery.h>
Data Fields | |
ble_db_discovery_srv_t | services [2] |
uint16_t | conn_handle |
uint8_t | srv_count |
uint8_t | curr_char_ind |
uint8_t | curr_srv_ind |
bool | discovery_in_progress |
Structure for holding the information related to the GATT database at the server.
This structure will be used to identify an instance of this module. For example, there can be one instance of this module per connection. If there are multiple connections, that would mean that there are multiple instances of this structure each containing the information about the GATT Database at the server in that connection.
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.
bool ble_db_discovery_t::discovery_in_progress |
Variable to indicate if there is a service discovery in progress.
ble_db_discovery_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.