WLAN services: Difference between revisions
No edit summary |
|||
Line 94: | Line 94: | ||
No input/output. | No input/output. | ||
Sends command message 0x6 to the state machine. | Sends command message 0x6 (SetWlanMode6) to the state machine. | ||
== CloseMode == | == CloseMode == | ||
No input/output. | No input/output. | ||
Sends command message 0x5 to the state machine. | Sends command message 0x5 (SetWlanMode5) to the state machine. | ||
== GetMacAddress == | == GetMacAddress == | ||
No input. Returns an output [[#MacAddress]]. | No input. Returns an output [[#MacAddress]]. | ||
Sends command message 0x18 to the state machine. | Sends command message 0x18 (GetMacAddress) to the state machine. | ||
== StartScan == | == StartScan == | ||
Takes a type-0x15 input buffer buffer containing a [[#ScanRequest]]. No output. | Takes a type-0x15 input buffer buffer containing a [[#ScanRequest]]. No output. | ||
Sends command messages 0xA and 0x14 to the state machine. | Sends command messages 0xA (SetWlanInterfaceUpDown) and 0x14 (ScanRequest) to the state machine. | ||
== StopScan == | == StopScan == | ||
No input/output. | No input/output. | ||
Sends command message 0x16 to the state machine. | Sends command message 0x16 (CancelScan) to the state machine. | ||
== Connect == | == Connect == | ||
Takes an input [[#ConnectParam]]. No output. | Takes an input [[#ConnectParam]]. No output. | ||
Sends command messages 0xA, 0x13 and 0x20 to the state machine. | Sends command messages 0xA (SetWlanInterfaceUpDown), 0x13 (SetBeaconLostTimeout) and 0x20 (JoinNetworkSta) to the state machine. | ||
== CancelConnect == | == CancelConnect == | ||
No input/output. | No input/output. | ||
Sends command message 0x23 to the state machine. | Sends command message 0x23 (CancelJoinNetwork) to the state machine. | ||
== Disconnect == | == Disconnect == | ||
No input/output. | No input/output. | ||
Sends command message 0x24 to the state machine. | Sends command message 0x24 (DisconnectRequest) to the state machine. | ||
== GetSystemEvent == | == GetSystemEvent == | ||
Line 137: | Line 137: | ||
No input. Returns an output [[#ConnectionStatus]]. | No input. Returns an output [[#ConnectionStatus]]. | ||
Sends command message 0x80 to the state machine. | Sends command message 0x80 (GetState) to the state machine. | ||
== GetState == | == GetState == | ||
No input. Returns an output [[#State]]. | No input. Returns an output [[#State]]. | ||
Sends command message 0x80 to the state machine. | Sends command message 0x80 (GetState) to the state machine. | ||
== GetScanResult == | == GetScanResult == | ||
Takes a type-0x6 output buffer containing a [[#ScanResult]]. No output. | Takes a type-0x6 output buffer containing a [[#ScanResult]]. No output. | ||
Sends command message 0x15 to the state machine. | Sends command message 0x15 (BssInfoListGet) to the state machine. | ||
== GetRssi == | == GetRssi == | ||
No input. Returns an output u32 '''Rssi'''. | No input. Returns an output u32 '''Rssi'''. | ||
Sends command message 0x2E to the state machine. | Sends command message 0x2E (GetRssi) to the state machine. | ||
== ChangeRxAntenna == | == ChangeRxAntenna == | ||
Takes an input u32. No output. | Takes an input u32. No output. | ||
Sends command message 0x30 to the state machine. | Sends command message 0x30 (SetRxChain) to the state machine. | ||
== GetFwVersion == | == GetFwVersion == | ||
Takes a type-0xA output buffer containing a [[#FwVersion]]. No output. | Takes a type-0xA output buffer containing a [[#FwVersion]]. No output. | ||
Sends command message 0x32 to the state machine. | Sends command message 0x32 (GetFwVersion) to the state machine. | ||
== RequestSleep == | == RequestSleep == | ||
No input/output. | No input/output. | ||
Sends command message 0x33 to the state machine. | Sends command message 0x33 (RequestSleep) to the state machine. | ||
== RequestWakeUp == | == RequestWakeUp == | ||
No input/output. | No input/output. | ||
Sends command messages 0x1, 0x80 and 0x81 to the state machine. | Sends command messages 0x1 (InitalizeWlanDriver), 0x80 (GetState) and 0x81 (GetStateBeforeSleep) to the state machine. | ||
== ConnectWithWps == | == ConnectWithWps == | ||
Takes a type-0x9 input buffer containing a [[#WpsPin]] and two input u32s '''WpsMethod''' and '''BeaconLostTimeout'''. No output. | Takes a type-0x9 input buffer containing a [[#WpsPin]] and two input u32s '''WpsMethod''' and '''BeaconLostTimeout'''. No output. | ||
Sends command messages 0xA, 0x13 and 0x21 to the state machine. | Sends command messages 0xA (SetWlanInterfaceUpDown), 0x13 (SetBeaconLostTimeout) and 0x21 (JoinNetworkStaWithWps) to the state machine. | ||
== Cmd19 == | == Cmd19 == |