mirror of
https://github.com/espressif/esp-nimble.git
synced 2026-08-14 14:07:54 +00:00
nimble/ll: Change ext_adv_params field name
This changes name of field containing parameters from first version of SET_EXT_ADV_PARAMS in ble_hci_le_set_ext_adv_params_v2_cp structure. New name enhances clarity by more accurately describing its contents.
This commit is contained in:
committed by
Andrzej Kaczmarek
parent
b6d7261d75
commit
881dc67914
@@ -3257,7 +3257,7 @@ ble_gap_ext_adv_params_tx_v2(uint8_t instance,
|
||||
|
||||
memset(&cmd, 0, sizeof(cmd));
|
||||
|
||||
rc = ble_gap_set_ext_adv_params(&(cmd.cmd), instance, params, selected_tx_power);
|
||||
rc = ble_gap_set_ext_adv_params(&(cmd.params_v1), instance, params, selected_tx_power);
|
||||
|
||||
if (rc != 0) {
|
||||
return rc;
|
||||
|
||||
@@ -1152,7 +1152,7 @@ struct ble_hci_le_subrate_req_cp {
|
||||
|
||||
#define BLE_HCI_OCF_LE_SET_EXT_ADV_PARAM_V2 (0x007F)
|
||||
struct ble_hci_le_set_ext_adv_params_v2_cp {
|
||||
struct ble_hci_le_set_ext_adv_params_cp cmd;
|
||||
struct ble_hci_le_set_ext_adv_params_cp params_v1;
|
||||
uint8_t pri_phy_opt;
|
||||
uint8_t sec_phy_opt;
|
||||
} __attribute__((packed));
|
||||
|
||||
Reference in New Issue
Block a user