Difference between revisions of "NFC:InitializeWriteAppData"

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: 0x00140384] |- | 1 | u32, unknown |- | 2 | Size |- | 3-14 |...")
 
Line 15: Line 15:
 
|-
 
|-
 
| 3-14
 
| 3-14
| Unknown, normally all-zero?
+
| 0x30-byte structure, must be all-zero otherwise an error is returned.
 
|-
 
|-
 
| 15
 
| 15

Revision as of 00:12, 17 April 2015

Request

Index Word Description
0 Header code [Starting with 9.3.0-X: 0x00140384]
1 u32, unknown
2 Size
3-14 0x30-byte structure, must be all-zero otherwise an error is returned.
15 0x20, PID translate-header for kernel.
16 PID written by kernel.
17 (Size<<14) | 2
18 Pointer to input buf

Response

Index Word Description
0 Header code
1 Result code

Description

This is used to write to the Amiibo app-data, when the app-data is not already setup for the user application.