diff --git a/connectivity/FEATURE_BLE/source/cordio/source/PalGapImpl.cpp b/connectivity/FEATURE_BLE/source/cordio/source/PalGapImpl.cpp index 3cdeefc2e6..f7c7ba29a1 100644 --- a/connectivity/FEATURE_BLE/source/cordio/source/PalGapImpl.cpp +++ b/connectivity/FEATURE_BLE/source/cordio/source/PalGapImpl.cpp @@ -462,23 +462,6 @@ ble_error_t PalGap::disconnect( return BLE_ERROR_NONE; } - -bool PalGap::is_privacy_supported() -{ - // We only support controller-based privacy, so return whether the controller supports it - return HciLlPrivacySupported(); -} - - -ble_error_t PalGap::set_address_resolution( - bool enable -) -{ - DmPrivSetAddrResEnable(enable); - return BLE_ERROR_NONE; -} - - ble_error_t PalGap::read_phy(connection_handle_t connection) { if (is_feature_supported(controller_supported_features_t::LE_2M_PHY) @@ -489,7 +472,6 @@ ble_error_t PalGap::read_phy(connection_handle_t connection) return BLE_ERROR_NOT_IMPLEMENTED; } - ble_error_t PalGap::set_preferred_phys( const phy_set_t &tx_phys, const phy_set_t &rx_phys diff --git a/connectivity/FEATURE_BLE/source/cordio/source/PalGapImpl.h b/connectivity/FEATURE_BLE/source/cordio/source/PalGapImpl.h index 50829fab5a..cc581ba0d1 100644 --- a/connectivity/FEATURE_BLE/source/cordio/source/PalGapImpl.h +++ b/connectivity/FEATURE_BLE/source/cordio/source/PalGapImpl.h @@ -147,12 +147,6 @@ public: local_disconnection_reason_t disconnection_reason ) final; - bool is_privacy_supported() final; - - ble_error_t set_address_resolution( - bool enable - ) final; - ble_error_t read_phy(connection_handle_t connection) final; ble_error_t set_preferred_phys( diff --git a/connectivity/FEATURE_BLE/source/pal/PalGap.h b/connectivity/FEATURE_BLE/source/pal/PalGap.h index fd983b6a09..425d561ab9 100644 --- a/connectivity/FEATURE_BLE/source/pal/PalGap.h +++ b/connectivity/FEATURE_BLE/source/pal/PalGap.h @@ -1564,27 +1564,6 @@ public: local_disconnection_reason_t disconnection_reason ) = 0; - /** Check if privacy feature is supported by implementation - * - * @return true if privacy is supported, false otherwise. - * - * @note: See Bluetooth 5 Vol 3 Part C: 10.7 Privacy feature. - */ - virtual bool is_privacy_supported() = 0; - - /** Enable or disable private addresses resolution - * - * @param enable whether to enable private addresses resolution - * - * @return BLE_ERROR_NONE if the request has been successfully sent or the - * appropriate error otherwise. - * - * @note: See Bluetooth 5 Vol 2 PartE: 7.8.44 LE Set Address Resolution Enable command. - */ - virtual ble_error_t set_address_resolution( - bool enable - ) = 0; - /** * Checked support for a feature in the link controller. *