Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Captive Portal Example #99

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

fhessel
Copy link
Owner

@fhessel fhessel commented Sep 4, 2020

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