From dbf4a8da49f948a6b5d8f82363bdab53388c691c Mon Sep 17 00:00:00 2001 From: Vincent Coubard Date: Thu, 1 Mar 2018 10:22:42 +0000 Subject: [PATCH] BLE: Implement CordioSM get_secure_connection_support. --- .../targets/TARGET_CORDIO/source/CordioPalSecurityManager.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/features/FEATURE_BLE/targets/TARGET_CORDIO/source/CordioPalSecurityManager.cpp b/features/FEATURE_BLE/targets/TARGET_CORDIO/source/CordioPalSecurityManager.cpp index a21333a95d..1f4cfad69f 100644 --- a/features/FEATURE_BLE/targets/TARGET_CORDIO/source/CordioPalSecurityManager.cpp +++ b/features/FEATURE_BLE/targets/TARGET_CORDIO/source/CordioPalSecurityManager.cpp @@ -99,7 +99,9 @@ ble_error_t CordioSecurityManager::set_secure_connections_support( ble_error_t CordioSecurityManager::get_secure_connections_support( bool &enabled ) { - return BLE_ERROR_NOT_IMPLEMENTED; + // FIXME: should depend of the controller + enabled = false; + return BLE_ERROR_NONE; } ////////////////////////////////////////////////////////////////////////////