RNS::SerialInterface
Inherits RNS::Interface < Reference < Object
Serial port communication interface using HDLC framing. Ports RNS/Interfaces/SerialInterface.py using POSIX termios.
Constants
DEFAULT_IFAC_SIZE = 8
MAX_CHUNK = 32768
PARITY_EVEN = :even
PARITY_NONE = :none
Parity modes
PARITY_ODD = :odd
Constructors
Instance methods
close_port
Sourceconfigure_device
Sourcedatabits
Sourcedo_open_port
Sourceparity
Sourceport
Sourceprocess_outgoing(data : Bytes)
Send data out through the interface. Subclasses must implement this.
reconnect_port
Sourceshould_ingress_limit?
Determine when an interface should activate ingress limiting. Subclasses may override for different behavior.
speed
Sourcestopbits
Sourceteardown
Tear down the interface, releasing any resources (sockets, fibers, etc.). Subclasses should override to close their specific resources.
timeout
Source