release/v4.2 Error with esp_wifi_init

AlexESP32
Posts: 65
Joined: Thu Oct 03, 2019 9:41 am

release/v4.2 Error with esp_wifi_init

Postby AlexESP32 » Fri Sep 04, 2020 1:27 pm

Hello guys,

I pulled the actual release 4.2 and tried to run my program.
Unfortunately I got the issue "0x102 Invalid argument" when running esp_wifi_init.

Following my example code:
...
wifi_init_config_t wifi_default_config = WIFI_INIT_CONFIG_DEFAULT();
printf("%d", esp_wifi_init(&wifi_default_config));
...

Why this error happens?

Thank you.

Who is online

Users browsing this forum: Google [Bot], MSN [Bot] and 237 guests