mirror of
https://github.com/tzapu/WiFiManager.git
synced 2026-04-27 09:05:56 +03:00
[GH-ISSUE #1538] Please add callback in waitForConnectResult() #1312
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#1312
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 @realA10001986 on GitHub (Dec 31, 2022).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/1538
Right now, waitForConnectResult() does a plain while-loop to wait for a WiFi connection. This blocks the application.
My simple suggestion is to add a callback inside waitForConnectResult() in order to be able to (continue to) play audio and service other real-time stuff while waiting for WiFi to connect.
@realA10001986 commented on GitHub (Dec 31, 2022):
OK, tested this (with the delay reduced to 20 as well), on the ESP32 I2C sound is a no-go, but simple LED blinking can be done. Can be moved down the TODO list ;)