Private SLIP_Private SLIP_Private SLIP_Private SLIP_Private bufferPrivate lastPrivate onPrivate readerPrivate traceConnect to serial device using the Webserial open method.
Number baud rate for serial connection. Default is 115200.
Serial Options for WebUSB SerialPort class.
Private detectRead from serial device without SLIP formatting. Calls onData for each chunk. Stops when isClosed() returns true or the stream ends/errors.
Callback for each chunk of data read
Function that returns true when reading should stop (e.g. when console is closed)
Send the dataTerminalReady (DTS) signal to given state
Boolean state to set the signal
Send the RequestToSend (RTS) signal to given state
Boolean state to set the signal
Generated using TypeDoc
Wrapper class around Webserial API to communicate with the serial device.
Param
Requested device prompted by the browser.