From 5abf2f08fa1fcac96a8c169c92c8808552e2f4e5 Mon Sep 17 00:00:00 2001 From: Vincent Coubard Date: Mon, 3 Dec 2018 17:04:38 +0000 Subject: [PATCH] BLE: Reintroduce refactored type identifier in privacy configuration structures. --- features/FEATURE_BLE/ble/gap/Types.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/features/FEATURE_BLE/ble/gap/Types.h b/features/FEATURE_BLE/ble/gap/Types.h index 59f07ba91b..1eab24978a 100644 --- a/features/FEATURE_BLE/ble/gap/Types.h +++ b/features/FEATURE_BLE/ble/gap/Types.h @@ -891,6 +891,9 @@ struct peripheral_privacy_configuration_t { PERFORM_AUTHENTICATION_PROCEDURE }; + MBED_DEPRECATED_SINCE("mbed-os-5.11", "Use resolution_strategy_t instead.") + typedef resolution_strategy_t ResolutionStrategy; + /** * Connection strategy to use when a connection request contains a * private resolvable address. @@ -941,6 +944,9 @@ struct central_privay_configuration_t { RESOLVE_AND_FILTER }; + MBED_DEPRECATED_SINCE("mbed-os-5.11", "Use resolution_strategy_t instead.") + typedef resolution_strategy_t ResolutionStrategy; + /** * Resolution strategy applied to advertising packets received by the * local device.