mirror of
https://github.com/tzapu/WiFiManager.git
synced 2026-04-27 00:55:52 +03:00
[GH-ISSUE #542] ESP32 Testing doesn't get past WiFi.enableSTA(true) #455
Labels
No labels
📶 WiFi
🕸️ HTTP
Branch
DEV Help Wanted
Discussion
Documentation
ESP32
Example
Good First Issue
Hotfix
In Progress
Incomplete
Needs Feeback
Priority
QA
Question
Task
Upstream/Dependancy
bug
duplicate
enhancement
invalid
pull-request
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/WiFiManager#455
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @renegadeandy on GitHub (Mar 1, 2018).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/542
I can't seem to get very far using the development branch.
Basic Infos
Using ESP32 dev board oooouuuu board.
Hardware
WiFimanager Branch/Release: Development
Hardware: ESP32
Core Version: 2.4.0, staging
Description
When I try to incorporate the dev WiFiManager into an old project which ran fine on esp8266, It seems to hang and crash directly after WiFi.enableSTA(true);
My call from main sketch is as follows:
The added Debug to autoconnect is as follows:
Note my debug output is:
As we can see, we never hit the *WM: 22 message, The sketch appears to simply hang. Is there some kind of setup I need to do? Do I need to declare I am on an ESP32 to the library somehow?
Settings in IDE
Module: ESP32 DEV BOARD
@tablatronix commented on GitHub (Mar 1, 2018):
Whats the debug from wifimanager???
@renegadeandy commented on GitHub (Mar 1, 2018):
How do I turn that on? Not sure what you mean?
@tablatronix commented on GitHub (Mar 1, 2018):
It should be on, unless you are setting it to off in your code.
It outputs lots of info
@renegadeandy commented on GitHub (Mar 1, 2018):
I see no debug output at all in my code, apart from what i've shown to you above?
@tablatronix commented on GitHub (Mar 1, 2018):
hmmm
@tablatronix commented on GitHub (Mar 1, 2018):
works for me
@renegadeandy commented on GitHub (Mar 1, 2018):
Ahh, well you see you never get past WiFi.enableSTA(true); so the rest of the debug output never gets executed!
@tablatronix commented on GitHub (Mar 1, 2018):
ohh, well that is not wifimanager then, there is nothing in that function to get stuck, is your module crashing?
you should have an exception or something
@tablatronix commented on GitHub (Mar 1, 2018):
enable esp debugging also maybe?
@renegadeandy commented on GitHub (Mar 1, 2018):
No, although I have made a couple of alterations, and now I see
Brownout detector was triggered....
Wondering if this is a USB power problem...
@renegadeandy commented on GitHub (Mar 1, 2018):
Yes! This was the problem, a really rubbish USB Hub, time to put that one back into the garage, sorry tablatronix!
@tablatronix commented on GitHub (Mar 1, 2018):
Yeah power issue, below 300 ma or so, the wifi radio cannot turn on
@tablatronix commented on GitHub (Mar 1, 2018):
added a catch for this
@renegadeandy commented on GitHub (Mar 1, 2018):
Fantastic - thanks mate!