Wallbot_CaaS
Dependencies: MPU6050 mbed PID
Fork of BLE_MPU6050_test6_challenge_sb by
ble_db_discovery_t Struct Reference
[Structures]
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 [BLE_DB_DISCOVERY_MAX_SRV] |
Information related to the current service being discovered. | |
uint16_t | conn_handle |
Connection handle as provided by the SoftDevice. | |
uint8_t | srv_count |
Number of services at the peers GATT database. | |
uint8_t | curr_char_ind |
Index of the current characteristic being discovered. | |
uint8_t | curr_srv_ind |
Index of the current service being discovered. | |
bool | discovery_in_progress |
Variable to indicate if there is a service discovery in progress. |
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.
Definition at line 109 of file ble_db_discovery.h.
Field Documentation
uint16_t conn_handle |
Connection handle as provided by the SoftDevice.
Definition at line 112 of file ble_db_discovery.h.
uint8_t curr_char_ind |
Index of the current characteristic being discovered.
This is intended for internal use during service discovery.
Definition at line 114 of file ble_db_discovery.h.
uint8_t curr_srv_ind |
Index of the current service being discovered.
This is intended for internal use during service discovery.
Definition at line 115 of file ble_db_discovery.h.
Variable to indicate if there is a service discovery in progress.
Definition at line 116 of file ble_db_discovery.h.
ble_db_discovery_srv_t services[BLE_DB_DISCOVERY_MAX_SRV] |
Information related to the current service being discovered.
This is intended for internal use during service discovery.
Definition at line 111 of file ble_db_discovery.h.
uint8_t srv_count |
Number of services at the peers GATT database.
Definition at line 113 of file ble_db_discovery.h.
Generated on Tue Jul 12 2022 18:33:11 by 1.7.2