Hi everybody,
for the following frame type 0x83 (RX (Receive) Packet 16-bit Address IO), the following fields returned by python-bee are not correct :: 16-bit source address and RSSI.
The other fields are correct.
Does anyone know how to fix this ?
Thank you
Below are my python scripts ::
##################################################
import serial
from xbee import XBee
Hi everybody, for the following frame type 0x83 (RX (Receive) Packet 16-bit Address IO), the following fields returned by python-bee are not correct :: 16-bit source address and RSSI. The other fields are correct. Does anyone know how to fix this ? Thank you
Below are my python scripts :: ################################################## import serial from xbee import XBee
serial_port = serial.Serial('/dev/tty.usbserial-A104IBHK', 9600) xbee = XBee(serial_port)
while True: try: print xbee.wait_read_frame() except KeyboardInterrupt: break
serial_port.close() ################################################## import serial
serial_port = serial.Serial('/dev/tty.usbserial-A104IBHK', 9600)
while 1: a = serial_port.read() print hex(int(a.encode('hex'), 16)) ##################################################