diff --git a/doc/ethapp.adoc b/doc/ethapp.adoc index a8358a42ea..058b89cf33 100644 --- a/doc/ethapp.adoc +++ b/doc/ethapp.adoc @@ -113,15 +113,21 @@ The input data is the RLP encoded transaction (as per https://github.com/ethereu [width="80%"] |============================================================================================================================== -| *CLA* | *INS* | *P1* | *P2* | *Lc* | *Le* +| *CLA* | *INS* | *P1* | *P2* | *Lc* | *Le* | E0 | 04 | 00 : first transaction data block 80 : subsequent transaction data block - | 00 | variable | variable + | 00 : process & start flow + + 01 : store only + + 02 : start flow | variable | variable |============================================================================================================================== 'Input data (first transaction data block)' +If P2 == 0x02, then no data is provided. + [width="80%"] |============================================================================================================================== | *Description* | *Length* @@ -143,6 +149,8 @@ The input data is the RLP encoded transaction (as per https://github.com/ethereu 'Output data' +If P2 == 0x01, then no data is returned. + [width="80%"] |============================================================================================================================== | *Description* | *Length* @@ -1070,6 +1078,117 @@ _Output data_ None +### PROVIDE ENUM VALUE + +_Command_ + +[width="80%"] +|============================================================== +| *CLA* | *INS* | *P1* | *P2* | *LC* +| E0 | 24 | 01 : first chunk + + 00 : following chunk + | 00 | 00 +|============================================================== + +_Input data_ + +##### If P1 == first chunk + +[width="80%"] +|========================================== +| *Description* | *Length (byte)* +| Payload length | 2 +| TLV payload | variable +|========================================== + +##### If P1 == following chunk + +[width="80%"] +|========================================== +| *Description* | *Length (byte)* +| TLV payload | variable +|========================================== + +_Output data_ + +None + + +### TRANSACTION INFO + +_Command_ + +[width="80%"] +|============================================================== +| *CLA* | *INS* | *P1* | *P2* | *LC* +| E0 | 26 | 01 : first chunk + + 00 : following chunk + | 00 | 00 +|============================================================== + +_Input data_ + +##### If P1 == first chunk + +[width="80%"] +|========================================== +| *Description* | *Length (byte)* +| Payload length | 2 +| TLV payload | variable +|========================================== + +##### If P1 == following chunk + +[width="80%"] +|========================================== +| *Description* | *Length (byte)* +| TLV payload | variable +|========================================== + +_Output data_ + +None + + +### TRANSACTION FIELD DESCRIPTION + +_Command_ + +[width="80%"] +|============================================================== +| *CLA* | *INS* | *P1* | *P2* | *LC* +| E0 | 28 | 01 : first chunk + + 00 : following chunk + | 00 | 00 +|============================================================== + +_Input data_ + +##### If P1 == first chunk + +[width="80%"] +|========================================== +| *Description* | *Length (byte)* +| Payload length | 2 +| TLV payload | variable +|========================================== + +##### If P1 == following chunk + +[width="80%"] +|========================================== +| *Description* | *Length (byte)* +| TLV payload | variable +|========================================== + +_Output data_ + +None + + ### PROVIDE NETWORK CONFIGURATION #### Description