|
#define TIMEOUT 12000 // * 5ms = 1 minute |
When using an Ethernet Shield based on W5500 hardware, a timeout of 1 minute is too little. With W5500 hardware (and possibly others), connect operations can take up to 31.8 seconds (see #9 ) so then the 1 minute is easily reached. My proposal would be to set this timeout to 36000 (3 minutes).
SolarMeter/WatchDog.ino
Line 4 in 8f2cf97
When using an Ethernet Shield based on W5500 hardware, a timeout of 1 minute is too little. With W5500 hardware (and possibly others), connect operations can take up to 31.8 seconds (see #9 ) so then the 1 minute is easily reached. My proposal would be to set this timeout to 36000 (3 minutes).