Hi,
Is it possible to force running the web page on the station connected to esp AP?
WiFi AP web page.
Re: WiFi AP web page.
This is what I would like to achive in 0:14
https://www.youtube.com/watch?v=PJUkRxL ... e=emb_logo
I was trying to use DNS server example from github but any of them doesn't force opening the captive page after connecting to AP.
https://www.youtube.com/watch?v=PJUkRxL ... e=emb_logo
I was trying to use DNS server example from github but any of them doesn't force opening the captive page after connecting to AP.
Re: WiFi AP web page.
Sure, just create/start the server on the IP of your interface. The server does not care if you are Wifi, Wired, Whatever. Just the IP.Is it possible to force running the web page on the station connected to esp AP?
So thinking ahead guess you just need to launch when you have an IP (& stop when loose etc). In which case you need to look at the event handlers.
& I also believe that IDF CAN should be fixed.
Re: WiFi AP web page.
I tested this https://github.com/cornelis-61/esp32_Captdns example, but it is not working such as I want.
DNS packets are sendings to server but, server don't force opening the captive page :/
DNS packets are sendings to server but, server don't force opening the captive page :/
Re: WiFi AP web page.
I also put this code after wifi AP init
Results is still the same. :/
Code: Select all
ip_addr_t dns_addr;
IP_ADDR4(&dns_addr, 192,168,1,2);
dns_setserver(0, &dns_addr);
dns_init();
xTaskCreate(&http_server, "http_server", 2048, NULL, 5, NULL);
Re: WiFi AP web page.
Also trying to send HTTP/1.1 302 Found Location: 192.168.1.2\r\n
What I need to do to see 'sign to wifi network' popup on my smartphone?
What I need to do to see 'sign to wifi network' popup on my smartphone?
Re: WiFi AP web page.
I tested the Arduino example from:
https://github.com/espressif/arduino-es ... Portal.ino
and it is working perfectly.
How to start the DNS server in C, like in this arduino code?
https://github.com/espressif/arduino-es ... Portal.ino
and it is working perfectly.
How to start the DNS server in C, like in this arduino code?
Who is online
Users browsing this forum: Bing [Bot] and 311 guests