Shuta Nakamae / nRF51822

Fork of nRF51822 by Nordic Semiconductor

Revision:
216:3443c78324b6
Parent:
215:36f6796651ab
Child:
217:c57cbfdfb5ca
--- a/btle/btle_gattc.cpp	Fri Jun 19 15:55:18 2015 +0100
+++ b/btle/btle_gattc.cpp	Fri Jun 19 15:55:18 2015 +0100
@@ -101,8 +101,9 @@
         serviceDiscoveryInProgress        = false;
     }
 
-    DiscoveredService services[BLE_DB_DISCOVERY_MAX_SRV];  /**< Information related to 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. */
+    DiscoveredCharacteristic characteristics[BLE_DB_DISCOVERY_MAX_CHAR_PER_SRV];
 
     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.*/