MraaUartSettings class

UART settings as read back from the platform.

The device path can be set when passed to the settings function in which case this will be used rather than the UART device index, which itself must be set to -1. Any setting can be null on return from the settings function call.

Constructors

MraaUartSettings()

Properties

baudRate int
The current Baud rate (0–4M)
getter/setter pair
dataBits int
The number of data bits (5–8)
getter/setter pair
devicePath String
The device path of the UART, eg: /dev/ttyS0
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
name String
The name of the UART, not set by the settings API call the user must name the device themselves.
getter/setter pair
parity MraaUartParity
The current parity mode
getter/setter pair
rtsCts bool
True if CTS/RTS flow control is enabled, zero otherwise
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stopBits int
The number of stop bits (1-2)
getter/setter pair
xonXoff bool
True if xon/xoff flow control is enabled
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited