Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of nRF51822 by
Diff: btle/btle_gattc.cpp
- Revision:
- 201:a13ada00eac7
- Parent:
- 200:be560f1834c0
- Child:
- 202:3ce954ce3eb8
diff -r be560f1834c0 -r a13ada00eac7 btle/btle_gattc.cpp
--- a/btle/btle_gattc.cpp Fri Jun 19 15:55:16 2015 +0100
+++ b/btle/btle_gattc.cpp Fri Jun 19 15:55:16 2015 +0100
@@ -27,12 +27,6 @@
* the discovery process.
*/
struct DiscoveredService {
- ShortUUIDBytes_t uuid; /**< UUID of the service. */
- // uint8_t char_count; /**< Number of characteristics present in the service. */
- // ble_db_discovery_char_t charateristics[BLE_DB_DISCOVERY_MAX_CHAR_PER_SRV]; /**< Array of information related to the characteristics present in the service. */
- Gap::Handle_t startHandle; /**< Service Handle Range. */
- Gap::Handle_t endHandle; /**< Service Handle Range. */
-
DiscoveredService() {
/* empty */
}
@@ -45,6 +39,12 @@
startHandle = start;
endHandle = end;
}
+
+ ShortUUIDBytes_t uuid; /**< UUID of the service. */
+ // uint8_t char_count; /**< Number of characteristics present in the service. */
+ // ble_db_discovery_char_t charateristics[BLE_DB_DISCOVERY_MAX_CHAR_PER_SRV]; /**< Array of information related to the characteristics present in the service. */
+ Gap::Handle_t startHandle; /**< Service Handle Range. */
+ Gap::Handle_t endHandle; /**< Service Handle Range. */
};
struct ble_db_discovery_t {
