NFC:ReadAppData: Difference between revisions
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..." |
|||
| (2 intermediate revisions by the same user not shown) | |||
| Line 39: | Line 39: | ||
=Description= | =Description= | ||
This reads the app-data from [[Amiibo]]. | This reads the app-data from the [[Amiibo]] data already stored in memory. 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(same field as [[NFC:WriteAppData]]). | |||
Latest revision as of 20:58, 17 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 the Amiibo data already stored in memory. 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(same field as NFC:WriteAppData).