Skip to content

Releases: GideonLeGrange/panstamp-java

Version 2.2

17 Feb 12:55
Compare
Choose a tag to compare
  • Added requestValue() to Endpoint and Register to send SWAP query messages out to query registers/endpoints.
  • Fixed bug in NumberEndpoint which caused data corruption in some cases.

Version 2.1

03 Nov 19:38
Compare
Choose a tag to compare
  • Added support for ByteArrayEndpoint type to be used with btr type in XML for transmitting and receiving byte arrays.
  • Fixed problem when parsing really large device ID numbers in XML (used to indicate un-programmed devices)

Version 2.0.2

20 Sep 07:38
Compare
Choose a tag to compare

This is a bug fix release. The following problems were addressed:

  • The parsing of device definition files were improved to stop strange, silent failures if the XML definitions were incomplete or missing.
  • Improved error messages in serial code.
  • Added optional serial modem message logging to assist in future debugging.
  • Fixed serial modem code to robustly handle unexpected input such as blank space lines or empty lines.

Version 2.0.1

20 Aug 19:42
Compare
Choose a tag to compare

This is a minor bug fix release.

  • Fixed bug in binary endpoints when trying to set a register for which the current value isn't known.
  • Fixed bug causing wrong endpoint values when unit was explicitly set.
  • Improved device detection / product code assignment for new device.

Version 2.0

13 Aug 20:05
Compare
Choose a tag to compare

Several small fixes and enhancements. Version bumped to 2.0 due to non-backwards compatible public method name changes in PanStamp

  • Fixed strange exception that sometimes occurred when connecting to modem that caused data corruption #9
  • Fixed method naming problems ('gateway' vs 'network') in PanStamp #12
  • Fixed bug that caused a command to be sent to the network when updating registers from a device store #13
  • Enforce uniqueness of event listeners in Network, PanStamp, Register and Endpoint to make it a bit easier for an application developer to write reliable code #14
  • Made Endpoint and Parameter comparable to allow for a natural ordering based on their register sequence (since that internal information isn't exposed)
  • Other small code cleanups and fixes

Version 1.2

07 May 12:46
Compare
Choose a tag to compare

Several small fixes and improvements:

  • Improved exception information on AT command decode errors.
  • Added open/close events for Network.
  • Implemented AutoCloseableon Network.
  • Added isOutput() to Endpoint
  • Fixed null pointer in some cases where unit on Endpoint was null.
  • Fixed null pointers in AbstractEndpoint.write() implementations.
  • Added getDirectory() to FileLibrary.
  • Fixed bug that caused syncRequired to not fire in PanStamp.
  • Added getSyncState() convenience method to PanStamp.
  • Fixed problem with close() on Network losing state.

Version 1.1

13 Apr 09:07
Compare
Choose a tag to compare

Version 1.1 adds better control over the units used by Endpoint when retrieving a value or receiving an event. The following new methods are available on Endpoint:

  • String getUnit() - return the unit currently set as default for the endpoint. Values returned by getValue() are scaled using this unit.
  • void setUnit(String unit) - set the unit to use as default for the endpoint.

Some internal changes were made to accommodate the implementation the new functionality.

Version 1.0.1

08 Apr 05:05
Compare
Choose a tag to compare

This is a minor code quality and bug fix release. Changes from v1.0:

  • Fixed a bug that turned binary input values into junk.
  • Fixed a bug that caused PanStamp to throw an exception if the product code isn't set
  • Improved the way the register listener in AbstractEndpoint is constructed
  • Improved the way the system state and product code listeners where added in the PanStamp constructor
  • Removed unused imports in several places
  • Removed some forgotten debug prints from the Serial IO code.

Version 1.0

23 Mar 20:50
Compare
Choose a tag to compare

This is the first release of the panstamp-java library. While the wiki documentation is still in progress, the code is complete and it has been released into Maven Central.