Difference between revisions of "NWMINF:ConnectToAP"

From 3dbrew
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 6: Line 6:
 
|-
 
|-
 
| 0
 
| 0
| Header code [0x00070742]
+
| Header code [0x0008....]
 
|-
 
|-
 
| 1-8
 
| 1-8
Line 20: Line 20:
 
| ?
 
| ?
 
|-
 
|-
| 13-29
+
| 13
| 0x44-byte network structure
+
| ?
|-
 
| 30
 
| Value 0x0
 
 
|-
 
|-
| 31
+
| 14
 
| Event handle. This is probably signaled once the system finishes connecting to the AP?
 
| Event handle. This is probably signaled once the system finishes connecting to the AP?
 
|}
 
|}
Line 43: Line 40:
 
|}
 
|}
  
=Network structure=
+
=Description=
{| class="wikitable" border="1"
+
Calls same code as [[NWMINF:ConnectToEncryptedAP]] but with an all-zero encryption struct.
|-
 
!  Offset
 
!  Size
 
!  Description
 
|-
 
| 0x0
 
| 0x1
 
| ?
 
|-
 
| 0x1
 
| 0x1
 
| ?
 
|-
 
| 0x2
 
| 0x1
 
| ?
 
|-
 
| 0x3
 
| 0x1
 
| ?
 
|-
 
| 0x4
 
| 0x20
 
| This is the WPA PSK / network encryption key.
 
|-
 
| 0x24
 
| 0x20
 
| Usually zero.
 
|}
 

Latest revision as of 04:03, 20 October 2015

Request[edit]

Index Word Description
0 Header code [0x0008....]
1-8 SSID
9 SSID length
10-11 6-byte AP MAC address
12 ?
13 ?
14 Event handle. This is probably signaled once the system finishes connecting to the AP?

Response[edit]

Index Word Description
0 Header code
1 Result code

Description[edit]

Calls same code as NWMINF:ConnectToEncryptedAP but with an all-zero encryption struct.