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 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 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 732: |
Line 746: |
| | 0x10 | | | 0x10 |
| | 0x30 | | | 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 |
| + | |- |
| + | | 0x07 |
| + | | 0x01 |
| + | | Version |
| + | |- |
| + | | 0x08 |
| + | | 0x2E |
| | Reserved | | | Reserved |
| |} | | |} |