Difference between revisions of "NFC:ReadAppData"

From 3dbrew
Jump to navigation Jump to search
(Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [Starting with 9.3.0-X: 0x00150040] |- | 1 | Size |} The following is located 0x10...")
 
Line 39: Line 39:
  
 
=Description=
 
=Description=
This reads the app-data from [[Amiibo]].
+
This reads the app-data from [[Amiibo]]. The size must be >=0xD8-bytes, but the actual used size is hard-coded to 0xD8.
 +
 
 +
A certain NFC module state field must be non-zero in order to use this, otherwise an error is returned(separate field from [[NFC:WriteAppData]]).

Revision as of 07:56, 16 April 2015

Request

Index Word Description
0 Header code [Starting with 9.3.0-X: 0x00150040]
1 Size

The following is located 0x100-bytes after the beginning of the above command buffer:

Index Word Description
0 (Size<<14) | 2
1 Pointer to output buf

Response

Index Word Description
0 Header code
1 Result code

Description

This reads the app-data from Amiibo. The size must be >=0xD8-bytes, but the actual used size is hard-coded to 0xD8.

A certain NFC module state field must be non-zero in order to use this, otherwise an error is returned(separate field from NFC:WriteAppData).