- update some deps
- added log fallback to debug
- updated dependencies
- new function devicestack.addAdditionalFormatForValidationSchemas
- DeviceGuider: fix autoconnect issue #2
- connection: try to console log if error is throwing
- use fix dependency versions
- command and task: throw error if validation schema is missing
- DeviceGuider: introduce DeviceNotFound error
- SerialDevice: introduce PortNotFound and PortAccessDenied error
- DeviceGuider: fix callback call for autoconnect
- IMPORTANT: DeviceGuider: manualconnect default has been inverted from holdConnections=false to directlyDisconnect=false -DeviceGuider: new function setConnectionMode -DeviceLoader: new event plugChanged -DeviceGuider: new event plugChanged
- emit disconnect after connect error only if connection is established
- catch error of command callback and task callback
- handle errors while connecting
- do not call callback twice if error is throwing on consumer callback
- stabilize frame handler
- removed postinstall script for optionalDependencies
- added postinstall script for optionalDependencies
- delete connection if not needed anymore
- better errors for example if calling connect twice
- implemented optional arguments validation by JSON schema for commands and tasks
- impemented has function for Device and Connection
- Warning! initialize function now passes connection as first argument and after that all other arguments passed by the constructor!
- refacotred error objects
- Connection: moved function isByteArray to Array.isByteArray
- Connection: added function isByteArray
- print some error messages
- connection: added dequeueCommand function
- The Enum type is not included automatically in devicestack. Please use it directly from enum.
- connection: try to better catch errors while sending commands
- introduce connectionStateChanged on DeviceGuider
- introduce command and task validation (initialize function)
- updated dependencies
- DeviceGuider now emits connecting and disconnecting events
- added possibility to add multiple vid/pid pairs
- SerialDeviceLoader compare devices by lowercase port name
- emit error on device only if there are listeners
- implemented EventedSerialDeviceLoader (for USB devices that virtualizes the COM port)
- fix for SerialDeviceLoader (bug was only for non-global users)
-
optimization for hibernate/sleep/standby
ATTENTION! Connection: executeCommand -> sendCommand
-
ftdi integration
FtdiDevice FtdiSerialDevice FtdiDeviceLoader EventedFtdiDeviceLoader
- default serial device loaders uses the global serial device loader under the hood