From: Michael R. Maletich Date: Sun, 27 Dec 2020 17:37:11 +0000 (-0600) Subject: Missing comma in base64 message (#9539) X-Git-Url: https://git.basschouten.com/?a=commitdiff_plain;h=8cbd358b848b1b47539f36609bd7bd40167e5134;p=openhab-addons.git 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 --- diff --git a/bundles/org.openhab.binding.serial/README.md b/bundles/org.openhab.binding.serial/README.md index 522cc1f4a2..dfba76292e 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 |