AM:GetDeviceId

From 3dbrew
Revision as of 00:38, 2 February 2017 by Yellows8 (talk | contribs)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Request

Index Word Description
0 Header code [0x000A0000]

Response

Index Word Description
0 Header code
1 Result code
2 Unused by NIM.
3 Device ID

Description

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 platformID(NIM has that hard-coded to 4 for DeviceId generation, in the code for AM:GetDeviceId).