From 2b94b66fd24d68297220cfa4e196ab2d0fcd7f1e Mon Sep 17 00:00:00 2001 From: paul-szczepanek-arm <33840200+paul-szczepanek-arm@users.noreply.github.com> Date: Mon, 26 Nov 2018 15:41:32 +0000 Subject: [PATCH] deprecate services that are not useless --- .../ble/services/URIBeaconConfigService.h | 21 ++++++++++++++----- features/FEATURE_BLE/ble/services/iBeacon.h | 12 +++++++++++ 2 files changed, 28 insertions(+), 5 deletions(-) diff --git a/features/FEATURE_BLE/ble/services/URIBeaconConfigService.h b/features/FEATURE_BLE/ble/services/URIBeaconConfigService.h index 9eb95bd40c..56b0ce2920 100644 --- a/features/FEATURE_BLE/ble/services/URIBeaconConfigService.h +++ b/features/FEATURE_BLE/ble/services/URIBeaconConfigService.h @@ -39,11 +39,16 @@ extern const uint8_t UUID_RESET_CHAR[UUID::LENGTH_OF_LONG_UUID]; extern const uint8_t BEACON_UUID[sizeof(UUID::ShortUUIDBytes_t)]; /** -* @class URIBeaconConfigService -* @brief UriBeacon Configuration Service. Can be used to set URL, adjust power levels, and set flags. -* See http://uribeacon.org -* -*/ + * @class URIBeaconConfigService + * @brief UriBeacon Configuration Service. Can be used to set URL, adjust power levels, and set flags. + * See http://uribeacon.org + * + * @deprecated This service is deprecated and no replacement is currently available. + */ +MBED_DEPRECATED_SINCE( + "mbed-os-5.11", + "This service is deprecated and no replacement is currently available." +) class URIBeaconConfigService { public: /** @@ -89,7 +94,13 @@ class URIBeaconConfigService { * Default un-encoded URI. Applies only if the resetToDefaultsFlag is true. * @param[in] defaultAdvPowerLevelsIn * Default power-levels array. Applies only if the resetToDefaultsFlag is true. + * + * @deprecated This service is deprecated and no replacement is currently available. */ + MBED_DEPRECATED_SINCE( + "mbed-os-5.11", + "This service is deprecated and no replacement is currently available." + ) URIBeaconConfigService(BLE &bleIn, Params_t ¶msIn, bool resetToDefaultsFlag, diff --git a/features/FEATURE_BLE/ble/services/iBeacon.h b/features/FEATURE_BLE/ble/services/iBeacon.h index f75e460381..ba5b1b2560 100644 --- a/features/FEATURE_BLE/ble/services/iBeacon.h +++ b/features/FEATURE_BLE/ble/services/iBeacon.h @@ -81,7 +81,13 @@ * The licence also grant access to the iBeacons technical specification. * * @note More information at https://developer.apple.com/ibeacon/Getting-Started-with-iBeacon.pdf + * + * @deprecated This service is deprecated and no replacement is currently available. */ +MBED_DEPRECATED_SINCE( + "mbed-os-5.11", + "This service is deprecated and no replacement is currently available." +) class iBeacon { public: @@ -197,7 +203,13 @@ public: * to the beacon. * * @param[in] compID ID of the beacon manufacturer. + * + * @deprecated This service is deprecated and no replacement is currently available. */ + MBED_DEPRECATED_SINCE( + "mbed-os-5.11", + "This service is deprecated and no replacement is currently available." + ) iBeacon( BLE &_ble, LocationUUID_t uuid,