]> git.basschouten.com Git - openhab-addons.git/commitdiff
Missing comma in base64 message (#9539)
authorMichael R. Maletich <maleticm@gmail.com>
Sun, 27 Dec 2020 17:37:11 +0000 (11:37 -0600)
committerGitHub <noreply@github.com>
Sun, 27 Dec 2020 17:37:11 +0000 (18:37 +0100)
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 <maleticm@gmail.com>
bundles/org.openhab.binding.serial/README.md

index 522cc1f4a2cc5c1d32a5b1fbea2d2265ea4fe76d..dfba76292e9b43c324d93889b6d3f5a88e3ac44e 100644 (file)
@@ -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                                                                                                                                     |