Difference between revisions of "AM:GetDeviceId"
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...") |
|||
(7 intermediate revisions by 3 users not shown) | |||
Line 22: | Line 22: | ||
|- | |- | ||
| 2 | | 2 | ||
− | | | + | | Secondary result code (0 -> Success) |
|- | |- | ||
| 3 | | 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 [[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. |
Latest revision as of 16:07, 11 November 2023
Request[edit]
Index Word | Description |
---|---|
0 | Header code [0x000A0000] |
Response[edit]
Index Word | Description |
---|---|
0 | Header code |
1 | Result code |
2 | Secondary result code (0 -> Success) |
3 | Device ID |
Description[edit]
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). The secondary result code does not seem to follow standard Result code format.