NFC services: Difference between revisions
Improved NFP structs, detailed some NFP commands, detailed amiibo information and structures |
m Fix typos in my previous changes |
||
Line 1,114: | Line 1,114: | ||
| 0 || Does no breaking, just flushes | | 0 || Does no breaking, just flushes | ||
|- | |- | ||
| 1 || Breaks the amiibo data SHA256 HMAC hash (see [[# | | 1 || Breaks the amiibo data SHA256 HMAC hash (see [[#Plain format]]) | ||
|- | |- | ||
| 2 || Breaks the amiibo header magic (see [[#Amiibo | | 2 || Breaks the amiibo header magic (see [[#Amiibo header]]) | ||
|} | |} | ||
= WriteType = | = WriteType = | ||
Line 1,510: | Line 1,508: | ||
The country code ID is zeroed when calling [[#SetRegisterInfoPrivate]]. | The country code ID is zeroed when calling [[#SetRegisterInfoPrivate]]. | ||
The application ID byte contains the original application ID hex-digit (only used for | The application ID byte contains the original application ID hex-digit (only used for Switch games, see [[#Application area version]]), so it can be to restore the original value (which is needed for [[#GetAdminInfo]]). | ||
The terminal ID is a randomly-generated 8-byte value that is re-generated every time [[#Initialize]] is called (thus every nfc/nfp/mifare session), and saved at [[Flash_Filesystem#SystemSaveData|data]]:/nfc_terminal_id.dat. | The terminal ID is a randomly-generated 8-byte value that is re-generated every time [[#Initialize]] is called (thus every nfc/nfp/mifare session), and saved at [[Flash_Filesystem#SystemSaveData|data]]:/nfc_terminal_id.dat. |