WIFI Access Point mode#9
Open
JiLiZART wants to merge 3 commits into
Open
Conversation
|
Your patch is quite similar to the one I wrote recently. Mine allows for connecting to a range of wi-fi networks and falls back to a hotspot if none are found. I noticed that the op hasn't been working on this recently though. I like your mdns code and I will add it to my own fork. Moz |
Author
|
Yep, but this patch enable operational as Captive Portal, so if you connect to access point it automaticly display web ui (like many wifi routers do). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
WiFi Access Point mode with captive portal
Adds an optional Access Point (AP) mode so the ESP32 broadcasts its own WiFi network instead of joining an
existing one — no router needed, ideal for field use. When a device joins, a captive portal auto-opens the
battery interface.
What changed
ENABLE_WIFI_POINTbuild flag — when set, the firmware runs softAP instead of station mode. All AP code iswrapped in #ifdef ENABLE_WIFI_POINT; the default esp32c3_web (station) path is unchanged.
(Apple/Android/Windows) get a 302 redirect, triggering the auto-open popup.
needs ≥8 chars).
Usage
Join
OBI-ESP32→ interface opens via captive portal, or browse http://4.4.4.4 / http://obi.local.