User`s guide

Digi-specific Python modules for programming
87
Digi-specific Python modules for programming
Several Digi-provided built-in modules apply to functionality in the ConnectPort X2e ZB. To learn
more about these built-in modules, go to:
http://www.digi.com/wiki/developer/index.php/ConnectPort_X2e
From that page, navigate to the information pages on these modules:
digihw: Provides an interface to local hardware.
idigimsg: This is an internal module with functions used by iDigi Dia and Smart Energy
Framework.
rci: Provides a mechanism for processing arbitrary RCI request strings, as well as a
means to set up callbacks to allow Python scripts to respond to remote requests made via
specialized RCI commands.
uptime: Allows access to the Linux gettime function for various clocks.
watchdog: A safeguard that an application can use for critical operations, in which, if
the application threads do not service their watchdog within the promised interval, the
entire system reboots.
xbee: A collection of utility methods for programming the XBee RF module on the
ConnectPort X2e ZB device. It also includes the Python XBee socket interface support.
digisms: For low-level, generic SMS message handling.
idigisms: For communicating using iDigi’s SMS protocol to/from iDigi.