Nordic stack and drivers for the mbed BLE API

Dependents:   BLE_ANCS_SDAPI BLE_temperature BLE_HeartRate writable_gatt ... more

Revision:
620:98998cc3789b
Parent:
618:6eb60aaf0724
Child:
621:1d79da5c393e
--- a/source/btle/btle.cpp	Fri Apr 08 11:05:52 2016 +0100
+++ b/source/btle/btle.cpp	Fri Apr 08 11:05:53 2016 +0100
@@ -189,10 +189,12 @@
                     break;
             }
 
+#if !defined(TARGET_MCU_NRF51_16K_S110) && !defined(TARGET_MCU_NRF51_32K_S110)
             // Close all pending discoveries for this connection
             nRF5xGattClient& gattClient = ble.getGattClient();
             gattClient.characteristicDescriptorDiscoverer().terminate(handle, BLE_ERROR_INVALID_STATE);
             gattClient.discovery().terminate(handle);
+#endif
 
             gap.processDisconnectionEvent(handle, reason);
             break;