NFC Services: Difference between revisions

Steveice10 (talk | contribs)
mNo edit summary
Steveice10 (talk | contribs)
m These have pages now
 
(5 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:GetRegisterInfo|GetRegisterInfo]]
| [[NFCM:GetEmptyRegisterInfo|GetEmptyRegisterInfo]]
| void
|
| s32 result, [[#RegisterInfo|RegisterInfo]] info
|
| Gets the [[#RegisterInfo|RegisterInfo]] of the amiibo.
|
|-
|-
| 0x04040A40
| 0x04040A40
| [[9.3.0-21|9.3.0-X]]
| [[9.3.0-21|9.3.0-X]]
| [[NFCM:SetRegisterInfo|SetRegisterInfo]]
| [[NFCM:SetRegisterInfo|SetRegisterInfo]]
| [[#RegisterInfo|RegisterInfo]] info
|
| s32 result
|
| Sets the [[#RegisterInfo|RegisterInfo]] 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 666: Line 666:
| Reserved
| Reserved
|}
|}
Note that this data is inferred from the corresponding Switch NFC data, there may be 3DS NFC specific differences as of yet unaccounted for.


==RegisterInfo==
==RegisterInfo==
Line 719: Line 717:
|-
|-
| 0x06
| 0x06
| 0x07
| 0x02
| Unknown
| Character ID
|-
| 0x08
| 0x01
| Character Variant
|-
| 0x09
| 0x01
| Amiibo Series
|-
| 0x0A
| 0x02
| Model Number
|-
| 0x0C
| 0x01
| Amiibo Type
|-
|-
| 0x0D
| 0x0D
| 0x01
| 0x01
| This is byte[3] from NFC page[0x4].
| Version
|-
|-
| 0x0E
| 0x0E
Line 765: Line 779:
|-
|-
| 0x07
| 0x07
| 0x2F
| 0x01
| Version
|-
| 0x08
| 0x2E
| Reserved
| Reserved
|}
|}