A scoped Layer that starts a browser Modbus ASCII server over the Web
Serial API. See wasmSerialRtuServerLayer for shared details (the
serialPort source, and the serve()-forking behavior).
Parameters
options: WasmSerialServerOptions
Serial port, baud rate, unit ID, etc.
handlers: ServerHandlers
Callback functions that handle incoming Modbus requests.
A scoped Layer that starts a browser Modbus ASCII server over the Web Serial API. See wasmSerialRtuServerLayer for shared details (the
serialPortsource, and theserve()-forking behavior).