0.1.1
Class creating a new serial bridge to manage serial ports.
Extends EventEmitter
(object
= {}
)
Name | Description |
---|---|
options.portFilter function
(default (port)=>port.manufacturer==='SparkFun'&&port.productId )
|
Filter the serial ports to address. |
options.baudRate number
(default 57200 )
|
Baud rate |
options.interCommandDelay number
(default 100 )
|
Time to wait between commands in [ms] |
options.defaultCommandExpirationDelay number
(default 100 )
|
Time to wait for answer before timeout |