OptionalbaudBaud rate for the serial port connection (bits per second).
Common values include 9600, 19200, 38400, 57600, 115200, etc. Must match the baud rate configured on the connected device.
OptionalbufferBuffer size for the underlying read stream, in bytes.
OptionaldataNumber of data bits per character (7 or 8).
OptionalfiltersFilters for port selection when requesting a port.
When specified, the port selection dialog will only show devices
matching these filters. Each filter can specify usbVendorId and/or
usbProductId.
OptionalflowFlow control mode.
OptionalparityParity checking mode.
OptionalreceiveOptional receive replay: retain recent decoded text chunks so late subscribers to SerialSession.receiveReplay$ can read buffered data while a connection is active. Does not change SerialSession.receive$.
OptionalstopNumber of stop bits (1 or 2).
Options for creating a SerialSession via createSerialSession.
These options configure the serial port connection parameters used when calling
port.openandnavigator.serial.requestPort. All properties are optional; omitted fields fall back to DEFAULT_SERIAL_SESSION_OPTIONS.Example
See