mirror of
https://github.com/tzapu/WiFiManager.git
synced 2026-05-02 11:35:52 +03:00
[GH-ISSUE #1360] Troubles if SSID includes "-" #1167
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#1167
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 @LennartVin on GitHub (Feb 15, 2022).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/1360
I have set up the simple example. However, when I click on a network where the SSID includes a "-" and try to connect to it, I receive the error stating "AP not found".
I can connect to the SSID when I enter the SSID manually. This means that by clicking on the SSID on the Connection site the SSID is not correctly transferred to the textbox
@tablatronix commented on GitHub (Feb 15, 2022):
What version ?
Did you try the newest beta?
Or did this just start?
@starfy84 commented on GitHub (Feb 15, 2022):
I have this issue too. More specifically on the ESP32, newest beta (haven't tested with other versions yet).
@tablatronix commented on GitHub (Feb 15, 2022):
ok maybe I broke this
#1361
@tablatronix commented on GitHub (Feb 15, 2022):
hmm, ahh I see, works on reboot, but on save it says not found, ok
@tablatronix commented on GitHub (Feb 16, 2022):
this makes no sense!
Upload
It cannot be a coincidence, but I still cannot figure it out
@tablatronix commented on GitHub (Feb 16, 2022):
I reverted that, I added it because IDF was having issues, and now this is.. string looks clean, Ill need to check the length of the c_str and termination maybe.. and make sure there is refs here
@tablatronix commented on GitHub (Feb 16, 2022):
yup there is 2 extra characters in there.. hmm
@tablatronix commented on GitHub (Feb 16, 2022):
I reverted and pushed another beta, ugh sorry about that, ill test elsewhere
@tablatronix commented on GitHub (Feb 16, 2022):
Strangely it doesn't seem to be the other entities, & works fine
@JC-Electronics-Design commented on GitHub (Feb 17, 2022):
Just reading on this. The issue I had with not connecting to WiFi using PlatformIO (https://github.com/tzapu/WiFiManager/issues/1358) is probably the same issue.
Since reading this I have pulled the new beta into PlatformIO and everything works again.
@JohnvanderPol2 commented on GitHub (Mar 15, 2022):
Same issue Dash in SSID is converted to e28093 #1372
there is something that converts the - into a multi byte character, this prevents the SSID to be found
#1372 contains some more analysis
I will try the current beta if it fixes it.
@tablatronix commented on GitHub (Mar 15, 2022):
hmm #1361
@JohnvanderPol2 commented on GitHub (Mar 16, 2022):
It still worked in 2.0.5-Beta
In 2.0.8 and 2.0.9 it failed.
I did not check yet with 2.0.6 and 2.0.7.
If I do, I will try to update the info.
For now I have at least a workaround.
@tablatronix commented on GitHub (Mar 16, 2022):
I think this was still working but the character was ignored, I will refix this properly now, I will test it again maybe it depends on esp libs
@tablatronix commented on GitHub (Apr 7, 2022):
This should be fixed