简体   繁体   中英

ESP8266 Captive Portal and jump to “normal” Browser

I like to run some esp8288 with some custemizing or controles in AP mode. To make it easyer to use I like to use the captive portal function to make the access easyer for the user. So the after connecting the captive portal will pop up eg on Iphone and it shows only one link like "open on Browser".

I already learnd that the portal app is only let you use a link to eg safari if the server sends a webpage like:

<HTML><HEAD><TITLE>Success</TITLE></HEAD><BODY>Success</BODY></HTML>

but I was not able to find a way how this is possible.

Does somebody already managed that on a ESP8266. I already tryed to analyse pages from T-Online or vodafone where this is possible, but without an result.

Jens

The WiFiManager library, surtenly, does not provide such an option to open full (not mini) browser, but just to save WiFi credentials and turn WiFi STAtion mode. Would be nice to see the WireShark sniff of the T-Online and/or Vodafone captive logins to see how they done. Actually the <TITLE>Success</TITLE> response You mention, tells the mini-browser its already the Internet connection (not captive portal) and it can close

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM