mirror of
https://github.com/tzapu/WiFiManager.git
synced 2026-04-27 09:05:56 +03:00
[GH-ISSUE #153] Connection not possible with a smartphone using the default channel 1 if other WiFi AP is using it #119
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#119
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 @jjbubka on GitHub (Apr 14, 2016).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/153
First of all, thank you for this awesome library.
I want to share with you one problem regardin the connection to the ESP with a smartphone. This is happening because of the collision of the WiFi signal (other APs in channel 1). I have a workaround to first scan the environment and selecting the first free channel (if possible). Of course this algorithm could be improved, but this works very good.
in WiFiManager::setupConfigPortal() I have changed:
WiFi.softAP(_apName.c_str(), _apPassword);to this:
WiFi.softAP(_apName.c_str(), _apPassword, getFirstFreeChannel()); //modified to avoid WiFi collisionswhere the function to select the channel is:
@tzapu commented on GitHub (May 8, 2016):
hi, this is very very interesting, might explain why at some rare but random times, i can t manage to connect from some devices.
thanks for letting me know, will see about adding it