Watchdog
In previous generations, the digiwdog Python module was used to control the gateway watchdog:
- Create a watchdog object with Watchdog(timeout, name) constructor specifying the watchdog timeout and name.
- Invoke the stroke() method to update the watchdog periodically.

import digiwdog
import time
wd = digiwdog.Watchdog(10, "ForceReset")
while True:
wd.stroke()
time.sleep(1)
In the new XBee gateways, there is no access to the system watchdog.