Pages: 1 [2]   Go Down
Author Topic: Reset ethernet connection  (Read 1752 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Full Member
***
Karma: 0
Posts: 128
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
a Nanode, which uses a ENC28J60 ethernet controller.
Ah. That makes it a lot tougher.
The ethercard library works very well though and sends energy data to Pachube https://pachube.com/feeds/34843, but I want to develop a Watchdog to reboot the Nanode if the DHCP/DNS gets screwed up (which happens if my internet connection is temporarily lost).
A colleague has just emailed my and suggested the possibility of using Pachube's return HTTP status code, i.e. Pachube sends a 200 for OK, 404 for not found etc. instead of accessing a website such as google.com, but either would do.
Logged

Pages: 1 [2]   Go Up
Jump to: