Networking-for-Arduino / EthernetENC

Ethernet library for ENC28J60. This is a modern version of the UIPEthernet library. EthernetENC library is compatible with all Arduino architectures with Arduino SPI library with transactions support. Only include EthernetENC.h instead of Ethernet.h
135 stars 30 forks source link

Ping command with ENC28J60 + D1 mini Wemos ESP8266 #54

Open Bruno1466 opened 1 year ago

Bruno1466 commented 1 year ago

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

JAndrassy commented 1 year ago

why not use the esp8266 lwIP_enc28j60 library?

Bruno1466 commented 1 year ago

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

JAndrassy commented 1 year ago

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