Difference between revisions of "NFC Services"

From 3dbrew
Jump to navigation Jump to search
Line 5: Line 5:
 
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.
  
=NFC user service "nfc:u"=
+
=NFC services=
 
{| class="wikitable" border="1"
 
{| class="wikitable" border="1"
 
|-
 
|-
Line 16: Line 16:
 
| 0x00020000
 
| 0x00020000
 
| Shutdown
 
| Shutdown
 +
|-
 +
| 0x00030000
 +
| CheckInitialized. This writes an output u8 to cmdreply[2]: 0 = initialized, 1 = not initialized.
 
|}
 
|}
  
 +
The commands under this section are for "nfc:u" and "nfc:m".
 +
 +
=NFC user service "nfc:u"=
 
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), at that time no system-module was available for NFC on CDN.
 
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), at that time no system-module was available for NFC on CDN.
  
Line 33: Line 39:
  
 
=NFC management service "nfc:m"=
 
=NFC management service "nfc:m"=
{| class="wikitable" border="1"
 
|-
 
!  Command Header
 
!  Description
 
|-
 
| 0x00010000
 
| Same as the nfcu command.
 
|-
 
| 0x00020000
 
| Same as the nfcu command.
 
|}
 
 
 
This is used by the [[amiibo Settings]] applet.
 
This is used by the [[amiibo Settings]] applet.

Revision as of 20:47, 13 December 2014

The New3DS NFC module was added with 8.1.0-0_New3DS. The Old3DS NFC module was added with 9.3.0-X.

On New3DS NFC module uses the NFC hardware via the i2c::NFC and 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.

NFC services

Command Header Description
0x00010000 Initialize
0x00020000 Shutdown
0x00030000 CheckInitialized. This writes an output u8 to cmdreply[2]: 0 = initialized, 1 = not initialized.

The commands under this section are for "nfc:u" and "nfc:m".

NFC user service "nfc:u"

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), at that time no system-module was available for NFC on CDN.

At the time of writing, there is no titles using this service yet.

NFC service "nfc:r"

NFC service "nfc:p"

This service is used by the mint library-applet, starting with 9.3.0-21. This service was added to the mint service-access-control list with 9.0.0-20.

NFC service "nfc:s"

NFC development service "nfc:dev"

This service seems to be intended for use only on dev-units(or at least some of the command(s)).

NFC management service "nfc:m"

This is used by the amiibo Settings applet.