mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-01 10:40:47 +03:00
feat(test_app): add test app for multiple phy init data
This commit is contained in:
@@ -283,6 +283,16 @@ void phy_wait_freq_hw_hop_done(void);
|
||||
void phy_track_temp_debug(uint8_t debug_flag, uint8_t track_temp);
|
||||
#endif
|
||||
|
||||
#if CONFIG_ESP_PHY_MULTIPLE_INIT_DATA_BIN
|
||||
/**
|
||||
* @brief Get the PHY init data type that is currently applied to the PHY
|
||||
*
|
||||
* @return the applied init data type, ESP_PHY_INIT_DATA_TYPE_DEFAULT as long as no
|
||||
* certified init data has been selected by a country code
|
||||
*/
|
||||
phy_init_data_type_t esp_phy_get_init_data_type(void);
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -1208,6 +1208,11 @@ esp_err_t esp_phy_update_init_data(phy_init_data_type_t init_data_type)
|
||||
free(init_data_store);
|
||||
return ESP_OK;
|
||||
}
|
||||
|
||||
phy_init_data_type_t esp_phy_get_init_data_type(void)
|
||||
{
|
||||
return s_current_apply_phy_init_data;
|
||||
}
|
||||
#endif
|
||||
|
||||
esp_err_t esp_phy_update_country_info(const char *country)
|
||||
|
||||
Reference in New Issue
Block a user