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
Diff: source/btle/btle.cpp
- Revision:
- 616:b52326e38ebd
- Parent:
- 592:f9574772b816
diff -r 1751e2e2637a -r b52326e38ebd source/btle/btle.cpp --- a/source/btle/btle.cpp Tue Jan 12 19:58:03 2016 +0000 +++ b/source/btle/btle.cpp Wed Aug 31 18:59:36 2016 +0000 @@ -190,9 +190,11 @@ } // Close all pending discoveries for this connection +#if !defined(TARGET_MCU_NRF51_16K_S110) && !defined(TARGET_MCU_NRF51_32K_S110) nRF5xGattClient& gattClient = ble.getGattClient(); gattClient.characteristicDescriptorDiscoverer().terminate(handle, BLE_ERROR_INVALID_STATE); gattClient.discovery().terminate(handle); +#endif gap.processDisconnectionEvent(handle, reason); break;