Shuta Nakamae / nRF51822

Fork of nRF51822 by Nordic Semiconductor

Revision:
209:d24159a1dad5
Parent:
208:12b6b06ffcd6
Child:
210:e7749aec4203
diff -r 12b6b06ffcd6 -r d24159a1dad5 btle/btle_gattc.cpp
--- 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
@@ -50,9 +50,10 @@
                                                              *  This is intended for internal use during service discovery. */
 
     uint16_t connHandle;  /**< Connection handle as provided by the SoftDevice. */
+    uint8_t  currSrvInd;  /**< Index of the current service being discovered. This is intended for internal use during service discovery.*/
     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.*/
+    uint8_t  charCount;    /**< Number of characteristics within the service.*/
 
     bool     serviceDiscoveryInProgress;
     bool     characteristicDiscoveryInProgress;