OptionalbaudOptionalbufferOptionaldataOptionalfiltersFilters 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.
OptionalflowOptionallineLimits for the incomplete line tail held by SerialSession.lines$ framing. When exceeded, leading characters are discarded and a non-fatal SerialErrorCode.LINE_BUFFER_OVERFLOW is emitted on SerialSession.errors$.
OptionalparityOptionalreceiveOptional 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$.
OptionalstopOptionalterminalLimits for SerialSession.terminalText$ display memory. Oldest completed lines and leading characters are dropped when exceeded.
Options for creating a SerialSession via createSerialSession.
Composes Partial<SerialConnectionOptions> (W3C connection parameters passed to
port.open) with SerialSessionFeatureOptions (library-specific session features). All connection fields are optional; omitted values fall back to DEFAULT_SERIAL_SESSION_OPTIONS (baudRate9600,dataBits8,stopBits1,parity'none',bufferSize255,flowControl'none').Example
See