This method activates the software watchdog protection of the system against script blocking by performing an automatic reboot of the module when the watchdog reaches a determined value. To avoid system reboot MOD.watchdogReset() command must be called periodically.
The input parameter timeout is an integer, which is measured in seconds and represents the time to wait before executing the system reboot. The timeout range is (1 ÷ 36000 (10 hours)).
No return value.
Example:
MOD.watchdogEnable(60)
activates watchdog that after 60sec from execution of this command will reboot the module unless MOD.watchdogReset() is called.