I'm trying to communicate two xbee ZB modules, in API mode, by implementing DIGI's xbee socket extension (actually, I don't know if it's really possible)
So, first part of my python code goes like this:
from socket import*
sd = socket(AF_ZIGBEE, SOCK_DGRAM, ZBS_PROT_TRANSPORT)
which obviously fails (error: name 'AF_ZIGBEE' is not defined) because I don't have the socket.AF_ZIGBEE module.
So my question is, how do I install this module?