Link Detection
Chip Cox
Posts: 73
Has anyone looked into anything regarding link detection. I want to display an error if there isn't a cable plugged in or if the other end isn't plugged in for example.
Thanks
Thanks
Comments
The status LED are off when the Spinneret is not connected to a network .
Thanks
You have to write the timeout logic. The client demo waits indefinitely until a connection is made. The status register will contain $00.
The web server is a little different as the server is listening; status = $14. If the Spinneret is not connected to the network, the code will wait forever.
I looked in the published W5100 data sheet and Spinneret schematic. I did not see a node where the Propeller is connected to the W5100 status lines. I could be wrong though.
Again I'm referencing the demo code and the published references. You're setup could be completely different.