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:
Szymon Janc
2017-11-22 15:28:36 +01:00
parent 391b29b38f
commit 026a9846c4
2 changed files with 0 additions and 17 deletions
-5
View File
@@ -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;
-12
View File
@@ -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,