]> git.basschouten.com Git - openhab-addons.git/commit
[dsmr] Fix payload length calculation for Smarty meters (#11328)
authorHilbrand Bouwkamp <hilbrand@h72.nl>
Thu, 30 Sep 2021 20:59:54 +0000 (22:59 +0200)
committerGitHub <noreply@github.com>
Thu, 30 Sep 2021 20:59:54 +0000 (22:59 +0200)
commit1b80f1d492c342048dd67907f86e3304f28fdb07
treed6b578575b3fcc4c771202366d5324372f467f1f
parent46e1b675cbaefe71f8c51c0da9776023903e67ee
[dsmr] Fix payload length calculation for Smarty meters (#11328)

Fixes #10932
Supersedes #10933 and adds a unit test.

Also-by: Alexander Hotz <alex.hotz@gmail.com>
Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
bundles/org.openhab.binding.dsmr/src/main/java/org/openhab/binding/dsmr/internal/device/SmartyDecrypter.java
bundles/org.openhab.binding.dsmr/src/test/java/org/openhab/binding/dsmr/internal/device/SmartyDecrypterTest.java
bundles/org.openhab.binding.dsmr/src/test/resources/org/openhab/binding/dsmr/internal/smarty_long.telegram [new file with mode: 0644]