Changes

7 bytes added ,  18:28, 1 June 2022
no edit summary
Line 94: Line 94:  
No input/output.
 
No input/output.
   −
Sends command message 0x6 (SetWlanMode6) to the state machine.
+
Sends command message 0x99 to the state machine.
    
== CloseMode ==
 
== CloseMode ==
 
No input/output.
 
No input/output.
   −
Sends command message 0x5 (SetWlanMode5) to the state machine.
+
Sends command message 0x9A to the state machine.
    
== GetMacAddress ==
 
== GetMacAddress ==
Line 119: Line 119:  
Takes an input [[#ConnectParam]]. No output.
 
Takes an input [[#ConnectParam]]. No output.
   −
Sends command messages 0xA (SetWlanInterfaceUpDown), 0x13 (SetBeaconLostTimeout) and 0x20 (JoinNetworkSta) to the state machine.
+
Sends command messages 0xA (SetWlanInterfaceUpDown), 0x11 (SetBeaconLostTimeout) and 0x20 (JoinNetworkSta) to the state machine.
    
== CancelConnect ==
 
== CancelConnect ==
Line 136: Line 136:  
== GetConnectionStatus ==
 
== GetConnectionStatus ==
 
No input. Returns an output [[#ConnectionStatus]].
 
No input. Returns an output [[#ConnectionStatus]].
  −
Sends command message 0x80 (GetState) to the state machine.
      
== GetState ==
 
== GetState ==
Line 162: Line 160:  
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 (GetFwVersion) to the state machine.
+
Sends command message 0x33 (GetFwVersion) to the state machine.
    
== RequestSleep ==
 
== RequestSleep ==
 
No input/output.
 
No input/output.
   −
Sends command message 0x33 (RequestSleep) to the state machine.
+
Sends command messages 0x24 (DisconnectRequest), 0x34 (RequestSleep), 0x3D and 0x3E to the state machine.
    
== RequestWakeUp ==
 
== RequestWakeUp ==
 
No input/output.
 
No input/output.
   −
Sends command messages 0x1 (InitalizeWlanDriver), 0x80 (GetState) and 0x81 (GetStateBeforeSleep) to the state machine.
+
Sends command messages 0x1 (InitalizeWlanDriver), 0x24 (DisconnectRequest), 0x35 (RequestWakeUp), 0x3E, 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 (SetWlanInterfaceUpDown), 0x13 (SetBeaconLostTimeout) and 0x21 (JoinNetworkStaWithWps) to the state machine.
+
Sends command messages 0xA (SetWlanInterfaceUpDown), 0x11 (SetBeaconLostTimeout) and 0x21 (JoinNetworkStaWithWps) to the state machine.
    
== Cmd19 ==
 
== Cmd19 ==