Greig/Randy
Been testing with a simulated "network failure" and allowing the boards to reconnect. What I've found is that the boards wont connect on their own after pulling the RJ-45 out, leaving for a minute and putting back in.
Test patients are
1) Mega with W5100 card (All clones)
2) Etherten card
Both are doing exactly the same. After I plug the RJ45 back in I can click on the "reset" button against the device and they will both connect but they wont if I dont press the reset.
I tested this by setting an event:
1) If the device is in "connection failed" for more than 1 minute then reset
2) Event cannot be re-triggered for 1 minute
This seems to get the device back online now.
There seems to be 2 possibilities if the board goes AWOL
1) Power reset, that works fine as it will autoconnect
2) Network failure on the arduino
Is there logic on either side that can manage a network failure in the plugin or arduino code ? The event I've tested with seems to get the board back online ok....
No complaints, just observations. Prefer to fully understand before I implement and get a long face :-)
Pete
Been testing with a simulated "network failure" and allowing the boards to reconnect. What I've found is that the boards wont connect on their own after pulling the RJ-45 out, leaving for a minute and putting back in.
Test patients are
1) Mega with W5100 card (All clones)
2) Etherten card
Both are doing exactly the same. After I plug the RJ45 back in I can click on the "reset" button against the device and they will both connect but they wont if I dont press the reset.
I tested this by setting an event:
1) If the device is in "connection failed" for more than 1 minute then reset
2) Event cannot be re-triggered for 1 minute
This seems to get the device back online now.
There seems to be 2 possibilities if the board goes AWOL
1) Power reset, that works fine as it will autoconnect
2) Network failure on the arduino
Is there logic on either side that can manage a network failure in the plugin or arduino code ? The event I've tested with seems to get the board back online ok....
No complaints, just observations. Prefer to fully understand before I implement and get a long face :-)
Pete
Comment