UART
A Node object whose type is UART.
Configuration
UartNodeConfig{
"baud_rate" : Integer,
"data_bits" : Integer,
"stop_bits" : Integer,
"parity" : String
}
| Member name | Type | Description |
|---|---|---|
| baud_rate | Integer | Baud rate |
| data_bits | Integer | Number of data bits: 6, 7 or 8 |
| stop_bits | Integer | Number of stop bits: 1 or 2 |
| parity | String | Parity:
|
Status
None
Inputs
| Input name | Configurable | Description |
|---|---|---|
| network | No | Associated network subscription |
Example
As returned by get device:
{
"type" : "UART",
"index" : 0,
"configuration" : {
"baud_rate" : 57600,
"data_bits" : 8,
"stop_bits" : 1,
"parity" : "NONE"
},
"status" : {},
"inputs" : [{
"name" : "network",
"index" : 0,
"configuration" : {},
"status" : {
"source" : {
"ref_class" : "SUBSCRIPTION",
"ref_type" : "RS232",
"ref_index" : 0
}
}
}]
}