Options for WasmAsciiTransportService. WasmAsciiTransport.open() takes the
serial port handle and the connection options as two separate arguments; this
combines them into one object so it fits createTransportScoped's single-options
shape, with port destructured back out inside the service's openMethod.
Obtain the port handle with requestSerialPort. Call it from a browser
user-gesture handler because the browser may require transient user activation.
Options for WasmAsciiTransportService.
WasmAsciiTransport.open()takes the serial port handle and the connection options as two separate arguments; this combines them into one object so it fits createTransportScoped's single-options shape, withportdestructured back out inside the service'sopenMethod.Obtain the
porthandle with requestSerialPort. Call it from a browser user-gesture handler because the browser may require transient user activation.