-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Change SoftAP SSID causes errors in 2.4.2 (works in 2.3.0) #5333
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi, Any help on this issue? I made more research: as client station, local IP/gateway/DNS remains unchanged when changing the SoftAP settings. That's the expected behaviour, but the HTTP/MQTT connections starts failing the same once the SoftAP settings change. Worked with 2.3.0 core and fails with 2.4.2 core. Thanks again and best regards. |
Hi, I'm encountering the same problem. |
Looks like i have encountered this also. without going too mouch in depth of my code. runs this after boot if configured for ap.
|
By enabling debug options, you would see
|
Thanks, That solved my problem. documentation says 8 chars min. |
Thanks for the report, |
@ikin77 This is not related to your issue, reopening |
@Benhur91 |
@ikin77 Bug reproduced |
It turns out the lwIP default interface is set to AP interface after call to |
Hi, @d-a-v, I appreciate your help. If there's something I can do to help you to fix the bug, please don't hesitate to let me know. Please let us know also if a parch is providen :o) Thanks again and best regards. |
@ikin77 Would you be able to try PR #5526 ? Assuming you are using latest git or -beta2, and config |
@d-a-v Hi, Dave. I first tried with original 2.5.0-beta2 and the bug still was there. Then, I replaced the liblwip2-536-feat.a file as you suggested....et voilà, the sample sketch I provided started to work. You fixed it!!!!! :o) My actual sketck is more complex than the one provided as sample. Actually, I was having issues with MQTT connections, not with HTTP connections. Let me have a couple of days to test it, I'll let you know if it also works as does with core 2.3.0. Thanks a lot!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! :o)))))) |
Platform
Settings in IDE
Problem Description
I'm having problems migrating from core 2.3.0 to core 2.4.2. At first, I thought it was a MQTT problem, so I opened issue #5271 because I was losing connection to the server and after that, I coudn't reconnect any more.
I've done more research on it. The problem happends when you use wifi in STA and SOFTAP mode, when you change the SoftAP SSID.
I provide a sketch where you can check that. The sketch connects every "loop" to a HTTP server and shows the HTTP result code. If every so often the SoftAP SSID is changed, works with 2.3.0 core, but fails with 2.4.2.
Thanks in advance and best regards!!!!!!
MCVE Sketch
Debug Messages
The text was updated successfully, but these errors were encountered: