mirror of
https://github.com/tzapu/WiFiManager.git
synced 2026-04-27 09:05:56 +03:00
[PR #44] [MERGED] Manually starting the configuration portal #1562
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#1562
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?
📋 Pull Request Information
Original PR: https://github.com/tzapu/WiFiManager/pull/44
Author: @riccibitti
Created: 1/4/2016
Status: ✅ Merged
Merged: 1/8/2016
Merged by: @tzapu
Base:
master← Head:master📝 Commits (4)
9fd11f1connectWifi() now returns connection status, making its use more straightforwardead84aeRemoved unused/commented code8079332Added "forceAP" parameter to autoconnect (defaulted to false, which leaves previous behaviour unchanged).0c04092Merge commit '99f37db88e'📊 Changes
2 files changed (+18 additions, -72 deletions)
View changed files
📝
WiFiManager.cpp(+16 -67)📝
WiFiManager.h(+2 -5)📄 Description
My hardware has a button to trigger configuration, so I needed a way to force the captive portal regardless of running configuration. So I added a third (defaulted) parameter to autoconnect(), namely forceAP. It is defaulted to false, for backward compatibility; but if it set to true, the captive portal is started without even attempting to connect with current SSID and password.
In the works, I have cleaned up some commented/unused code and changed connectWifi() to return the connection status, getting rid of temprary 's' varibles that were used to read status again right after a call to connectWifi().
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.