NFC Services: Difference between revisions

NFC management service "nfc:m": Added information about 0x402 coommand in nfc:m.
Steveice10 (talk | contribs)
Fill in some commands that seem to match up with Switch NFC commands.
Line 30: Line 30:
| 0x04020000
| 0x04020000
| [[9.3.0-21|9.3.0-X]]
| [[9.3.0-21|9.3.0-X]]
| ???
| [[NFCM:GetAdminInfo|GetAdminInfo]]
| void
| void
| s32 result, u32 unknownA[16]
| s32 result, [[#AdminInfo|AdminInfo]] info
| Output seems to be a struct. unknownA[2]'s value is the AppID of the Amiibo.
| 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]]
| void
| void
| s32 result, u32 unknownA[41]
| 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:SetAmiiboSettings|SetAmiiboSettings]]
| [[NFCM:SetRegisterInfoPrivate|SetRegisterInfoPrivate]]
|  
| [[#RegisterInfoPrivate|RegisterInfoPrivate]] info
|  
| s32 result
|
| Sets the [[#RegisterInfoPrivate|RegisterInfoPrivate]] of the amiibo.
|-
| 0x04050000
| [[9.3.0-21|9.3.0-X]]
| [[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]]
| void
| void
| s32 result
| 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]]
| void
| void
| s32 result, u32 unknownA
| s32 result, bool exists
|
| Checks whether the amiibo's application area exists.
|-
|-
| 0x04080000
| 0x04080000