Releases: jnk-cons/easy-rscp
Releases · jnk-cons/easy-rscp
v2.3.1
V2.3.0
v2.2.2
v2.2.1
v2.2.0
- Fixed wrong return code if a data block is in error
- #21) Service to control the manual charging system
- The ChargingService has been expanded to include the following functions
- readManualChargeState() -> Reading out the current status of a manual storage tank charge
- setManualCharge(amountWh) -> Starting a manual storage tank charge
- stopManualCharge() -> Stopping a manual storage tank charge
- BatTag and EMSTag enums have been expanded to include a number of tags relating to the battery system
- The ChargingService has been expanded to include the following functions
- #23) Fixed Training Mode
- The status of the battery training mode was interpreted as a Boolean in version 2.1.0. However, it is actually an enum. This has been fixed
- The boolean value trainingModeActive is now deprecated and scheduled for removal in 2.4.0
- #22) Add emergency power related Tags and a new service for controlling the emergency power system
- BatTag and EMSTag enums have been expanded to include a number of tags relating to emergency power system
- A new service EmergencyPowerService has been created
- readState() -> Reads out the status of the emergency power function
- setReserveWH(reserve) -> Configuring the emergency power reserve in watt hours
- setReservePercentage(reserve) -> Configuring the emergency power reserve as a percentage relative to the battery capacity
- removeReserve() -> Removes a configured emergency power reserve
v2.1.0
- #2) DataBuilder().none() is optional, now
- It To create a data block of data type
NONE
, the functionnone()
must no longer be called explicitly. This behavior is now default. - The examples in the documentation have been adjusted.
- It To create a data block of data type
- #13) BatteryService and more BatteryTags
- A whole host of new tags for the BAT namespace have now been added
- A new service for reading out battery information is available
- #14) Dependency updates
- slf4j: from 2.0.9 to 2.0.11
- BouncyCastle: from 1.76 to 1.77
- JUnit: from 5.10.0 to 5.10.1
- Mockk: from 1.13.7 to 1.13.9
- #15) TypeScript added to the documentation
- To avoid duplication, this documentation also contains the TypeScript examples for the sister project easy-rscp-js
- New API functions:
- Class Frame
- isDataBlockInError()
- errorCodeByTag()
- Class Data
- valueAsErrorCode
- New enum ErrorCode
- Class Frame