NFC:InitializeWriteAppData

From 3dbrew
Revision as of 18:44, 17 April 2015 by Yellows8 (talk | contribs) (→‎Description)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Request

Index Word Description
0 Header code [Starting with 9.3.0-X: 0x00140384]
1 u32 little-endian Amiibo AppID
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 in memory, when the app-data is not already setup for the user application.

Once finished this updates the actual Amiibo NFC data.