BitBoxSwiss / bitbox02-firmware

Firmware code of the BitBox02 hardware wallet
https://bitbox.swiss/bitbox02
Apache License 2.0
215 stars 80 forks source link

py/bitbox02: allow infering version/edition from OP_INFO #1202

Closed benma closed 2 months ago

benma commented 2 months ago

For when no USB descriptor is available, where we normally get the info from. We need this now to connect to the simulator with the right params. OP_INFO is available since v5.0.0, and the created after that, so for the simulator this will always work.

benma commented 2 months ago

@asi345 please test this PR with send_message.py also with a real device to make sure we don't break existing integrations