AM:GetDeviceId: Difference between revisions

Steveice10 (talk | contribs)
mNo edit summary
PabloMK7 (talk | contribs)
No edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 22: Line 22:
|-
|-
| 2
| 2
|?
| Secondary result code (0 -> Success)
|-
|-
| 3
| 3
Line 29: Line 29:


=Description=
=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, 1=Wii)
This retrieves the DeviceID, used in SOAP requests. The SOAP DeviceID is a decimal u64, where the lower word is the retrieved DeviceID while the upper word is the [[Titles|platformID]](NIM has that hard-coded to 4 for DeviceId generation, in the code for AM:GetDeviceId). The secondary result code does not seem to follow standard Result code format.