devicestack
Version:
This module helps you to represent a device and its protocol.
125 lines (87 loc) • 3.21 kB
Markdown
#### v1.10.11
- update some deps
#### v1.10.10
- added log fallback to [debug](https://github.com/visionmedia/debug)
#### v1.10.9
- updated dependencies
#### v1.10.8
- new function devicestack.addAdditionalFormatForValidationSchemas
#### v1.10.7
- DeviceGuider: fix autoconnect issue [#2](https://github.com/adrai/devicestack/issues/2)
#### v1.10.6
- connection: try to console log if error is throwing
#### v1.10.5
- use fix dependency versions
#### v1.10.4
- command and task: throw error if validation schema is missing
#### v1.10.3
- DeviceGuider: introduce DeviceNotFound error
- SerialDevice: introduce PortNotFound and PortAccessDenied error
#### v1.10.2
- DeviceGuider: fix callback call for autoconnect
#### v1.10.0
- 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
#### v1.9.7
- emit disconnect after connect error only if connection is established
#### v1.9.6
- catch error of command callback and task callback
#### v1.9.5
- handle errors while connecting
#### v1.9.4
- do not call callback twice if error is throwing on consumer callback
- stabilize frame handler
#### v1.9.3
- removed postinstall script for optionalDependencies
#### v1.9.2
- added postinstall script for optionalDependencies
#### v1.9.1
- delete connection if not needed anymore
- better errors for example if calling connect twice
#### v1.9.0
- implemented optional arguments validation by JSON schema for commands and tasks
#### v1.8.7
- 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
#### v1.8.6
- Connection: moved function isByteArray to Array.isByteArray
#### v1.8.5
- Connection: added function isByteArray
#### v1.8.4
- print some error messages
#### v1.8.3
- connection: added dequeueCommand function
#### v1.8.2
- The Enum type is not included automatically in devicestack. Please use it directly from [enum](https://github.com/adrai/enum).
#### v1.8.1
- connection: try to better catch errors while sending commands
#### v1.8.0
- introduce connectionStateChanged on DeviceGuider
#### v1.7.0
- introduce command and task validation (initialize function)
#### v1.6.4
- updated dependencies
#### v1.6.3
- DeviceGuider now emits connecting and disconnecting events
#### v1.6.2
- added possibility to add multiple vid/pid pairs
#### v1.6.1
- SerialDeviceLoader compare devices by lowercase port name
- emit error on device only if there are listeners
#### v1.6.0
- implemented EventedSerialDeviceLoader (for USB devices that virtualizes the COM port)
- fix for SerialDeviceLoader (bug was only for non-global users)
#### v1.5.1
- optimization for hibernate/sleep/standby
ATTENTION! Connection: executeCommand -> sendCommand
#### v1.5.0
- ftdi integration
FtdiDevice
FtdiSerialDevice
FtdiDeviceLoader
EventedFtdiDeviceLoader
#### v1.4.0
- default serial device loaders uses the global serial device loader under the hood