WLAN services: Difference between revisions

No edit summary
Line 24: Line 24:
| 8 || GetSystemEvent
| 8 || GetSystemEvent
|-
|-
| 9 || GetConnectionStatus
| 9 || [[#GetConnectionStatus]]
|-
|-
| 10 || GetState
| 10 || GetState
Line 90: Line 90:


[7.0.0+] Input/output for cmds 27/28 were swapped, perhaps these cmds were swapped?
[7.0.0+] Input/output for cmds 27/28 were swapped, perhaps these cmds were swapped?
== GetConnectionStatus ==
No input, returns an output 0x3C-byte struct.
This copies data from state to the output struct.
{| class="wikitable" border="1"
|-
! Offset || Size || Description
|-
| 0x0 || 0x4 ||
|-
| 0x4 || 0x4 ||
|-
| 0x8 || 0x2 || Channel
|-
| 0xA || 0x6 || AccessPoint MAC address
|-
| 0x10 || 0x22 || u8 SSID_len, then the SSID data.
|-
| 0x32 || 0x2 ||
|-
| 0x34 || 0x2 ||
|-
| 0x36 || 0x2 ||
|-
| 0x38 || 0x2 ||
|}


== Cmd19 ==
== Cmd19 ==