From 3af7cbd648d0698f136da9d46224f9096e8f0898 Mon Sep 17 00:00:00 2001 From: Paolo Calao Date: Thu, 19 Nov 2020 11:41:11 +0100 Subject: [PATCH] Cordio: remove call to reset sequence 'NRFCordioHCIDriver::start_reset_sequence()' exploits the ble HOST stack of cordio and is used to send a reset command to the controller. ArduinoBLE doesn't use the cordio host stack and already sends a reset command during the initialization of the library. --- src/utility/HCICordioTransport.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/utility/HCICordioTransport.cpp b/src/utility/HCICordioTransport.cpp index ab92818b..e380051e 100644 --- a/src/utility/HCICordioTransport.cpp +++ b/src/utility/HCICordioTransport.cpp @@ -211,7 +211,6 @@ int HCICordioTransportClass::begin() } #else CordioHCIHook::getDriver().initialize(); - CordioHCIHook::getDriver().start_reset_sequence(); #endif if (bleLoopThread == NULL) {