NFC Services: Difference between revisions
No edit summary |
|||
Line 1: | Line 1: | ||
The New3DS NFC module was added with [[8.1.0-0_New3DS]]. The Old3DS NFC module was added with [[9.3.0-21|9.3.0-X]]. | The New3DS NFC module was added with [[8.1.0-0_New3DS]]. The Old3DS NFC module was added with [[9.3.0-21|9.3.0-X]]. | ||
On New3DS NFC module uses the NFC hardware via the [[I2C_Services|i2c::NFC]] and [[GPIO_Services|gpio:NFC]] services. On Old3DS NFC module communicates with a NFC peripheral via IR with the IRUSER service. | On New3DS NFC module uses the [[I2C_Registers|NFC]] hardware via the [[I2C_Services|i2c::NFC]] and [[GPIO_Services|gpio:NFC]] services. On Old3DS NFC module communicates with a NFC peripheral via IR with the IRUSER service. | ||
A total of 6 sessions can be open simultaneously for all of these services combined. | A total of 6 sessions can be open simultaneously for all of these services combined. | ||
Line 9: | Line 9: | ||
This is the NFC service used by regular applications. | This is the NFC service used by regular applications. | ||
This was first seen in the Super Smash Bros eShop demo (only in the exheader, the demo doesn't actually use it), but at that time no system-module was available for NFC on CDN. The first regular application to use this service was Super Smash Bros, with the v1.0.5 game-update, which used the new 9.3.0- | This was first seen in the Super Smash Bros eShop demo (only in the exheader, the demo doesn't actually use it), but at that time no system-module was available for NFC on CDN. The first regular application to use this service was Super Smash Bros, with the v1.0.5 game-update, which used the new 9.3.0-X command set. | ||
==NFC management service "nfc:m"== | ==NFC management service "nfc:m"== | ||
Line 75: | Line 75: | ||
| None | | None | ||
| s32 result | | s32 result | ||
| Among other things, this will eventually call the savedata code referenced in the below savedata section. | | Among other things, this will eventually call the savedata writing code referenced in the below savedata section. | ||
|- | |- | ||
| 0x040D0000 | | 0x040D0000 | ||
Line 413: | Line 413: | ||
=NFC module savedata= | =NFC module savedata= | ||
* "/nfp_backup.dat" Going by the filename this seems to contain data backed up from amiibo. The NFC module | * "/nfp_backup.dat" Going by the filename this seems to contain data backed up from amiibo. The filesize is 0x001fbd20-bytes. Certain service cmds will trigger writing to this savedata. This entire file is also read during NFC module / [[amiibo Settings]] startup(unknown if this is done during NFC module startup or via a service cmd). |