An open API service indexing awesome lists of open source software.

https://github.com/aep/usb-mining-watchdog-china

reverse engineering of the crappy chinese usb mining watchdog thing
https://github.com/aep/usb-mining-watchdog-china

Last synced: about 1 year ago
JSON representation

reverse engineering of the crappy chinese usb mining watchdog thing

Awesome Lists containing this project

README

          

china usb mining watchog
=====================

if you got one of these :

![hardware](hardware.jpg)

here is the reverse engineered "protocol":

```
9600 baud

init sequence: 0x00 0x80 0x81
keep alive: 0x00 0x01
where 0x01 is 10 seconds timeout. higher number is longer timeout
reset now: 0x00 0xff
```

to use my code:

```
git clone git@github.com:aep/usb-mining-watchdog-china.git wd
cd wd
cargo install
~/.cargo/bin/miningwd /dev/ttyUSB0
```

every "ping" output should make the led blink.
kill the program to initiate the timeout reset sequence