mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-02 12:14:32 +02:00
WIFI: added log for wifi test, increased timeout
This commit is contained in:
@@ -287,7 +287,8 @@ static void wifi_connect_by_bssid(uint8_t *bssid)
|
|||||||
|
|
||||||
TEST_ESP_OK(esp_wifi_set_config(WIFI_IF_STA, &w_config));
|
TEST_ESP_OK(esp_wifi_set_config(WIFI_IF_STA, &w_config));
|
||||||
TEST_ESP_OK(esp_wifi_connect());
|
TEST_ESP_OK(esp_wifi_connect());
|
||||||
bits = xEventGroupWaitBits(wifi_events, GOT_IP_EVENT, 1, 0, 5000/portTICK_RATE_MS);
|
ESP_LOGI(TAG, "called esp_wifi_connect()");
|
||||||
|
bits = xEventGroupWaitBits(wifi_events, GOT_IP_EVENT, 1, 0, 7000/portTICK_RATE_MS);
|
||||||
TEST_ASSERT(bits == GOT_IP_EVENT);
|
TEST_ASSERT(bits == GOT_IP_EVENT);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user