Skip to content

Releases: niolabs/python-xbee

v1.9.1

18 Mar 11:02
Compare
Choose a tag to compare
  • Added support for I/O sample data packet with 64-bit addressing.
  • Fixed bug where threading.Thread library was not properly initalized in all use cases.
  • Added initial documentation.
  • Properly included distutils_extensions.py in source distribution archives.

v1.9.0

18 Mar 11:08
Compare
Choose a tag to compare
  • Implemented Dispatch helper as xbee.helpers.dispatch.
  • Dispatch allows one to filter incoming packets between one or more handler functions. This simplifies application logic which must handle more than one packet type. Automated tests are now run as a part of the build process.
  • nose must be installed for this feature to operate. If it is not installed, the tests will be skipped and a warning will be generated.
  • A 'test' command has been added to setup.py.

v1.8.0

18 Mar 11:06
Compare
Choose a tag to compare
  • Implemented threading support
  • If a callback method is given to the XBeeBase constructor, a new thread will automatically be spawned. This thread will read from the serial port and call the given callback method whenever a valid data packet arrives.
  • XBeeBase.halt() was added. This method ensures the proper shutdown of a separate thread if one has been spawned. This method must be called before closing the serial port used by an XBee instance in order to prevent improper use of the serial port.

v1.7.1

18 Mar 11:01
Compare
Choose a tag to compare
  • Bug fix: Now supports receiving I/O data with 64-bit addressing.
  • Previously, an exception was raised when a packet with ID 0x82 arrived, which contains I/O samples with a 64-bit source address. This has been fixed.

v1.7.0

18 Mar 11:00
Compare
Choose a tag to compare
  • Now supports both Series 1 and Series 2 modules (the API turned out to be the same).
  • API frame logic was split into its own class, APIFrame.
  • XBee renamed to XBeeBase.
  • XBee1 renamed to XBee.
  • Tests updated to reflect changes; API frame tests moved to test_frame.py, now test APIFrame instead of XBee base class.
  • Test files renamed appropriately.
  • PyLint score improved.
  • Various docstring updates.
  • Updated example code to reflect changes.

v1.5.0

18 Mar 10:57
Compare
Choose a tag to compare
v1.5.0 Pre-release
Pre-release
  • Initial Packaging.
  • Fully restructured into a unified API with tests.