BitBoxSwiss / bitbox02-firmware

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

hww: _api_info write byte for initialized status #1229

Open NicolaLS opened 2 weeks ago

NicolaLS commented 2 weeks ago

Write another byte for the initialized status in the _api_info function. This field can be used to check whether a device can be unlocked or not. The unlocked byte is not sufficient because unlocked = false could mean the device is locked or the device is uninitialized.

NicolaLS commented 4 days ago

@benma thanks! rebased and re-formatted/changed docstring as suggested.