mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-09 20:41:14 +00:00
fix(esp_wifi): Roaming app, sync api naming
This commit is contained in:
@@ -28,10 +28,10 @@ struct roam_config {
|
||||
wifi_scan_config_t scan_config;
|
||||
};
|
||||
|
||||
void init_roaming_app(void);
|
||||
void deinit_roaming_app(void);
|
||||
void roaming_app_disable_reconnect(void);
|
||||
void roaming_app_enable_reconnect(void);
|
||||
void roam_init_app(void);
|
||||
void roam_deinit_app(void);
|
||||
void roam_disable_reconnect(void);
|
||||
void roam_enable_reconnect(void);
|
||||
esp_err_t roam_get_config_params(struct roam_config *config);
|
||||
esp_err_t roam_set_config_params(struct roam_config *config);
|
||||
|
||||
|
@@ -54,13 +54,13 @@ static inline long time_diff_sec(struct timeval *a, struct timeval *b)
|
||||
return (a->tv_sec - b->tv_sec);
|
||||
}
|
||||
|
||||
void roaming_app_disable_reconnect(void)
|
||||
void roam_disable_reconnect(void)
|
||||
{
|
||||
ESP_LOGD(ROAMING_TAG, "Switching off reconnect due to application trigerred disconnect");
|
||||
g_roaming_app.allow_reconnect = false;
|
||||
}
|
||||
|
||||
void roaming_app_enable_reconnect(void)
|
||||
void roam_enable_reconnect(void)
|
||||
{
|
||||
ESP_LOGD(ROAMING_TAG, "Switching on reconnect due to application trigerred reconnect");
|
||||
g_roaming_app.allow_reconnect = true;
|
||||
@@ -853,7 +853,7 @@ static esp_err_t init_scan_config(void)
|
||||
return ESP_OK;
|
||||
}
|
||||
|
||||
void init_roaming_app(void)
|
||||
void roam_init_app(void)
|
||||
{
|
||||
#if !LOW_RSSI_ROAMING_ENABLED && !PERIODIC_SCAN_MONITORING
|
||||
ESP_LOGE(ROAMING_TAG, "No roaming trigger enabled. Roaming app cannot be initialized");
|
||||
@@ -880,7 +880,7 @@ void init_roaming_app(void)
|
||||
ESP_LOGI(ROAMING_TAG, "Roaming app initialization done");
|
||||
}
|
||||
|
||||
void deinit_roaming_app(void)
|
||||
void roam_deinit_app(void)
|
||||
{
|
||||
#if !LOW_RSSI_ROAMING_ENABLED && !PERIODIC_SCAN_MONITORING
|
||||
ESP_LOGE(ROAMING_TAG, "No roaming trigger enabled. Roaming app cannot be de-initialized");
|
||||
|
Reference in New Issue
Block a user