Difference between revisions of "AM:GetDeviceId"

From 3dbrew
Jump to navigation Jump to search
(Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x000A0000] |} =Response= {| class="wikitable" border="1" |- ! Index Word ! Des...")
 
Line 25: Line 25:
 
|-
 
|-
 
| 3
 
| 3
| u32 DeviceID, used with SOAP requests
+
| u32 DeviceID
 
|}
 
|}
 +
 +
=Description=
 +
This retrieves the DeviceID, used in SOAP requests. On DSi the SOAP DeviceID came from the DeviceCert, this 3DS DeviceID likely comes from there as well. The SOAP DeviceID is a decimal u64, where the lower word is the retrieved DeviceID while the upper word is the consoletype.(consoletype 4 = 3DS, 3=DSi, 0=Wii)

Revision as of 00:24, 21 May 2012

Request

Index Word Description
0 Header code [0x000A0000]

Response

Index Word Description
0 Header code
1 Result code
2 ?
3 u32 DeviceID

Description

This retrieves the DeviceID, used in SOAP requests. On DSi the SOAP DeviceID came from the DeviceCert, this 3DS DeviceID likely comes from there as well. The SOAP DeviceID is a decimal u64, where the lower word is the retrieved DeviceID while the upper word is the consoletype.(consoletype 4 = 3DS, 3=DSi, 0=Wii)