niolabs / python-xbee

Python tools for working with XBee radios
MIT License
101 stars 45 forks source link

Mangled response frames using digmesh #70

Open mypiandrew opened 5 years ago

mypiandrew commented 5 years ago

Using an S8 868LP module

When running local at command SH/SL and DH/DL remotely I get back mangled first byte of the L side in each case

{'status': '\x00', 'frame_id': '5', 'parameter': '\x00\x13\xa2\x00', 'command': 'SH', 'id': 'at_response'}
{'status': '\x00', 'frame_id': '6', 'parameter': 'A]\x16\x91', 'command': 'SL', 'id': 'at_response'}

{'status': '\x00', 'reserved': '\xff\xfe', 'frame_id': '8', 'command': 'DH', 'source_addr': '\x00\x13\xa2\x00A\x87\xb5\xd4', 'parameter': '\x00\x13\xa2\x00', 'id': 'remote_at_response'}
{'status': '\x00', 'reserved': '\xff\xfe', 'frame_id': '9', 'command': 'DL', 'source_addr': '\x00\x13\xa2\x00A\x87\xb5\xd4', 'parameter': 'A]\x16\x91', 'id': 'remote_at_response'}

Also the output of DN run locally gives corrupted Status info "@" ?

{'status': '@', 'frame_id': 'A', 'parameter': '\xff\xfe\x00\x13\xa2\x00A\x87\xb5\xd4', 'command': 'DN', 'id': 'at_response'}