Page 1 of 1

How do I make different kinds of web - request?

Posted: Wed Mar 22, 2017 3:46 pm
by Pablo Oyarzo
On the documentation we have a goof example of an HTTP GET request. What If I have need to de an ECHOREQUEST?

Re: How do I make different kinds of web - request?

Posted: Wed Mar 22, 2017 5:07 pm
by deshipu
Pray tell what the heck is a ECHOREQUEST? There is no such thing in the HTTP protocol RFCs.

Re: How do I make different kinds of web - request?

Posted: Wed Mar 22, 2017 6:21 pm
by Pablo Oyarzo

Re: How do I make different kinds of web - request?

Posted: Wed Mar 22, 2017 7:31 pm
by deshipu
That is ICMP, not HTTP. A completely different thing and three network levels away from HTTP.
As far as I can tell, ESP8266 doesn't support ICMP.

Re: How do I make different kinds of web - request?

Posted: Thu Mar 23, 2017 3:11 pm
by Pablo Oyarzo
When it has the AT firmware it really does have a "ping command". My question would be, how is it possible then?

Re: How do I make different kinds of web - request?

Posted: Thu Mar 23, 2017 6:50 pm
by deshipu
Perhaps you can examine the firmware's source and see for yourself. My guess would be that they are doing a so-called "tcp ping".

Re: How do I make different kinds of web - request?

Posted: Thu Mar 23, 2017 10:26 pm
by mcauser
There are some Arduino Ping libraries for ESP8266, which seem to use ICMP echo requests.
https://github.com/akaJes/AsyncPing
https://github.com/dancol90/ESP8266Ping