python

XBee-2.1.0\build\lib\xbee\base.py

:
    #def __init__(self, ser, shorthand=True, callback=None, escaped=False):
    def __init__(self, ser, shorthand=True, callback=None, escaped=True):
:

XBee-2.1.0\examples\receive_samples.py

:
        response = xbee.wait_read_frame()
        print response
        data1 = response['rf_data']
        s0 = data1[0:4]
        s = binascii.b2a_hex(s0)
        print s
:


Please log in to post comments.