openhab-core
openhab-core copied to clipboard
[serial-transport] [WIP] jSerialComm - Initial Contribution
Alternative Serial Port Provider based on https://github.com/Fazecast/jSerialComm.
From website: jSerialComm is a Java library designed to provide a platform-independent way to access standard serial ports without requiring external libraries, native code, or any other tools. It is meant as an alternative to RxTx and the (deprecated) Java Communications API, with increased ease-of-use, an enhanced support for timeouts, and the ability to open multiple ports simultaneously.
Regarding jSerialComm :
- it supports Apple Silicon
- there is already another OH binding using it: ProteusEcoMeter (not using OH Serial Transport).
This is a PoC of a new transport based on jSerialComm. Few features still have to be sorted out as the mapping with OH serial tranport / RxTx is not always straight forward.
Related to #3982