Difference between revisions of "ACU:GetCurrentNZoneInfo"

From 3dbrew
Jump to navigation Jump to search
(Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x00100042] |- | 1 | Size |- | 2 | Value 0x20 (processID header) |- | 3 | ProcessI...")
 
 
Line 52: Line 52:
 
|-
 
|-
 
| 0x0
 
| 0x0
| 0x30
+
| 0x34
| AP info from [[ACU:GetCurrentAPInfo]]?
+
| AP info from [[ACU:GetCurrentAPInfo]]
|-
 
| 0x30
 
| 0x1
 
| ?
 
|-
 
| 0x31
 
| 0x1
 
| ?
 
|-
 
| 0x32
 
| 0x2
 
| ?
 
 
|-
 
|-
 
| 0x34
 
| 0x34

Latest revision as of 06:18, 25 July 2013

Request[edit]

Index Word Description
0 Header code [0x00100042]
1 Size
2 Value 0x20 (processID header)
3 ProcessID set by the ARM11 kernel.

The following is located 0x100-bytes after the beginning of the above command buffer:

Index Word Description
0 (Size<<14) | 2
1 Pointer to output Nintendo Zone info structure

Response[edit]

Index Word Description
0 Header code
1 Result code

Output NZone Structure[edit]

Offset Size Description
0x0 0x34 AP info from ACU:GetCurrentAPInfo
0x34 0x4 SSID length?
0x38 0x20 SSID
0x58 0xA ApNum
0x62 0x1 ?
0x63 0x5 ?
0x68 0x18 UTF-8 ServiceName?
0x80 0x20 Network encryption key
0xA0 0x1 ?
0xA1 0x1 ?
0xA2 0x1 ?
0xA3 0x1 ?