Open JadKHaddad opened 2 weeks ago
get_serial_ports
serial_ports_event
tag
initialReadState
read | stop
baudRate
dataBits
five | six | seven | eight
flowControl
none | software | hardware
parity
none | odd | even
stopBits
one | two
timeout
0
secs
nanos
Data structures are defined in open-options.ts and managed-serial-port.ts
open-options.ts
managed-serial-port.ts
@fabianbernhart please take a look at this
Beatiful :)
get_serial_ports
andserial_ports_event
.Options
tag
: An optional identifier to the connected device. Used to retrieve saved packets for a certain device. (wp)initialReadState
:read | stop
baudRate
: A positive number with pre configured values:dataBits
:five | six | seven | eight
flowControl
:none | software | hardware
parity
:none | odd | even
stopBits
:one | two
timeout
: Read timeout for the device:0
means no timeout.secs
: Positive numbernanos
: Positive numberData structures are defined in
open-options.ts
andmanaged-serial-port.ts