Skip to content

Latest commit

 

History

History
41 lines (29 loc) · 648 Bytes

ins_get_app_version.md

File metadata and controls

41 lines (29 loc) · 648 Bytes

Get App Version

Description

Gets the version of the app running on Ledger. Could be called at any time.

Command

Field Value
INS 0x00
P1 unused
P2 unused
Lc 0

Response

Field Length
major 1
minor 1
patch 1
flags 1

Tuple [major, minor, patch] represents app version.

Flag meanings could be found in src/getVersion.c

Mask Value Meaning
0x01 0x01 Devel version of the app

Ledger responsibilities

  • Check:
    • Check P1 == 0
    • Check P2 == 0
    • Check Lc == 0
  • Respond with app version