Difference between revisions of "Services API"

From 3dbrew
Jump to navigation Jump to search
Line 21: Line 21:
 
* [[IR Services]]
 
* [[IR Services]]
 
* [[I2C Services]]
 
* [[I2C Services]]
 +
* [[GPIO Services]]
 
* [[HID Services]]
 
* [[HID Services]]
 
* [[PTM|PTM Services]]
 
* [[PTM|PTM Services]]
Line 34: Line 35:
 
* [[MCU Services]]
 
* [[MCU Services]]
 
* [[MIC Services]]
 
* [[MIC Services]]
 +
* [[NFC Services]]
  
 
List of PXI services:
 
List of PXI services:

Revision as of 23:34, 12 September 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:

List of PXI services:

List of ports:


See Error codes.