I am creating a sketch that needs to be completely fail-proof, since the arduino will be put in a place that isn't easily accessible. It measures the delay between 2 points using a Ethernet shield and a 4G wireless to ethernet converter, Since the connection to the main server might be unstable, the arduino might become unstable too (Unexpected incoming data for example). And then it might lock up. That is a problem when i can't access it. So i need to add a watchdog timer. But you can only go up to a max of 8 seconds! The arduino needs to ping stuff while in the loop and the ping might timeout, which takes like 30 seconds before it says it failed. during that time the arduino won't respond to anything else. Including resetting the watchdog timer. So in case if i do a traceroute from the arduino and it takes a bit long, would mean it would just suddenly restart the arduino. So i need the watchdog to be something like 5 minutes before it resets the arduino. How can i do this when it goes only to a max of 8 seconds?
Thanks in advance! :)