← 返回首页
Add Captive Portal Example by fhessel · Pull Request #99 · fhessel/esp32_https_server · GitHub
Skip to content

Navigation Menu

Toggle navigation
Sign in
Appearance settings
Search or jump to...

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Resetting focus

Add Captive Portal Example#99

Open
fhessel wants to merge 2 commits into
masterfrom
feature/example-captive
Open

Add Captive Portal Example#99
fhessel wants to merge 2 commits into
masterfrom
feature/example-captive

Conversation

fhessel commented Sep 4, 2020

Copy link
Copy Markdown
Owner

This PR introduces a very basic captive portal example. It only makes use of DNS redirects and answers only on HTTP.

There would be two great extensions to this, but they are hard to implement in Arduino or for the given scenario and therefore not implemented:

  • RFC7710bis introduces a DHCP option for captive portal URLs, but without the full lwip/network stack from the ESP-IDF, it seems impossible to modify the behavior of the DHCP server, and that would not make a nice example anyway.
  • The Captive Portal API requires HTTPS and valid certificates (both MUST-statements in the specification), which will not match the regular use case (setting up WiFi of the ESP32 etc.).

References

fhessel added the CI: Build Examples When set, the examples will be built for this PR label Sep 5, 2020
github-actions Bot removed the CI: Build Examples When set, the examples will be built for this PR label Sep 5, 2020
fhessel mentioned this pull request Sep 5, 2020
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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Captive portal example

1 participant

Footer

© 2026 GitHub, Inc.