NFC:OpenAppData

From 3dbrew
Revision as of 22:08, 17 April 2015 by Yellows8 (talk | contribs) (Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [Starting with 9.3.0-X: 0x00130040] |- | 1 | u32 little-endian Amiibo AppID |} ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Request[edit]

Index Word Description
0 Header code [Starting with 9.3.0-X: 0x00130040]
1 u32 little-endian Amiibo AppID

Response[edit]

Index Word Description
0 Header code
1 Result code

Description[edit]

This opens the Amiibo appdata for reading/writing. Amiibosettings_byte0 bit5 must be set, and the byteswapped amiibo_appID in amiibosettings must match the input appID. Once all the checks pass, the state field checked by the reading/writing commands is set to 1. This command does not check if the appdata is already opened(state field set here being already set).

Error 0xC8A17638 is returned for amiibo_appID mismatch.