Difference between revisions of "ACT Services"

From 3dbrew
Jump to navigation Jump to search
(added the AcquireMii function)
Line 15: Line 15:
 
|  
 
|  
 
| [[ACT:Initialize|Initialize]]
 
| [[ACT:Initialize|Initialize]]
 +
|-
 +
| 0x000190044
 +
|
 +
| [[ACT:AcquireMii|AcquireMii]]
 
|-
 
|-
 
| 0x00020040
 
| 0x00020040

Revision as of 04:24, 6 April 2017


The ACT module handles NNID accounts.

ACT service "act:u"

These commands are common to both act:u and act:a

Command Header Available since system-version Description
0x00010084 Initialize
0x000190044 AcquireMii
0x00020040 GetErrorCode
0x000600C2 GetAccountDataBlock
0x000B0042 AcquireEulaList
0x000D0040 GenerateUuid

ACT service "act:a"

These commands are exclusive to act:a

Command Header Available since system-version Description
0x041300C2 UpdateMiiImage
0x041B0142 AgreeEula
0x04210042 UploadMii
0x04230082 ValidateMailAddress


This is the service used by regular applications.

HTTPS Requests

With each request, ACT-sysmodule specifies request-header "X-Nintendo-Device-Model". This is the only *dedicated* request-header that's contains anything Old3DS/New3DS specific. This was implemented with 9.0.0-X, and presumably 8.1.0-0_New3DS. The value is from a string initialized during ACT-sysmodule startup. The value-string is the codename string for all 5 of the model values from Cfg:GetSystemModel. When the output from GetSystemModel is >=5(switch statement default case), it runs this: "len = snprintf(outstr, outmaxsize, "3DS-%u", model);"

Trusted Root CAs

ACT module uses a RootCertChain for all HTTPS requests, the only trusted root CA is default CertID 0x3.

New3DS

Even though ACT-sysmodule uses ptm:s, it doesn't use CheckNew3DS at all.