EthernetENC icon indicating copy to clipboard operation
EthernetENC copied to clipboard

Ping command with ENC28J60 + D1 mini Wemos ESP8266

Open Bruno1466 opened this issue 2 years ago • 3 comments

I am using EthernetENC.h library ver. 2.0.4 with hardware ENC28J60 + D1 mini Wemos ESP8266 boards. I program the ESP8266 with Arduino IDE 2.1.0; I tested the example sketch “WebClient” and it works correctly. I would like to run the "ping" command on an IP address on my local network trought the ENC28J60 device. Could somebody suggest to me if there is a function available to do it? Thanks

Bruno1466 avatar Oct 04 '23 12:10 Bruno1466

why not use the esp8266 lwIP_enc28j60 library?

JAndrassy avatar Oct 04 '23 13:10 JAndrassy

Thank you JAndrassy, I have installed the esp8266 lwIP_enc28j60 library as you suggested and it works properly but I don't found the function to run the "ping" command on an IP address on my local network trought the ENC28J60 device. Could you tell me where I can find an example of "ping" command? Or could you tell me where I can find the description of the syntax of the command? Thanks

Bruno1466 avatar Nov 08 '23 20:11 Bruno1466

I would try this library https://github.com/dancol90/ESP8266Ping

JAndrassy avatar Nov 09 '23 04:11 JAndrassy