Comments (4)
This shall be fixed by espressif/arduino-esp32#6659 in ESP Arduino Core 2.0.3.
espressif/arduino-esp32#4732 (comment)
from esp-wifisettings.
I have the same issue here with an M5Stamp-PICO (ESP32-PICO-D4) running the Basic example.
I got the setup page the first time and entered my settings and rebooted.
The device does connect to the access point but does not get an IP address and the serial monitor reports 255.255.255.255.
I have looked at the library and tried to force some static settings (ip, gateway, netmask), replacing the call WiFi.config( INADDR_NONE, INADDR_NONE, INADDR_NONE ); but that did not work at all.
My Arduino expertise is quite limited, so I stopped there.
Interestingly, now that the settings are in Flash, the Advanced example does connect and does get an IP address.
Also as a bonus, the router properly identifies the device as esp32-C30B00 (it did not when running the basic example)
from esp-wifisettings.
I have the same issue with TTGO T-Display board.
Surprisingly, when I compile the same sketch on MacOS with the same library version it works
from esp-wifisettings.
I was also having this problem with nodemcu esp32 which is also described here #9
Commenting this line fixed it for me https://github.com/Juerd/ESP-WiFiSettings/blob/master/WiFiSettings.cpp#L469
Which is a workaround mentioned here espressif/arduino-esp32#2537 (comment) but it is not longer working because it was fixed here espressif/arduino-esp32@ad4cf14
This means the library needs some logic to detect which version of the platform is running to apply the workaround or not.
As @Juerd indicated in other issues he is not longer working on the library (understandable) so I downloaded it and patched it for my project which makes it work well.
from esp-wifisettings.
Related Issues (19)
- Warning in ESP8266 HOT 1
- Feature Request: Manual SSID HOT 3
- web interface HOT 4
- WiFiSettings.string() seems to encode the string in some way HOT 2
- WPS HOT 2
- MQTT client, PubSubClient HOT 1
- Compilation error with platform espressif8266 version 3.1.0 HOT 4
- Didn't work with ESP32 C3 version HOT 12
- ESP32 does not connect unless restarted through portal HOT 2
- Drop down list on custom variables HOT 8
- Wifi AP hostname HOT 4
- Cannot connect to soft AP after .portal() is called HOT 7
- Compile error with expansion of macro 'F' HOT 4
- Make filesystem configurable
- Having custom password fields in the AP config replace password with ***********s HOT 4
- WDT conflict with ESP32 support v3.x.x HOT 1
- SSID with apostrophe is truncated HOT 2
- arduino-esp32: Local IP is 255.255.255.255 after connection succeeds HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from esp-wifisettings.