Timeout in ms. This is used to know when a request is considered finished.
A request is considered finished when the serial port stopped receiving data for more than the given timeout.
Returns
Promise<string>:
A promise resolving with response to the request
A function that will be called on each new discovered serial port. The
function will receive an object describing the port. An example can be found in the
Timeout in ms. This is used to know when a request is considered finished.
A request is considered finished when the serial port stopped receiving data for more than the given timeout.
Will refresh the list of ports. For each new port, will attempt to initialize it on weather the optionCreator
option returns a truthy value. See PortManager