From e8041510a63ac1d217d79f5978c00d6c1a8acb83 Mon Sep 17 00:00:00 2001 From: Vincent Coubard Date: Tue, 17 Apr 2018 14:07:19 +0100 Subject: [PATCH] BLE: Add a flag that indicate if the identity address is public or not. --- features/FEATURE_BLE/ble/pal/SecurityDb.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/features/FEATURE_BLE/ble/pal/SecurityDb.h b/features/FEATURE_BLE/ble/pal/SecurityDb.h index 023fd0bcac..653ec57dec 100644 --- a/features/FEATURE_BLE/ble/pal/SecurityDb.h +++ b/features/FEATURE_BLE/ble/pal/SecurityDb.h @@ -81,6 +81,8 @@ struct SecurityEntryIdentity_t { address_t identity_address; /** Identity Resolving Key */ irk_t irk; + /** true if peer identity address is public, false if it's static random */ + uint8_t identity_address_is_public:1; }; /**