The details:
Python scripts are run from ConnectPortX2
The remote sleeping nodes are DigiMesh 2.4 drop-in networking adapters (analog, digital I/O, RS-485, etc.) The ConnectPortX2 is the sleep coordinator.
The challenge:
The zigbee.py library installed on the ConnectPortX2 is rather limited. Serial pins on XBee adapters are disabled to make room for more I/O.
The question:
What is the best method to ascertain whether the mesh network is sleeping?
The choices:
- xbee.ddo_get_param(addr, ‘D9’)
- xbee.ddo_get_param(addr, ‘SS’)
- N/A since the device is sleeping and will timeout
- a better approach