0

I would like to find out if the standard Arduino Ethernet library handles possible re-connections automatically like ESP8266WiFi library does with wifi.

If for some reason the Ethernet connection, that has been established with

Ethernet.begin(mac, ip);

is lost do I have to establish a new connection in my sketch?

thermike
  • 1
  • 1
  • 5
  • it can't be lost. it is still one device on network if the cable is not connected – Juraj Jan 14 '21 at 10:43
  • I think this conversation explains the issue in detail: [link] https://forum.arduino.cc/t/reconnecting-to-ethernet/100652 – thermike Jun 06 '21 at 13:33
  • for unplugged cable there is now Ethernet.linkStatus(); with example in IDE Examples menu – Juraj Jun 06 '21 at 15:04

0 Answers0