My connectport X4 version is 802.15.4, and the firmware is 184.108.40.206. I have already received the message from XBee s1 by using socket.recvfrom() function.
However, as we know that through its function we can get two returning values, one is the message and the other is the sender's address.
The problem that puzzles me too much is that I can not get the sender's address. Instead, I get the address is "('!', 0, 0, 0, 0, 0)".
Here are some parts of my python codes:
sock = socket(AF_XBEE, SOCK_DGRAM, XBS_PROT_TRANSPORT)
print "Binding to Digi Mesh"
sock.bind(("", 0x00, 0, 0))##If I change to sock.bind(("", 0xe8, 0, 0)), I could not receive any message.
I don't know how to distinguish the messages from different Xbee s1 when they send messages at the same time.