Digi-specific Python modules for programming
Several Digi-provided built-in modules apply to functionality in XBee Gateway and are documented in the ConnectPort X2e section in the Digi Python Wiki Archive Reference Manual. From that section, you can go to the information pages on these modules:
- digihw: Provides an interface to local hardware.
- idigimsg: This is an internal module with functions used by 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 XBee Gateway. It also includes the Python XBee socket interface support.
- digisms: For low-level, generic SMS message handling.
- idigisms: For communicating using Remote Manager SMS protocol to or from Remote Manager.