Difference between revisions of "NFC:GetCommonInfo"

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: 0x00180000] |} =Response= {| class="wikitable...")
(No difference)

Revision as of 03:10, 16 April 2015

Request

Index Word Description
0 Header code [Starting with 9.3.0-X: 0x00180000]

Response

Index Word Description
0 Header code
1 Result code
2-17 0x40-byte config struct.

Amiibo Config Structure

Offset Size Description
0x0 0x4 Same as the date value in the struct for NFC:GetAmiiboSettings, except this is for the last-write date.
0x4 0x2 This is the u16 write counter field converted to little-endian, from amiibosettings+0x88.
0xD 0x1 This is byte[3] from NFC page[0x4].
0xE 0x1 NFC module writes hard-coded u8 value 0xD8 here. This matches the size of the Amiibo AppData, so perhaps this u8 is for the AppData size?
0xF 0x31 Unused / reserved: this is cleared by NFC module but never written after that.

This data originates from the Amiibo NFC data.

Description

This returns the NFC Amiibo config.