This repository has been archived by the owner on Jul 29, 2024. It is now read-only.
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.