Trying to communicate to the X2 using Python and calling the “socket” module. The app note says Digi has extended the standard Python socket. The command is:
from socket import *
DESTINATION=(“00:13:A2:00:40:68:04:BF!”, \ 0x5e, 0xc105, 0x703)
I keep getting a error “invalid token”. I am using the 16 digit Mac address of the X2, End Point 0x5e, profile ID 0xc105, Custer ID 0x703. I find these addresses on the iDigi appspot under the Network Tree.
Am I using the correct socket module that comes with Python ? Is there a unique Zigbee socket module somewhere ?
thanks