case classOpen(port: String, settings: SerialSettings, bufferSize: Int = 1024) extends Command with Product with Serializable
Open a new serial port.
Send this command to the serial manager to request the opening of a serial port. The manager will
attempt to open a serial port with the specified parameters and, if successful, create a SerialOperator actor associated to the port.
The operator actor acts as an intermediate to the underlying native serial port, dealing with threading issues and dispatching messages.
In case the port is successfully opened, the operator will respond with an Opened message.
In case the port cannot be opened, the manager will respond with a CommandFailed message.
port
name of serial port to open
settings
settings of serial port to open
bufferSize
maximum read and write buffer sizes
Linear Supertypes
Serializable, Serializable, Product, Equals, Command, Message, AnyRef, Any
Ordering
Alphabetic
By Inheritance
Inherited
Open
Serializable
Serializable
Product
Equals
Command
Message
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Instance Constructors
newOpen(port: String, settings: SerialSettings, bufferSize: Int = 1024)
Open a new serial port.
Send this command to the serial manager to request the opening of a serial port. The manager will attempt to open a serial port with the specified parameters and, if successful, create a
SerialOperator
actor associated to the port. The operator actor acts as an intermediate to the underlying native serial port, dealing with threading issues and dispatching messages.In case the port is successfully opened, the operator will respond with an
Opened
message. In case the port cannot be opened, the manager will respond with aCommandFailed
message.name of serial port to open
settings of serial port to open
maximum read and write buffer sizes