hi seopyoon,
I put a example in GitHub
https://github.com/cornelis-61/esp32_Captdns
Search found 9 matches
- Fri Feb 17, 2017 8:35 am
- Forum: ESP-IDF
- Topic: ESP32 as stanalone Webserver
- Replies: 25
- Views: 50286
- Wed Feb 15, 2017 7:32 pm
- Forum: ESP-IDF
- Topic: ESP32 as stanalone Webserver
- Replies: 25
- Views: 50286
Re: ESP32 as stanalone Webserver
finally. its working, :D :D in the routine captdnsRecv(…. look for //tcpip_adapter_get_ip_info(TCPIP_ADAPTER_IF_ETH, &info); and change to tcpip_adapter_get_ip_info(TCPIP_ADAPTER_IF_AP, &info); does matter what http request you send you will get the WEB page you have setup in your ESP32 This was the...
- Wed Feb 15, 2017 1:53 pm
- Forum: ESP-IDF
- Topic: ESP32 as stanalone Webserver
- Replies: 25
- Views: 50286
Re: ESP32 as stanalone Webserver
To All, small question I put in my main.c following ip_addr_t dns_addr; IP_ADDR4(&dns_addr, 192,168,4,100); dns_setserver(0, &dns_addr); dns_init(); What does not fail, but I still don't get 192.168.4.99 from the ESP32 DHCP service I still get 192.168.4.1 Does anyone has a Idea where exact to put th...
- Wed Feb 15, 2017 1:47 pm
- Forum: ESP-IDF
- Topic: ESP32 as stanalone Webserver
- Replies: 25
- Views: 50286
Re: ESP32 as stanalone Webserver
Thanks to Kolban now it starts running. Leaving... Hard resetting... --- forcing DTR inactive --- forcing RTS inactive --- Miniterm on /dev/tty.usbserial-DN02BB9V 115200,8,N,1 --- --- Quit: Ctrl+] | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H --- ets Jun 8 2016 00:22:57 rst:0x1 (POWERON_RESET),bo...
- Wed Feb 15, 2017 1:13 pm
- Forum: ESP-IDF
- Topic: ESP32 as stanalone Webserver
- Replies: 25
- Views: 50286
Re: ESP32 as stanalone Webserver
Sorry,
stupid auto correction the files are named captdns.c and captdns.h
stupid auto correction the files are named captdns.c and captdns.h
- Wed Feb 15, 2017 1:04 pm
- Forum: ESP-IDF
- Topic: ESP32 as stanalone Webserver
- Replies: 25
- Views: 50286
Re: ESP32 as stanalone Webserver
Hi to all, here is the code from "jeroen Domburg" which I downloaded from the page "WiFive" posted. I did some changes, so it can be compiled with "esp-idf-v2.0-rc1", it could be that it still has some bugs because if I use it it will end with a Stack overflow. Here the code: of captions.c /* * ----...
- Sun Feb 12, 2017 4:56 am
- Forum: ESP-IDF
- Topic: ESP32 as stanalone Webserver
- Replies: 25
- Views: 50286
Re: ESP32 as stanalone Webserver
I add this to my code, and after sum small changes, due to differences between Esp8266 and Esp32, this code Runs. After Booting the AP comes up, and the captdns service is started. Then when I connect to the AP, the Mobil device automatically send a request and the captdns service tries to response ...
- Thu Feb 09, 2017 3:44 pm
- Forum: ESP-IDF
- Topic: ESP32 as stanalone Webserver
- Replies: 25
- Views: 50286
Re: ESP32 as stanalone Webserver
@ kolban . thx , yes, thats exactly what I want.
@ Wifive . I will go and search for it on ESP8266
I will come back, and hopefully with good news
@ Wifive . I will go and search for it on ESP8266
I will come back, and hopefully with good news
- Wed Feb 08, 2017 7:31 pm
- Forum: ESP-IDF
- Topic: ESP32 as stanalone Webserver
- Replies: 25
- Views: 50286
ESP32 as stanalone Webserver
I would like to setup a standalone Webserver where, if I am connected and I open my browser my Webpage will
be shown, regardless which IP Address or name. Just like the start page of a hotspot.
be shown, regardless which IP Address or name. Just like the start page of a hotspot.