Releases: GideonLeGrange/panstamp-java
Version 2.2
- Added
requestValue()
toEndpoint
andRegister
to send SWAP query messages out to query registers/endpoints. - Fixed bug in
NumberEndpoint
which caused data corruption in some cases.
Version 2.1
- Added support for
ByteArrayEndpoint
type to be used withbtr
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
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
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
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
andEndpoint
to make it a bit easier for an application developer to write reliable code #14 - Made
Endpoint
andParameter
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
Several small fixes and improvements:
- Improved exception information on AT command decode errors.
- Added open/close events for Network.
- Implemented
AutoCloseable
on Network. - Added
isOutput()
to Endpoint - Fixed null pointer in some cases where
unit
onEndpoint
was null. - Fixed null pointers in
AbstractEndpoint.write()
implementations. - Added
getDirectory()
toFileLibrary
. - Fixed bug that caused
syncRequired
to not fire inPanStamp
. - Added
getSyncState()
convenience method toPanStamp
. - Fixed problem with
close()
onNetwork
losing state.
Version 1.1
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 bygetValue()
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
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
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.