Shuta Nakamae / nRF51822

Fork of nRF51822 by Nordic Semiconductor

Revision:
206:d8c5b97557f2
Parent:
205:7b1c55e70f45
Child:
207:d70392d1af99
--- a/btle/btle_gattc.cpp	Fri Jun 19 15:55:17 2015 +0100
+++ b/btle/btle_gattc.cpp	Fri Jun 19 15:55:17 2015 +0100
@@ -48,14 +48,16 @@
 };
 
 struct ble_db_discovery_t {
-    DiscoveredService services[BLE_DB_DISCOVERY_MAX_SRV];  /**< Information related to the current service being discovered. This is intended for internal use during service discovery.*/
-    uint16_t               connHandle;  /**< Connection handle as provided by the SoftDevice. */
-    uint8_t                srvCount;    /**< Number of services at the peers GATT database.*/
-    uint8_t                currCharInd; /**< Index of the current characteristic being discovered. This is intended for internal use during service discovery.*/
-    uint8_t                currSrvInd;  /**< Index of the current service being discovered. This is intended for internal use during service discovery.*/
+    DiscoveredService services[BLE_DB_DISCOVERY_MAX_SRV];  /**< Information related to the current service being discovered.
+                                                             *  This is intended for internal use during service discovery. */
 
-    bool                   serviceDiscoveryInProgress;
-    bool                   characteristicDiscoveryInProgress;
+    uint16_t connHandle;  /**< Connection handle as provided by the SoftDevice. */
+    uint8_t  srvCount;    /**< Number of services at the peers GATT database.*/
+    uint8_t  currCharInd; /**< Index of the current characteristic being discovered. This is intended for internal use during service discovery.*/
+    uint8_t  currSrvInd;  /**< Index of the current service being discovered. This is intended for internal use during service discovery.*/
+
+    bool     serviceDiscoveryInProgress;
+    bool     characteristicDiscoveryInProgress;
 };
 
 static ble_db_discovery_t  discoveryStatus;