Hi everybody,
I need to communicate 4 xbees( 1 coordinator and 3 routers). When i’m writing the command in python xbee.send( “tx”,dest_addr= ‘\xff\xfe’, data = “hello”)from coordinator to one router,i have no response of command xbee.wait_read_frame(). i run python2.7.9 from Raspberry model B+. So if anybody can help supporting this issue i’m gonna be entire gratefull with. Please this problem is really urgent cause i depend of this to continue with my final degree work.
this is the code:
from xbee import XBee, ZigBee
import serial
puerto=‘/dev/ttyAMA0’
baud_rate=9600
rout=serial.Serial(puerto,baud_rate)
xbee=XBee(rout)
print(conectando puerto serial)
xbee.send( “tx”,dest_addr= ‘\xff\xfe’, data = “hello”)
print(xbee.wait_read_frame())