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 zigbee.py library installed on the ConnectPortX2 is rather limited. Serial pins on XBee adapters are disabled to make room for more I/O.
What is the best method to ascertain whether the mesh network is sleeping?
1. xbee.ddo_get_param(addr, 'D9')
2. xbee.ddo_get_param(addr, 'SS')
3. N/A since the device is sleeping and will timeout
4. a better approach