Difference between revisions of "Services API"

From 3dbrew
Jump to navigation Jump to search
Line 6: Line 6:
  
 
List of services:
 
List of services:
* [[Filesystem services‎]]
+
{| class="wikitable" border="1"
* [[Process Services‎]]
+
|-
* [[PXI Services‎]]
+
!  Old3ds
* [[Application Manager Services]]
+
!  Services
* [[Process Manager Services]]
+
!  Ports
* [[NIM Services]]
+
! scope="col" width="200" |  Notes
* [[Config Services]]
+
|-
* [[NS|NS and APT Services]]
+
| style="background: green" | Yes
* [[RO Services]]
+
| [[Filesystem services‎]]
* [[NDM Services]]
+
| fs:USER, fs:LDR, fs:REG
* [[CSND Services]]
+
|
* [[DSP Services]]
+
|-
* [[GSP Services]]
+
| style="background: green" | Yes
* [[IR Services]]
+
| [[Process Services‎]]
* [[I2C Services]]
+
|
* [[GPIO Services]]
+
|
* [[HID Services]]
+
|-
* [[PTM Services]]
+
| style="background: green" | Yes
* [[NWM Services]]
+
| [[PXI Services‎]]
* [[HTTP Services]]
+
| PxiFS0, PxiFS1, PxiFSB, PxiFSR, PxiPM, pxi:am9, pxi:dev, pxi:mc, pxi:ps9
* [[SSL Services]]
+
|
* [[Socket Services]]
+
|-
* [[AC Services]]
+
| style="background: green" | Yes
* [[Friend Services]]
+
| [[Application Manager Services]]
* [[PDN Services]]
+
| am:net, am:u, am:sys, am:pipe
* [[SPI Services]]
+
|
* [[Loader Services]]
+
|-
* [[MCU Services]]
+
| style="background: green" | Yes
* [[MIC Services]]
+
| [[Process Manager Services]]
 
+
| pm:app, pm:dbg
[[New_3DS]]-only services:
+
|
* [[NFC Services]]
+
|-
* [[MVD Services]]
+
| style="background: green" | Yes
* [[QTM Services]]
+
| [[NIM Services]]
 +
|
 +
|
 +
|-
 +
| style="background: green" | Yes
 +
| [[Config Services]]
 +
|
 +
|
 +
|-
 +
| style="background: green" | Yes
 +
| [[NS|NS and APT Services]]
 +
|
 +
|
 +
|-
 +
| style="background: green" | Yes
 +
| [[RO Services]]
 +
|
 +
|
 +
|-
 +
| style="background: green" | Yes
 +
| [[NDM Services]]
 +
|
 +
|
 +
|-
 +
| style="background: green" | Yes
 +
| [[CSND Services]]
 +
|
 +
|
 +
|-
 +
| style="background: green" | Yes
 +
| [[DSP Services]]
 +
|
 +
|
 +
|-
 +
| style="background: green" | Yes
 +
| [[GSP Services]]
 +
|
 +
|
 +
|-
 +
| style="background: green" | Yes
 +
| [[IR Services]]
 +
|
 +
|
 +
|-
 +
| style="background: green" | Yes
 +
| [[I2C Services]]
 +
|
 +
|
 +
|-
 +
| style="background: green" | Yes
 +
| [[GPIO Services]]
 +
|
 +
|
 +
|-
 +
| style="background: green" | Yes
 +
| [[HID Services]]
 +
|
 +
|
 +
|-
 +
| style="background: green" | Yes
 +
| [[PTM Services]]
 +
|
 +
|
 +
|-
 +
| style="background: green" | Yes
 +
| [[NWM Services]]
 +
|
 +
|
 +
|-
 +
| style="background: green" | Yes
 +
| [[HTTP Services]]
 +
|
 +
|
 +
|-
 +
| style="background: green" | Yes
 +
| [[SSL Services]]
 +
|
 +
|
 +
|-
 +
| style="background: green" | Yes
 +
| [[Socket Services]]
 +
|
 +
|
 +
|-
 +
| style="background: green" | Yes
 +
| [[AC Services]]
 +
|
 +
|
 +
|-
 +
| style="background: green" | Yes
 +
| [[Friend Services]]
 +
|
 +
|
 +
|-
 +
| style="background: green" | Yes
 +
| [[PDN Services]]
 +
|
 +
|
 +
|-
 +
| style="background: green" | Yes
 +
| [[SPI Services]]
 +
|
 +
|
 +
|-
 +
| style="background: green" | Yes
 +
| [[Loader Services]]
 +
|
 +
|
 +
|-
 +
| style="background: green" | Yes
 +
| [[MCU Services]]
 +
|
 +
|
 +
|-
 +
| style="background: green" | Yes
 +
| [[MIC Services]]
 +
|
 +
|
 +
|-
 +
| style="background: red" | No
 +
| [[NFC Services]]
 +
|
 +
|
 +
|-
 +
| style="background: red" | No
 +
| [[MVD Services]]
 +
|
 +
|
 +
|-
 +
| style="background: red" | No
 +
| [[QTM Services]]
 +
|
 +
|
 +
|}
  
 
List of PXI services:
 
List of PXI services:

Revision as of 20:02, 12 October 2014

Nintendo provides application developers with an API, which behind the scenes communicate with certain services. Services in this sense are system processes running in the background which wait for incoming requests. When a process wants to communicate with a service, it first needs to get a handle to the named service, and then it can communicate with the service via interprocess communication. Each service has a name up to 8 characters, for example "nim:u".

Handles for services are retrieved from the service manager port, "srv:". Services are an abstraction of ports, they operate the same way except regular ports can have their handles retrieved directly from a SVC.

For a description of how commands and arguments are passed to services, see IPC Command Structure.

List of services:

Old3ds Services Ports Notes
Yes Filesystem services‎ fs:USER, fs:LDR, fs:REG
Yes Process Services‎
Yes PXI Services‎ PxiFS0, PxiFS1, PxiFSB, PxiFSR, PxiPM, pxi:am9, pxi:dev, pxi:mc, pxi:ps9
Yes Application Manager Services am:net, am:u, am:sys, am:pipe
Yes Process Manager Services pm:app, pm:dbg
Yes NIM Services
Yes Config Services
Yes NS and APT Services
Yes RO Services
Yes NDM Services
Yes CSND Services
Yes DSP Services
Yes GSP Services
Yes IR Services
Yes I2C Services
Yes GPIO Services
Yes HID Services
Yes PTM Services
Yes NWM Services
Yes HTTP Services
Yes SSL Services
Yes Socket Services
Yes AC Services
Yes Friend Services
Yes PDN Services
Yes SPI Services
Yes Loader Services
Yes MCU Services
Yes MIC Services
No NFC Services
No MVD Services
No QTM Services

List of PXI services:

List of ports:


See Error codes.