mirror of
https://github.com/tzapu/WiFiManager.git
synced 2026-04-27 09:05:56 +03:00
[GH-ISSUE #1645] autoConnect is blocking despite setConfigPortalBlocking(false) #1401
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#1401
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 @entozoon on GitHub (Aug 9, 2023).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/1645
Is it possible to run other things while autoConnect attempts to connect to wifi?
I don't want my device to just freeze up while it tries to connect.
Basic Infos
Hardware
WiFimanager Branch/Release: Master
Esp8266/Esp32: Esp32
Description
Problem description
Debug Messages
It hangs here while attempting to connect (which can take ages as I have a weak signal) but ideally I'd flash an LED or whatever while it tries.
@tablatronix commented on GitHub (Aug 10, 2023):
Yeah the actual connection is blocking, there is another issue for this already I think. I will have to add callbacks or something, you really cannot be doing anything in code when waiting for connection as it can affect it. I think I can add a return and a callback when connected or status change etc.
I have never tried a fire and forget wifi begin...
@SiddiqueAhmad commented on GitHub (Sep 16, 2023):
any chance ? We need to run load and battery lights, but it get stuck in connecting