Closed
Description
This issue is not really related to any board, but directly to the source code, using template is not necessary here.
The problem is that WiFi.disconnect function always set SSID and Password to NULL. On ESP32's version of Arduino, user can define if the config should be ever touched or not. When manually implementing reconnection, current state requires to store credentials externally between disconnect and connect method calls.
This should be unified somehow or at least eraseAP switch should be added to allow calling underlying methods without zeroing credentials.
Current workaround is calling wifi_station_disconnect directly.
Metadata
Metadata
Assignees
Labels
No labels