You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I'm using ESP32 with Arduino core (1.0.6).
My sketch/project use BLE to set wifi credential and to select if connect or not to wifi network.
Until v1.0.3 all work, but with update I find this error when I try to reconnect after 'WiFi.disconnect(true)' or when I change credential:
[663177][E][WiFiGeneric.cpp:983] mode(): Could not set mode! 12289 read from file:/credential.json {"ssid":"xxxxxxx","psw":"xxxxxxxxxx"} [663189][E][WiFiGeneric.cpp:983] mode(): Could not set mode! 12289 [663194][E][WiFiSTA.cpp:152] begin(): STA enable failed!
In sketch I read ssid and psw from a json file, I've a task that take care of wifi connection and if I need to change wifi connection or I suspend connection, task perform WiFi.mode(WIFI_STA); WIFI.begin(ssid,psw);
[STALE_SET] This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions.
Hi,
I'm using ESP32 with Arduino core (1.0.6).
My sketch/project use BLE to set wifi credential and to select if connect or not to wifi network.
Until v1.0.3 all work, but with update I find this error when I try to reconnect after 'WiFi.disconnect(true)' or when I change credential:
[663177][E][WiFiGeneric.cpp:983] mode(): Could not set mode! 12289
read from file:/credential.json
{"ssid":"xxxxxxx","psw":"xxxxxxxxxx"}
[663189][E][WiFiGeneric.cpp:983] mode(): Could not set mode! 12289
[663194][E][WiFiSTA.cpp:152] begin(): STA enable failed!
In sketch I read ssid and psw from a json file, I've a task that take care of wifi connection and if I need to change wifi connection or I suspend connection, task perform
WiFi.mode(WIFI_STA);
WIFI.begin(ssid,psw);
I've read this :
#4842 (comment)
but not solve the problem.
What can I do to solve?
It's only my problem or there's other issue like this?
thanks
The text was updated successfully, but these errors were encountered: