From 74bc21496199efa02a1598bfd52a60e4725ffb99 Mon Sep 17 00:00:00 2001 From: Vincent Coubard Date: Tue, 1 May 2018 11:27:38 +0100 Subject: [PATCH] BLE - Security Manager PAL: Add a function to remove the peer csrk. If the the upper layer has registered a peer csrk on the pal security manager then it must remove it once the connection is closed. This API allows the upper layer to remove the peer csrk registered earlier. --- features/FEATURE_BLE/ble/pal/PalSecurityManager.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/features/FEATURE_BLE/ble/pal/PalSecurityManager.h b/features/FEATURE_BLE/ble/pal/PalSecurityManager.h index 4f100a0588..23a9badabb 100644 --- a/features/FEATURE_BLE/ble/pal/PalSecurityManager.h +++ b/features/FEATURE_BLE/ble/pal/PalSecurityManager.h @@ -883,6 +883,8 @@ public: sign_count_t sign_counter ) = 0; + virtual ble_error_t remove_peer_csrk(connection_handle_t connection) = 0; + //////////////////////////////////////////////////////////////////////////// // Authentication //