ledger_installer icon indicating copy to clipboard operation
ledger_installer copied to clipboard

Better state detection

Open pythcoiner opened this issue 1 year ago • 0 comments

As of now we do not detect the state of the device (locked vs app loaded).

  • If the device is locked ('Enter PIN' screen) TransportNativeHID::new() return LedgerHIDError::DeviceNotFound
  • If an app is opened TransportNativeHID::exchange(&GET_VERSION_COMMAND) return StatusCode::CLA_NOT_SUPPORTED (0x6e00)

pythcoiner avatar Jul 25 '24 10:07 pythcoiner