conejoninja / tesoro

Go package for TREZOR devices
Other
11 stars 5 forks source link

Fix device choice based on interface #1

Closed mattdf closed 8 years ago

mattdf commented 8 years ago

Pending https://github.com/zserge/hid/pull/1#issuecomment-244901988 this will remove the need to specify endpoints and interfaces directly, as with the fixed walker 1 "Device" structure is returned for every Interface.

This makes the code backwards compatible with older firmware as well, since the main Trezor Interface was always at 0.

conejoninja commented 8 years ago

I will accept this PR when zserge/hid#1 is merged. I still need to be able to set the usb device manually instead of using the walker.

mattdf commented 8 years ago

hid commit has been merged to master, you should be alright to merge this one in now.

conejoninja commented 8 years ago

Thanks, merged :)