Go Down

Topic: How to detect loss of ethernet network? (Read 1 time) previous topic - next topic

iisfaq

I have an Ethernet shield and am using the standard Ethernet library.

What is the best way to detect that for example the network is no longer available?

If I pull a cable out of my PC it knows pretty quickly that it is not there any more.

Is there a status I can check for?

Chris

johnwasser

You should probably look in the WizNet W5100 datasheet to see how to check the Ethernet status.
Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

SurferTim

The w5200 has a PHYSTATUS register to determine if the interface link is up or not. I do not believe the w5100 has that feature.

iisfaq

Probably a bit of my conform zone - I was hoping there was a quick and simple method.

Chris

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy