Add missing information to EIP712 send struct def APDU in doc

This commit is contained in:
Alexandre Paillier
2022-07-11 11:54:37 +02:00
parent cfb45a795b
commit 1eaba306e1

View File

@@ -645,11 +645,13 @@ _Input data_
|====================================================================== |======================================================================
| *Description* | *Length (byte)* | *Mandatory* | *Description* | *Length (byte)* | *Mandatory*
| TypeDesc (type description) | 1 | {check_y} | TypeDesc (type description) | 1 | {check_y}
| TypeSize (type byte size) | 1 | {check_n} | TypeNameLength | 1 | {check_n}
| TypeName | variable | {check_n}
| TypeSize | 1 | {check_n}
| ArrayLevelCount | 1 | {check_n} | ArrayLevelCount | 1 | {check_n}
| ArrayLevels | variable | {check_n} | ArrayLevels | variable | {check_n}
| KeyLength | 1 | {check_y} | KeyNameLength | 1 | {check_y}
| Key | variable | {check_y} | KeyName | variable | {check_y}
|====================================================================== |======================================================================
###### TypeDesc ###### TypeDesc
@@ -680,6 +682,13 @@ How to interpret Type from its value :
| 7 | dynamic-sized bytes | 7 | dynamic-sized bytes
|=========================================== |===========================================
###### TypeName
_Only present if the Type is set to custom._
Indicates the name of the struct that will be the type of the field.
###### TypeSize ###### TypeSize
_Only present if the TypeSize bit is set in TypeDesc._ _Only present if the TypeSize bit is set in TypeDesc._