mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-05-21 17:16:29 +08:00
fix(examples): fix example of openssl client connecting to the server fail
When openssl client connect to the server, the wifi not get the ip
This commit is contained in:
@ -172,6 +172,9 @@ static void openssl_client_task(void* p)
|
||||
|
||||
printf("OpenSSL client thread start...\n");
|
||||
|
||||
xEventGroupWaitBits(wifi_event_group, CONNECTED_BIT,
|
||||
false, true, portMAX_DELAY);
|
||||
ESP_LOGI(TAG, "Connected to AP");
|
||||
#if CONFIG_SSL_USING_WOLFSSL
|
||||
/* CA date verification need system time */
|
||||
get_time();
|
||||
|
Reference in New Issue
Block a user