NFC:WriteAppData: Difference between revisions

No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 59: Line 59:


=Description=
=Description=
This is used to write to the [[Amiibo]] app-data, when the app-data was already [[NFC:InitializeWriteAppData|setup]] for the user application. The input size must be <=0xD8-bytes.
This is used to write to the [[Amiibo]] app-data stored in memory, when the app-data was already [[NFC:InitializeWriteAppData|setup]] for the user application. When the size is <0xD8-bytes, the remaining app-data in memory has data from a "PRNG" written to it.


Besides the usual NFC module state checks, this command can only be used when a certain state u8 field is non-zero, otherwise an error is returned.
Besides the usual NFC module state checks, this command can only be used when a certain state u8 field is non-zero, otherwise an error is returned.