BLE: Remove address resolution from GAP pal

pull/13759/head
Vincent Coubard 2020-09-07 09:55:52 +01:00
parent 7e16ee448e
commit 13771b8172
3 changed files with 0 additions and 45 deletions

View File

@ -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

View File

@ -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(

View File

@ -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.
*