mirror of
https://github.com/tzapu/WiFiManager.git
synced 2026-04-27 09:05:56 +03:00
[GH-ISSUE #367] WPS WorkaRound #309
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#309
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 @Melcos1970 on GitHub (May 8, 2017).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/367
I have made a small change to WiFiManager.cpp and .h to get a mid-term solution to the problem with WPS.
It's not the best way, but now you can use WPS if you are going to ..
I have no idea how to add suggestions to github, but I want to post them here so can add them if you want to use them.
The solution is actually simple .. I just add a button extra that makes a WPS call.
Changed:
Const char HTTP_PORTAL_OPTIONS [] PROGMEM = "<form action = " / wifi \ "method = " get \ ">
@bkrajendra commented on GitHub (May 23, 2017):
The main problem with WPS that i found is that it does not retain its password on reset.
Did you get this issue?
@Melcos1970 commented on GitHub (May 25, 2017):
No not with WiFiManager.. My problem is if the WPS fail to connect and the go back til normal state, that is why i make a reboot after using WPS.
@tablatronix commented on GitHub (Aug 27, 2017):
I know this is old but can you post your code in code blocks please use three ticks open and close
@MarcUbb commented on GitHub (Jan 22, 2023):
Hey, I think I found a solution to the WPS problem! The problem is that the device doesnt wait for the WPS setup (which can take some time) to be completed. Therefore I simply put a while loop that checks if the setup was completed like so: (includes a timeout after 30s)
Just put this code instead of:
and it should work (at least on my machine)
@tablatronix commented on GitHub (Jan 22, 2023):
Does anyone still use WPS, isnt it a vulnerability