new PortManager(port: string, options: (object | function))

Extends EventEmitter

Parameters
port (string) The serial port to connect to
options ((object | function)) options
Instance Members
addRequest(cmd, options)
new DeviceManager(options: object)

Extends EventEmitter

Parameters
options (object)
Name Description
options.optionCreator function? 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
Instance Members
addRequest(id, cmd, options)
getDeviceIds()
refresh()