mirror of
https://github.com/espressif/esp-nimble.git
synced 2026-09-04 08:10:05 +00:00
nimble/gap: Remove old experimental API for setting advertising PHY
This API was only intermedient until proper API supporting multiple instances is introduced. X-Original-Commit: b332901726a72da2b5fb997c4486b9715bee0273
This commit is contained in:
@@ -683,11 +683,6 @@ int ble_gap_adv_rsp_set_data(const uint8_t *data, int data_len);
|
||||
int ble_gap_adv_set_fields(const struct ble_hs_adv_fields *rsp_fields);
|
||||
int ble_gap_adv_rsp_set_fields(const struct ble_hs_adv_fields *rsp_fields);
|
||||
|
||||
#if MYNEWT_VAL(BLE_EXT_ADV)
|
||||
int ble_gap_adv_set_tx_power(int8_t tx_power);
|
||||
int ble_gap_adv_set_phys(uint8_t primary_phy, uint8_t secondary_phy);
|
||||
#endif
|
||||
|
||||
#if MYNEWT_VAL(BLE_EXT_ADV)
|
||||
struct ble_gap_ext_adv_params {
|
||||
unsigned int connectable:1;
|
||||
|
||||
@@ -2355,18 +2355,6 @@ ble_gap_adv_active(void)
|
||||
}
|
||||
|
||||
#if MYNEWT_VAL(BLE_EXT_ADV)
|
||||
int
|
||||
ble_gap_adv_set_tx_power(int8_t tx_power)
|
||||
{
|
||||
return BLE_HS_ENOTSUP;
|
||||
}
|
||||
|
||||
int
|
||||
ble_gap_adv_set_phys(uint8_t primary_phy, uint8_t secondary_phy)
|
||||
{
|
||||
return BLE_HS_ENOTSUP;
|
||||
}
|
||||
|
||||
static int
|
||||
ble_gap_ext_adv_params_tx(uint8_t instance,
|
||||
const struct ble_gap_ext_adv_params *params,
|
||||
|
||||
Reference in New Issue
Block a user