Files
agent/packages/usb
Róbert Kiss 297fd3be79 feat(device): flash device firmware from Agent (#499)
* add dataModelVersion, usbProtocolVersion, slaveProtocolVersion

* read the package.json at appstart

* flash firmware

* update firmware

* fix extra resource path

* fix import modules

* update lock files

* fix imports

* terminal window

* exclude tmp folder from git repo

* ok button

* auto scroll in xterm

* fix maxTry count calculation

* optimize logging

* optimize timeout

* readSync

* Add extra delay

* fix async call

* fix error message in log

* fix ok button disable state

* retry

* list devices

* close device after reenumeration

* retry snooze

* kboot maxtry 10

* retry 100

* remove deprecated toPayload ngrx helper

* flash firmware with custom file

* fix tslint
2017-11-27 22:12:43 +01:00
..
2017-10-05 02:46:49 +02:00
2017-11-17 01:02:31 +01:00
2017-11-17 01:02:31 +01:00

Usage

  1. Install node.js and npm
  2. Run npm install in this directory
  3. Run script eg. node blink-test-led.js

Driver requirements

Linux

Default driver.

Windows

Inorder to make the usb lib work, the WinUsb driver should be installed (only) for interface 0, the rest should be the default HidUsb.

  1. Download zadig
  2. Install WinUsb for Ultimate Hacking Keyboard (Interface 0)

For more information click here.