Difference between revisions of "NFC:GetCommonInfo"

(Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [Starting with 9.3.0-X: 0x00180000] |} =Response= {| class="wikitable...")
 
m (Steveice10 moved page NFC:GetAmiiboConfig to NFC:GetCommonInfo)
 
(3 intermediate revisions by 2 users not shown)
Line 22: Line 22:
 
|-
 
|-
 
| 2-17
 
| 2-17
| 0x40-byte config struct.
+
| [[NFC_Services#CommonInfo|CommonInfo]]
 
|}
 
|}
 
=Amiibo Config Structure=
 
{| class="wikitable" border="1"
 
|-
 
!  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 [[Amiibo|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=
 
=Description=
This returns the NFC Amiibo config.
+
This returns the NFC Amiibo common info, from data already stored in memory.

Latest revision as of 07:56, 8 March 2023

RequestEdit

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

ResponseEdit

Index Word Description
0 Header code
1 Result code
2-17 CommonInfo

DescriptionEdit

This returns the NFC Amiibo common info, from data already stored in memory.