]> git.basschouten.com Git - openhab-addons.git/commit
[rfxcom] Read multiple bytes at a time over serial connection (#10832)
authorJames Hewitt <james.hewitt@gmail.com>
Sat, 12 Jun 2021 11:22:00 +0000 (12:22 +0100)
committerGitHub <noreply@github.com>
Sat, 12 Jun 2021 11:22:00 +0000 (13:22 +0200)
commit2b9a37efa9316f6daa3bfa75d87709fbfa75a064
treeb6854b52f61637e5576c5b6d7ce364078a46c2d4
parentf7815f8eb2f2ddc568d7ea9a878994b6ca553633
[rfxcom] Read multiple bytes at a time over serial connection (#10832)

There's no reason not to read multiple bytes at a time (that I could find) so
for best practice, set the read limit to be the maximum size of an rfxcom
message. Tested fine on my system.

Signed-off-by: James Hewitt <james.hewitt@uk.ibm.com>
bundles/org.openhab.binding.rfxcom/src/main/java/org/openhab/binding/rfxcom/internal/RFXComBindingConstants.java
bundles/org.openhab.binding.rfxcom/src/main/java/org/openhab/binding/rfxcom/internal/connector/RFXComSerialConnector.java
bundles/org.openhab.binding.rfxcom/src/main/java/org/openhab/binding/rfxcom/internal/connector/RFXComStreamReader.java