From: lolodomo Date: Mon, 15 Aug 2022 15:31:47 +0000 (+0200) Subject: [serial] Allow custom baudrate and add option 2400 (#13265) X-Git-Url: https://git.basschouten.com/?a=commitdiff_plain;h=8e8eb059fd9a4a873aa37683ef37d95647bc4d65;p=openhab-addons.git [serial] Allow custom baudrate and add option 2400 (#13265) Fix #13131 Signed-off-by: Laurent Garnier --- diff --git a/bundles/org.openhab.binding.serial/src/main/resources/OH-INF/i18n/serial.properties b/bundles/org.openhab.binding.serial/src/main/resources/OH-INF/i18n/serial.properties index ddaaebd32d..7c964a99df 100644 --- a/bundles/org.openhab.binding.serial/src/main/resources/OH-INF/i18n/serial.properties +++ b/bundles/org.openhab.binding.serial/src/main/resources/OH-INF/i18n/serial.properties @@ -14,6 +14,7 @@ thing-type.serial.serialDevice.description = Represents a device thing-type.config.serial.serialBridge.baudRate.label = Baud Rate thing-type.config.serial.serialBridge.baudRate.description = Set the baud rate +thing-type.config.serial.serialBridge.baudRate.option.2400 = 2400 thing-type.config.serial.serialBridge.baudRate.option.4800 = 4800 thing-type.config.serial.serialBridge.baudRate.option.9600 = 9600 thing-type.config.serial.serialBridge.baudRate.option.19200 = 19200 diff --git a/bundles/org.openhab.binding.serial/src/main/resources/OH-INF/thing/thing-types.xml b/bundles/org.openhab.binding.serial/src/main/resources/OH-INF/thing/thing-types.xml index 09a67ec444..632d46fc4e 100644 --- a/bundles/org.openhab.binding.serial/src/main/resources/OH-INF/thing/thing-types.xml +++ b/bundles/org.openhab.binding.serial/src/main/resources/OH-INF/thing/thing-types.xml @@ -26,8 +26,10 @@ true Set the baud rate + false 9600 +