Nordic stack and drivers for the mbed BLE API. Version to work around build bug.

Dependents:   microbit_rubber_ducky microbit_mouse_BLE microbit_mouse_BLE_daybreak_version microbit_presenter

Fork of nRF51822 by Nordic Semiconductor

Revision:
543:53215259c0d2
Parent:
542:1bf9c597f44f
Child:
544:9e3d053ad4ec
diff -r 1bf9c597f44f -r 53215259c0d2 source/nRF5xCharacteristicDescriptorDiscoverer.h
--- a/source/nRF5xCharacteristicDescriptorDiscoverer.h	Mon Jan 11 10:19:02 2016 +0000
+++ b/source/nRF5xCharacteristicDescriptorDiscoverer.h	Mon Jan 11 10:19:03 2016 +0000
@@ -73,7 +73,7 @@
     /**
      * @brief Called by the nordic stack when the discovery is over.
      */
-    void terminate(uint16_t handle);
+    void terminate(uint16_t handle, ble_error_t err);
 
 private:
     nRF5xCharacteristicDescriptorDiscoverer(const nRF5xCharacteristicDescriptorDiscoverer&);
@@ -105,9 +105,10 @@
             onDiscovery.call(&params);
         }
 
-        void terminate() { 
+        void terminate(ble_error_t err) { 
             CharacteristicDescriptorDiscovery::TerminationCallbackParams_t params = {
-                characteristic
+                characteristic,
+                err
             };
             onTerminate.call(&params);
         }
@@ -125,6 +126,8 @@
     void removeDiscovery(Discovery* discovery);
     Discovery* getAvailableDiscoverySlot(); 
     bool isConnectionInUse(uint16_t connHandle);
+    static ble_error_t gattc_descriptors_discover(uint16_t connection_handle, uint16_t start_handle, uint16_t end_handle); 
+
 
     size_t maximumConcurrentConnectionsCount;
     Discovery *discoveryRunning;