gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [taler-docs] branch master updated: more documentation for


From: gnunet
Subject: [GNUnet-SVN] [taler-docs] branch master updated: more documentation for request tunnelling
Date: Fri, 13 Sep 2019 01:37:13 +0200

This is an automated email from the git hooks/post-receive script.

dold pushed a commit to branch master
in repository docs.

The following commit(s) were added to refs/heads/master by this push:
     new 5b60b0b  more documentation for request tunnelling
5b60b0b is described below

commit 5b60b0bd27058efeec74fcccafda11d6a8d64116
Author: Florian Dold <address@hidden>
AuthorDate: Fri Sep 13 01:37:04 2019 +0200

    more documentation for request tunnelling
---
 taler-nfc-guide.rst | 22 +++++++++++++++++++---
 1 file changed, 19 insertions(+), 3 deletions(-)

diff --git a/taler-nfc-guide.rst b/taler-nfc-guide.rst
index ced30fb..83da69a 100644
--- a/taler-nfc-guide.rst
+++ b/taler-nfc-guide.rst
@@ -131,14 +131,31 @@ are used:
   :widths: 5 50
   :header-rows: 1
 
-  * - TID
+  * - TID (reader to wallet)
     - Description
   * - ``0x01``
-    - Dereference ``taler://`` URI (UTF-8 encoded) in the remainder of the 
command data.
+    - Dereference the UTF-8 ecoded ``taler://`` URI in the remainder of the 
command data.
   * - ``0x02``
     - Accept the UTF-8 encoded JSON object in the remainder of the command 
data as a request tunneling response.
 
 
+The ``GET DATA (=0xCA)`` instruction (again with the instruction parameters 
``0x0100`` is used to request
+a command from the wallet.  The APDU with this instruction must be sent with a 
``0x0000`` trailer to indicate
+that up to 65536 bytes of data are expected in the response from the wallet.  
Note that the wallet itself cannot
+initiate communication, and thus the reader must "poll" the wallet for 
commands.
+
+The response to the ``GET DATA`` instruction has a Taler instruction ID in the 
first byte.  The rest of the
+body is interpreted depending on the TID.
+
+.. list-table::
+  :widths: 5 50
+  :header-rows: 1
+
+  * - TID (wallet to reader)
+    - Description
+  * - ``0x03``
+    - Accept the UTF-8 encoded JSON object in the remainder of the command 
data as a request tunneling request.
+
 
 Sending taler:// URIs to the Wallet via NFC
 ===========================================
@@ -164,4 +181,3 @@ the ``taler://pay`` URI from the example above:
   m<-w 9000
 
 
-

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]