diff --git a/features/FEATURE_BLE/ble/pal/SecurityDb.h b/features/FEATURE_BLE/ble/pal/SecurityDb.h index 653ec57dec..7c6e77637e 100644 --- a/features/FEATURE_BLE/ble/pal/SecurityDb.h +++ b/features/FEATURE_BLE/ble/pal/SecurityDb.h @@ -105,6 +105,8 @@ public: SecurityEntryKeysDbCb_t; typedef mbed::Callback SecurityEntryCsrkDbCb_t; + typedef mbed::Callback + SecurityEntryIdentityDbCb_t; typedef mbed::Callback WhitelistDbCb_t; @@ -261,6 +263,17 @@ public: const address_t &peer_address ) = 0; + /** + * Retrieve stored identity address and IRK. + * + * @param[in] cb callback that will receive the SecurityEntryIdentity_t struct + * @param[in] db_entry handle of the entry being queried. + */ + virtual void get_entry_identity( + SecurityEntryIdentityDbCb_t cb, + entry_handle_t db_entry + ) = 0; + /** * Update peer signing key. *