Home/Support/Support Forum/How is the use of zigbee transmit request?
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

How is the use of zigbee transmit request?

0 votes
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())
asked Apr 10, 2017 in Python by diegoscar New to the Community (0 points)

Please log in or register to answer this question.

1 Answer

0 votes
Have you looked over any of the sample python libraries devoted to your processor and the XBee? Generally you will find them on your Processors web site or from any of a number of 3rd party sites.
answered Apr 10, 2017 by mvut Veteran of the Digi Community (11,302 points)
Yes, and i did not find useful information
Are you receiving the data that you sent from radio 1 on radio 2? You can verify that using XCTU and its Terminal tab.  If possible, you may want to use a port monitor software to see if your code is doing what you think it is. That is if it is trying to read the port or not.
...