trezor / trezord-go

:smiling_imp: Trezor Communication Daemon (written in Go)
GNU Lesser General Public License v3.0
244 stars 146 forks source link

Return Device IDs while enumerating #219

Open matejcik opened 3 years ago

matejcik commented 3 years ago

it would be nice to know the device id right away from output of /enumerate

This is a problem on some stacks apparently? Because you can't simultaneously have a running enumeration and query USB strings?

Of course, a possible workaround is to enumerate first and then query each of the devices found, but that might be complicated depending on how the enumeration is implemented.

The usecase for this feature is to be able to search for a particular device id, without connecting to everything and trying GetFeatures