-
Notifications
You must be signed in to change notification settings - Fork 11
Description
Prerequisites
- Can you reproduce the problem in safe mode?
- [x ] Are you running the latest version?
- Did a recent dependancy update cause the problem?
- Are you reporting to the correct repository?
- Did you perform a cursory search?
For more information, see the CONTRIBUTING guide.
Description
Have tried the ArduinoOTA >> BasicOTA example that comes with the ESP8266 arduino core. The OTA function works as expected, however after trying to revert to normal USB cable based flashing of a sketch utilizing WiFiConnectLite the ESP8266 always boots up in AP mode where one can select the Access point and store the password. Serial monitor tells those data get stored but then the ESP8266 reboots and can not connect to the AP, and falls back to STA mode again.
(WifiConnectLite repo does not have its own issue tracking)
After running a sketch utilizing WiFiManager to configure the AP credentials, we can revert back to the sketch utilizing WiFiConnectLite and the ESP8266 will boot in STA as expected.
Steps to Reproduce
- Upload the ArduinoOTA >> BasicOTA example to your ESP8266 via USB
- Upload the ArduinoOTA >> BasicOTA example to your ESP8266 via WiFi
- Upload a previously working sketch utilizing WiFiConnectLite via USB
- ESP8266 will always end up in STA mode and will not connect to the AP even after saving the credentials
- Upload a sketch using WiFiManager via USB, configure AP credentials
- After reboot ESP8266 will now connect to the AP
- Upload the sketch utilizing WiFiConnectLite via USB. Will work again this time
Versions
ArduinoIDE 1.8.19
ESP8266 Arduino core 3.0.2