3 mod.watchdogenable(timeout), 4 mod.watchdogreset()11, 5 mod.watchdogdisable()11 – Rainbow Electronics GM862-GPS User Manual
Page 44: 4 mod.watchdogreset(), 5 mod.watchdogdisable()

Easy Script
in Python
80000ST10020a Rev.8 - 01/10/08
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved
page 44 of 100
blocks Python script for 1.5 s.
NOTE: the parameter sleeptime can assume integer values is in the following range [0,32767]
2.7.3 MOD.watchdogEnable(timeout)
11
Protects system against script blocking by performing automatic reboot of the module when the
watchdog reaches determined value. Input parameter timeout is an integer, which is measured in
seconds and represents time to waiting before executing software restart. No return value.
Example:
MOD.watchdogEnable(50)
after 50sec from execution of this command module will be rebooted.
2.7.4 MOD.watchdogReset()
Restarts watchdog counter that has been previously activated with the command
MOD.watchdogEnable(timeout) preventing in this way reboot of the module. It should be added in
every part of the script that can cause a script blocking (loops, etc) and is used only when Python
watchdog is enabled. No input value. No return value.
Example:
MOD.watchdogReset()
Restarts Python watchdog counter.
2.7.5 MOD.watchdogDisable()
Disables Python watchdog that has been previously activated with the command
MOD.watchdogEnable(timeout). Python watchdog should be disabled before scripts critical lines such
as import, since it takes a long time and then enabled again after. No input value. No return value.
Example:
MOD.watchdogDisable()
11
feature available for the modules with the following Order-Num. : GM862PYT***-***, , GE863PYT***-***, ,
GM862GPS***-***, GE863GPS***-***, GC864PYT***-*** GC864PC2***-***, GE864PYH***-***,and the old
3990250657 and 3990250660