Update README.md (#15008)
The field name for the speed of the serial interface is baudrate and not baud. At least this is what I had to implement in OH3.4.4. Signed-off-by: David Martin <david@itbeyond.com.au>
This commit is contained in:
parent
39e285257e
commit
7ff5715dea
|
@ -66,7 +66,7 @@ The following table shows the available configuration parameters for each thing.
|
||||||
|-----------|-----------------------------------------------------------------------------------------------------|
|
|-----------|-----------------------------------------------------------------------------------------------------|
|
||||||
| bridge | `serialPort` - Serial port for the bridge - Required |
|
| bridge | `serialPort` - Serial port for the bridge - Required |
|
||||||
| | `protocol` - Protocol used for the communication (Binary, Ascii) - Required - Default = Binary |
|
| | `protocol` - Protocol used for the communication (Binary, Ascii) - Required - Default = Binary |
|
||||||
| | `baud` - Baud rate of the bridge - Required - Default = 9600 |
|
| | `baudrate` - Baud rate of the bridge - Required - Default = 9600 |
|
||||||
| | `maxZoneNumber` - Maximum zone number to be added during discovery - Required - Default = 16 |
|
| | `maxZoneNumber` - Maximum zone number to be added during discovery - Required - Default = 16 |
|
||||||
| partition | `partitionNumber` - Partition number (1-8) - Required |
|
| partition | `partitionNumber` - Partition number (1-8) - Required |
|
||||||
| zone | `zoneNumber` - Zone number (1-192) - Required |
|
| zone | `zoneNumber` - Zone number (1-192) - Required |
|
||||||
|
@ -282,7 +282,7 @@ The binding supports the following actions on the respective things.
|
||||||
The following is an example of a things file (caddx.things):
|
The following is an example of a things file (caddx.things):
|
||||||
|
|
||||||
```java
|
```java
|
||||||
Bridge caddx:bridge:thebridge "Bridge" [ protocol="Binary", serialPort="/dev/ttyUSB0", baud=38400, maxZoneNumber=18 ] {
|
Bridge caddx:bridge:thebridge "Bridge" [ protocol="Binary", serialPort="/dev/ttyUSB0", baudrate=38400, maxZoneNumber=18 ] {
|
||||||
Thing partition partition1 "Groundfloor alarm" [ partitionNumber=1 ]
|
Thing partition partition1 "Groundfloor alarm" [ partitionNumber=1 ]
|
||||||
Thing zone zone1 "Livingroom motion sensor" [ zoneNumber=1 ]
|
Thing zone zone1 "Livingroom motion sensor" [ zoneNumber=1 ]
|
||||||
Thing zone zone2 "Bedroom motion sensor" [ zoneNumber=2 ]
|
Thing zone zone2 "Bedroom motion sensor" [ zoneNumber=2 ]
|
||||||
|
|
Loading…
Reference in New Issue