NFC Services: Difference between revisions

Steveice10 (talk | contribs)
mNo edit summary
Steveice10 (talk | contribs)
m These have pages now
 
(14 intermediate revisions by the same user not shown)
Line 26: Line 26:
| u32 unknownA, u32 unknownB, u32 unknownC, u32 (sizeof(*buffer) << 14 <nowiki>|</nowiki> 0x402), void * buffer
| u32 unknownA, u32 unknownB, u32 unknownC, u32 (sizeof(*buffer) << 14 <nowiki>|</nowiki> 0x402), void * buffer
| s32 result
| s32 result
|
| Used when resetting an amiibo from amiibo Settings.
|-
|-
| 0x04020000
| 0x04020000
| [[9.3.0-21|9.3.0-X]]
| [[9.3.0-21|9.3.0-X]]
| [[NFCM:GetAdminInfo|GetAdminInfo]]
| [[NFCM:GetAdminInfo|GetAdminInfo]]
| void
|
| s32 result, [[#AdminInfo|AdminInfo]] info
|
| Gets the [[#AdminInfo|AdminInfo]] of the amiibo.
|
|-
|-
| 0x04030000
| 0x04030000
| [[9.3.0-21|9.3.0-X]]
| [[9.3.0-21|9.3.0-X]]
| [[NFCM:GetRegisterInfoPrivate|GetRegisterInfoPrivate]]
| [[NFCM:GetEmptyRegisterInfo|GetEmptyRegisterInfo]]
| void
|
| s32 result, [[#RegisterInfoPrivate|RegisterInfoPrivate]] info
|
| Gets the [[#RegisterInfoPrivate|RegisterInfoPrivate]] of the amiibo.
|
|-
|-
| 0x04040A40
| 0x04040A40
| [[9.3.0-21|9.3.0-X]]
| [[9.3.0-21|9.3.0-X]]
| [[NFCM:SetRegisterInfoPrivate|SetRegisterInfoPrivate]]
| [[NFCM:SetRegisterInfo|SetRegisterInfo]]
| [[#RegisterInfoPrivate|RegisterInfoPrivate]] info
|
| s32 result
|
| Sets the [[#RegisterInfoPrivate|RegisterInfoPrivate]] of the amiibo.
|
|-
|-
| 0x04050000
| 0x04050000
| [[9.3.0-21|9.3.0-X]]
| [[9.3.0-21|9.3.0-X]]
| [[NFCM:DeleteRegisterInfo|DeleteRegisterInfo]]
| [[NFCM:DeleteRegisterInfo|DeleteRegisterInfo]]
| void
|
| s32 result
|
| Deletes the amiibo's registration info.
|
|-
|-
| 0x04060000
| 0x04060000
| [[9.3.0-21|9.3.0-X]]
| [[9.3.0-21|9.3.0-X]]
| [[NFCM:DeleteApplicationArea|DeleteApplicationArea]]
| [[NFCM:DeleteApplicationArea|DeleteApplicationArea]]
| void
|
| s32 result
|
| Deletes the amiibo's application area.
|
|-
|-
| 0x04070000
| 0x04070000
| [[9.3.0-21|9.3.0-X]]
| [[9.3.0-21|9.3.0-X]]
| [[NFCM:ExistsApplicationArea|ExistsApplicationArea]]
| [[NFCM:ExistsApplicationArea|ExistsApplicationArea]]
| void
|
| s32 result, bool exists
|
| Checks whether the amiibo's application area exists.
|
|-
|-
| 0x04080000
| 0x04080000
Line 408: Line 408:
| 0x00170000
| 0x00170000
|  
|  
| [[NFC:GetAmiiboSettings|GetAmiiboSettings]]
| [[NFC:GetRegisterInfo|GetRegisterInfo]]
|  
|  
|  
|  
Line 415: Line 415:
| 0x00180000
| 0x00180000
|  
|  
| [[NFC:GetAmiiboConfig|GetAmiiboConfig]]
| [[NFC:GetCommonInfo|GetCommonInfo]]
|  
|  
|  
|  
Line 436: Line 436:
| 0x001B0000
| 0x001B0000
|  
|  
|  
| [[NFC:GetModelInfo|GetModelInfo]]
| None
|
| 0x36-byte output structure starting at cmdreply[2].
|
|  
|  
|-
|-
Line 648: Line 648:
| 0x0E
| 0x0E
| 0x01
| 0x01
| Flags (bit0 = amiibo was initialized in console settings, bit1 = has application area, bit2/bit3 unknown)
| Flags (bit0 = amiibo initialized, bit1 = has application area, bit2/bit3 unknown)
|-
|-
| 0x0F
| 0x0F
Line 667: Line 667:
|}
|}


==RegisterInfoPrivate==
==RegisterInfo==
{| class="wikitable" border="1"
{| class="wikitable" border="1"
|-
|-
Line 675: Line 675:
|-
|-
| 0x00
| 0x00
| 0x44
| 0x60
| Mii StoreData
| [[Mii_Maker#Mii_QR_Code_format|Exported Mii Data]] (minus the AES-CCM used in the linked format)
|-
| 0x60
| 0x16
| Amiibo Name (NUL-Terminated)
|-
| 0x76
| 0x01
| Flags (bit0 = amiibo initialized, bit1 = has application area)
|-
| 0x77
| 0x01
| Font Region
|-
|-
| 0x44
| 0x78
| 0x04
| 0x04
| First Write [[#Date|Date]]
| Creation [[#Date|Date]]
|-
| 0x7C
| 0x2C
| Reserved
|}
 
This data originates from the [[Amiibo]] settings data stored under the encrypted NFC data.
 
==CommonInfo==
{| class="wikitable" border="1"
|-
!  Offset
!  Size
!  Description
|-
|-
| 0x48
| 0x00
| 0x29
| 0x04
| Amiibo Name (NUL-Terminated)
| Last Write [[#Date|Date]]
|-
| 0x04
| 0x02
| Write Counter
|-
| 0x06
| 0x02
| Character ID
|-
| 0x08
| 0x01
| Character Variant
|-
| 0x09
| 0x01
| Amiibo Series
|-
| 0x0A
| 0x02
| Model Number
|-
| 0x0C
| 0x01
| Amiibo Type
|-
| 0x0D
| 0x01
| Version
|-
| 0x0E
| 0x02
| Application Area Size (hardcoded to 0xD8)
|-
| 0x10
| 0x30
| Reserved
|}
 
This data originates from the [[Amiibo]] NFC data.
 
==ModelInfo==
{| class="wikitable" border="1"
|-
!  Offset
!  Size
!  Description
|-
| 0x00
| 0x02
| Character ID
|-
| 0x02
| 0x01
| Character Variant
|-
| 0x03
| 0x01
| Amiibo Series
|-
| 0x04
| 0x02
| Model Number
|-
| 0x06
| 0x01
| Amiibo Type
|-
|-
| 0x71
| 0x07
| 0x01
| 0x01
| Unknown
| Version
|-
|-
| 0x72
| 0x08
| 0x8E
| 0x2E
| Reserved
| Reserved
|}
|}
This data originates from the [[Amiibo]] NFC data.


==Date==
==Date==