I’ve been using a connectport X8 and two Xbee radios for monitoring temperature and pressure, using a microcontroller. The thing is that i want to bind an specific socket to a specific radio. Lets say i have the destination address 00:13:a2:00:40:0a:62:60! and i want to associate it to the socket 30000, and only to this socket. I want that assure that this socket always listen to that specific destination address.
I’ve been working with the EmbeddedKitService.py and it has worked fine, but i’ve realized that the socket assignation is up to the time that it takes to the connectport to find the Xbee radio. If the radio is closer to the CP it will assing the first socket to it, and so on.
If i change the radios from their original position and run the python application, it will change the socket assignation and i don’t want this to happen.
I would really appreciate it if you could help me with these!!!