Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better state detection #14

Open
pythcoiner opened this issue Jul 25, 2024 · 0 comments
Open

Better state detection #14

pythcoiner opened this issue Jul 25, 2024 · 0 comments

Comments

@pythcoiner
Copy link
Contributor

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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant