Difference between revisions of "NWMUDS:GetNodeInformationList"
Jump to navigation
Jump to search
(Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x001F0006] |- | 1 | (NetworkStructSize<<12) <nowiki>|</nowiki> 0x402 |- | 2 | In...") |
Steveice10 (talk | contribs) m |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 54: | Line 54: | ||
=Description= | =Description= | ||
− | The sizes of the input/output buffers are hard-coded. The tag-data buffers begin at the OUI field in the tags. Normally tag1buf is unused(all-zero), tag1 is only used when the crypt-size is larger than 0xFA. The decrypted data is byte-swapped to little-endian when copying to the output buffer. | + | The sizes of the input/output buffers are hard-coded. The tag-data buffers begin at the OUI field in the tags(this data is from [[NWMUDS:StartScan]]). Normally tag1buf is unused(all-zero), tag1 is only used when the crypt-size is larger than 0xFA. The decrypted data is byte-swapped to little-endian when copying to the output buffer. |
+ | |||
+ | While the input tag-data can be from arbitrary tags, the user-process normally uses OUI type 24/0x18 for tag0 and type 25/0x19 for tag1(when it exists). |
Latest revision as of 08:39, 23 July 2023
Request[edit]
Index Word | Description |
---|---|
0 | Header code [0x001F0006] |
1 | (NetworkStructSize<<12) | 0x402 |
2 | Input network struct buffer ptr |
3 | (Tag0BufSize<<12) | 0x802 |
4 | Tag0 data buffer ptr |
5 | (Tag1BufSize<<12) | 0xC02 |
6 | Tag1 data buffer ptr |
The following is located 0x100-bytes after the beginning of the above command buffer:
Index Word | Description |
---|---|
0 | (Size<<14) | 2 |
1 | Ptr to output buffer, size is hard-coded to 0x280. |
Response[edit]
Index Word | Description |
---|---|
0 | Header code |
1 | Result code |
Description[edit]
The sizes of the input/output buffers are hard-coded. The tag-data buffers begin at the OUI field in the tags(this data is from NWMUDS:StartScan). Normally tag1buf is unused(all-zero), tag1 is only used when the crypt-size is larger than 0xFA. The decrypted data is byte-swapped to little-endian when copying to the output buffer.
While the input tag-data can be from arbitrary tags, the user-process normally uses OUI type 24/0x18 for tag0 and type 25/0x19 for tag1(when it exists).