9.20.1.2 +WSTA

This command is used to control or query the DCE’s station mode functionality.

Security – Default Security for the command is: GGGG

Table 9-216. Command Syntax

Command

Description

Security

AT+WSTA

Read status of STA function

GGGG

AT+WSTA=<STATE>

Set state of STA function

GGGG

Table 9-217. Command Parameter Syntax

Parameter Name

Type

Description

<STATE>

Integer

State of the Wi-Fi station feature
  • 0 – Disable
  • 1 – Use configuration from +WSTAC command
Table 9-218. Response Syntax

Response

Description

+WSTA:<ASSOC_ID>,<STATE>

State

Table 9-219. Response Element Syntax

Element Name

Type

Description

<ASSOC_ID>

Integer

Association ID

<STATE>

Integer

Connected state
  • 0 – Not connected
  • 1 – Connected