From 8cbd358b848b1b47539f36609bd7bd40167e5134 Mon Sep 17 00:00:00 2001 From: "Michael R. Maletich" Date: Sun, 27 Dec 2020 11:37:11 -0600 Subject: [PATCH] Missing comma in base64 message (#9539) In trying the example I got an error from the serial binding. But by adding a `,` the serial binding was able to handle the example. Signed-off-by: Michael R. Maletich --- bundles/org.openhab.binding.serial/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bundles/org.openhab.binding.serial/README.md b/bundles/org.openhab.binding.serial/README.md index 522cc1f4a..dfba76292 100644 --- a/bundles/org.openhab.binding.serial/README.md +++ b/bundles/org.openhab.binding.serial/README.md @@ -66,7 +66,7 @@ The channels supported by the `serialBridge` are: | Channel | Type | Description | |----------|------------------|----------------------------------------------------------------------------------------------------------| | `string` | String | Channel for sending/receiving data as a string to/from the serial port. The channel will update its state to a StringType that is the data received from the serial port. A command sent to this channel will be sent out as data through the serial port. | -| `binary` | String | Channel for sending/receiving data in Base64 format to/from the serial port. The channel will update its state to a StringType which is the string representation of a RawType that contains the data received from the serial port. A command sent to this channel must be encoded as the string representation of a RawType, e.g. `"data:application/octet-stream;base64 MjA7MDU7Q3Jlc3RhO0lEPTI4MDE7VEVNUD0yNTtIVU09NTU7QkFUPU9LOwo="` | +| `binary` | String | Channel for sending/receiving data in Base64 format to/from the serial port. The channel will update its state to a StringType which is the string representation of a RawType that contains the data received from the serial port. A command sent to this channel must be encoded as the string representation of a RawType, e.g. `"data:application/octet-stream;base64,MjA7MDU7Q3Jlc3RhO0lEPTI4MDE7VEVNUD0yNTtIVU09NTU7QkFUPU9LOwo="` | | `data` | system.rawbutton | Trigger which emits `PRESSED` events (no `RELEASED` events) whenever data is available on the serial port |