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?

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

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.