Skip to main content

UART

A Node object whose type is UART.

Configuration

UartNodeConfig
{
"baud_rate" : Integer,
"data_bits" : Integer,
"stop_bits" : Integer,
"parity" : String
}
Member nameTypeDescription
baud_rateIntegerBaud rate
data_bitsIntegerNumber of data bits: 6, 7 or 8
stop_bitsIntegerNumber of stop bits: 1 or 2
parityStringParity:
  • NONE
  • ODD
  • EVEN

Status

None

Inputs

Input nameConfigurableDescription
networkNoAssociated 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
}
}
}]
}