[serial] Allow custom baudrate and add option 2400 (#13265)

Fix #13131

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
This commit is contained in:
lolodomo 2022-08-15 17:31:47 +02:00 committed by GitHub
parent 41fcdd6c71
commit 8e8eb059fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 0 deletions

View File

@ -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

View File

@ -26,8 +26,10 @@
<advanced>true</advanced>
<label>Baud Rate</label>
<description>Set the baud rate</description>
<limitToOptions>false</limitToOptions>
<default>9600</default>
<options>
<option value="2400">2400</option>
<option value="4800">4800</option>
<option value="9600">9600</option>
<option value="19200">19200</option>