niolabs / python-xbee

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

Support for Route Record Indicator packets #14

Closed jamesleesaunders closed 8 years ago

jamesleesaunders commented 8 years ago

When using the Python Xbee library in callback mode the callback thread crashes if it receives an API Route Record Indicator (type a1) packet. Error: Unrecognized response packet with id byte \xa1

This then renders the python program dead as it is unable to process any further received packets.

  1. Add supports to the Zigbee API dictionary for Route Record Indicator type packets.
  2. Look st whether it is really necessary to break (therefore crash CB thread) if the library receives a packet type it does not know - should it rather just warn?

Jim

jamesleesaunders commented 8 years ago

PR #15 fixes point 1.

jamesleesaunders commented 8 years ago

Closing this issue as superseded by pull request #15.