# WLAN AT commands

Source: [https://docs.qualcomm.com/doc/80-Y8730-10/topic/wlan_at_commands.html](https://docs.qualcomm.com/doc/80-Y8730-10/topic/wlan_at_commands.html)

Table : WLAN AT commands

| Command | Description |
| --- | --- |
| [AT+WIFISP](https://docs.qualcomm.com/doc/80-Y8730-10/topic/wlan_at_commands.html#Toc183468541) | Check whether Wi-Fi is supported |
| [AT+CWMODE](https://docs.qualcomm.com/doc/80-Y8730-10/topic/wlan_at_commands.html#Toc183468542) | Enable the device before processing |
| [AT+CWLAP](https://docs.qualcomm.com/doc/80-Y8730-10/topic/wlan_at_commands.html#Toc183468543) | Disable the device after processing |
| [AT+CWJAP](https://docs.qualcomm.com/doc/80-Y8730-10/topic/wlan_at_commands.html#Toc183468544) | Query/set Wi-Fi mode |
| [AT+CWQAP](https://docs.qualcomm.com/doc/80-Y8730-10/topic/wlan_at_commands.html#Toc183468545) | Scan nearby AP hotspots |
| [AT+CWSOFTAP](https://docs.qualcomm.com/doc/80-Y8730-10/topic/wlan_at_commands.html#Toc183468546) | Set the WPA security to connect AP |
| [AT+WEVT](https://docs.qualcomm.com/doc/80-Y8730-10/topic/wlan_at_commands.html#Toc183468547) | Set the password to connect to the AP |
| [AT+CWENABLE](https://docs.qualcomm.com/doc/80-Y8730-10/topic/wlan_at_commands.html#Toc183468548) | Query the connected AP information, or set the AP to be connected |
| [AT+CWQABLE](https://docs.qualcomm.com/doc/80-Y8730-10/topic/wlan_at_commands.html#Toc183468549) | Disconnect the AP |
| [AT+CWWPA](https://docs.qualcomm.com/doc/80-Y8730-10/topic/wlan_at_commands.html#Toc183468550) | View the information of opened AP hotspots, or open an AP hotspot. |
| [AT+CWPWD](https://docs.qualcomm.com/doc/80-Y8730-10/topic/wlan_at_commands.html#Toc183468551) | Turn on/off the event message notification prefixed with +EVT |
| [AT+CWPHYMODE](https://docs.qualcomm.com/doc/80-Y8730-10/topic/wlan_at_commands.html#Toc185621667) | Set/query the PHY mode of the station/AP |
| [AT+CWCOUNTRY](https://docs.qualcomm.com/doc/80-Y8730-10/topic/wlan_at_commands.html#Toc185621668) | Set/query the country code of the station/AP |
| [AT+ANTIINF](https://docs.qualcomm.com/doc/80-Y8730-10/topic/wlan_at_commands.html#Toc185621669) | Set/get the default values for anti-interference |
| [AT+EDCA](https://docs.qualcomm.com/doc/80-Y8730-10/topic/wlan_at_commands.html#Toc185621670) | Set/get EDCA parameters |
| [AT+EDCCATHR](https://docs.qualcomm.com/doc/80-Y8730-10/topic/wlan_at_commands.html#Toc185621671) | Set/get EDCCA threshold |
| [AT+BMISSTHR](https://docs.qualcomm.com/doc/80-Y8730-10/topic/wlan_at_commands.html#at_bmissthr) | Set/get the BMISS threshold |
| [AT+WPS](https://docs.qualcomm.com/doc/80-Y8730-10/topic/wlan_at_commands.html#at_wps) | Enable/disable the WPS PBC function |
| [AT+CWSAVE](https://docs.qualcomm.com/doc/80-Y8730-10/topic/wlan_at_commands.html#at_cwsave) | Save the credentials of the currently connected AP |
| [AT+CWLOAD](https://docs.qualcomm.com/doc/80-Y8730-10/topic/wlan_at_commands.html#at_cwload) | Load the saved AP credentials |

## AT+WIFISP

Source: [https://docs.qualcomm.com/doc/80-Y8730-10/topic/wlan_at_commands.html](https://docs.qualcomm.com/doc/80-Y8730-10/topic/wlan_at_commands.html)

This command checks whether Wi-Fi is supported.

### Operation type

Execution

### Syntax

| Command | Response |
| --- | --- |
| AT+WIFISP | +WIFISP: Supported<br><br><br>                <br>OK |

### Defined values

OK means Wi-Fi is supported

## AT+CWMODE

Source: [https://docs.qualcomm.com/doc/80-Y8730-10/topic/wlan_at_commands.html](https://docs.qualcomm.com/doc/80-Y8730-10/topic/wlan_at_commands.html)

This command supports query, set, and execution types:

- Query: Show command usage
- Set: Set Wi-Fi mode
- Execution: Show Wi-Fi mode

### Operation type

Query/Set/Execution

### Syntax

| Command | Response |
| --- | --- |
| AT+CWMODE? | &lt;mode&gt;:<br><br><br>                <br>Station mode<br><br><br>                <br>SoftAP mode<br><br><br>                <br>SoftAP + Station mode isn't supported<br><br><br>                <br>OK |
| AT+CWMODE=&lt;mode&gt; | OK |
| AT+CWMODE | +CWMODE=sta/ap |

## AT+CWLAP

Source: [https://docs.qualcomm.com/doc/80-Y8730-10/topic/wlan_at_commands.html](https://docs.qualcomm.com/doc/80-Y8730-10/topic/wlan_at_commands.html)

This command scans for nearby AP hotspots.

### Operation type

Set/Execution

### Syntax

| Command | Response |
| --- | --- |
| AT+CWLAP=&lt;ssid&gt; | +EVT:wlan\_scanstart<br><br><br>                <br>+EVT:wlan\_scanresultstart:&lt;bss\_count&gt;,&lt;scan\_mode&gt;<br><br><br>                <br>+CWLAP:&lt;ssid&gt;,&lt;mac address&gt;,&lt;channel&gt;,&lt;freq&gt;,&lt;security&gt;<br><br><br>                <br>+EVT:wlan\_scanresultend<br><br><br>                <br>OK |
| AT+CWLAP | +EVT:wlan\_scanstart<br><br><br>                <br>+EVT:wlan\_scanresultstart:&lt;bss\_count&gt;,&lt;scan\_mode&gt;<br><br><br>                <br>+CWLAP:&lt;ssid&gt;,&lt;mac address&gt;,&lt;channel&gt;,&lt;freq&gt;,&lt;security&gt;<br><br><br>                <br>+EVT:wlan\_scanresultend<br><br><br>                <br>OK |

### Defined values

- `<ssid>`: SSID of the scanned AP
- `<mac>`: MAC address of the scanned AP
- `<channel>`: Channel of the scanned AP
- `<freq>`: Frequency of the scanned AP
- `<security>`: Security of the scanned AP
- `<bss_count>`: Total scanning count
- `<scan mode>`:
    - `1`: Blocking mode
    - `2`: Nonbloking mode

## AT+CWJAP

Source: [https://docs.qualcomm.com/doc/80-Y8730-10/topic/wlan_at_commands.html](https://docs.qualcomm.com/doc/80-Y8730-10/topic/wlan_at_commands.html)

This command supports query, set, and execution types:

- Query: Show command usage
- Set: Set the SSID of the AP to be connected
- Execution: Show AP connection status

### Operation type

Query/Set/Execution

### Syntax

| Command | Response |
| --- | --- |
| AT+CWJAP? | +CWJAP:&lt;ssid&gt;,&lt;channel&gt;,&lt;rssi&gt;,&lt;powermode&gt;,&lt;macaddress&gt;,&lt;opmode&gt;,&lt;phymode&gt;<br><br><br>                <br>OK |
| AT+CWJAP=&lt;ssid&gt; | +EVT:wlan\_conned:&lt;deviceid&gt;,&lt;macaddress&gt;&gt;,&lt;freq&gt;,&lt;ssid&gt;,&lt;assoc\_id&gt;,&lt;initiated&gt;<br><br><br>                <br>+EVT:wlan\_disconn: :&lt;reason&gt;,&lt;connstatus&gt;,&lt;macaddress&gt;,&lt;freq&gt;,&lt;ssid&gt;,&lt;assoc\_id&gt;,&lt;initiated&gt;<br><br><br>                <br>OK |
| AT+CWJAP | +CWJAP=&lt;ssid&gt; |

### Defined values

- `<ssid>`: String parameter, AP’s SSID
- `<channel>`: Channel number of the connected AP
- `<rssi>`: Signal strength of the connected AP
- `<powermode>`: Power mode of the connected AP
- `<mac>`: MAC address of the connected AP
- `<phymode>`: PHY mode of the connected AP
- `<reason>`:
    - `1`: No network available
    - `5`: Authentication failed
    - `6`: Association failed
    - `8`: Disconnect due to connection services
- `<connstatus>`:
    - `1`: Disconnect

## AT+CWQAP

Source: [https://docs.qualcomm.com/doc/80-Y8730-10/topic/wlan_at_commands.html](https://docs.qualcomm.com/doc/80-Y8730-10/topic/wlan_at_commands.html)

This command disconnects the AP.

### Operation type

Execution

### Syntax

| Command | Response |
| --- | --- |
| AT+CWQAP | +EVT:wlan\_disconcmd:&lt;deviceid&gt;,&lt;ssid&gt;<br><br><br>                <br>OK |

## AT+CWSOFTAP

Source: [https://docs.qualcomm.com/doc/80-Y8730-10/topic/wlan_at_commands.html](https://docs.qualcomm.com/doc/80-Y8730-10/topic/wlan_at_commands.html)

This command supports execution and set:

- Execution: View the information of the opened AP hotspots or open an AP hotspot.
- Set: Set channel, channel width, and SSID. This command should be executed after setting AP mode.

### Operation type

Set/Execution

### Syntax

| Command | Response |
| --- | --- |
| AT+CWSOFTAP | +CWSOFTAP=&lt;param1&gt;,&lt;param2&gt;,&lt;ssid&gt;(param1:disable/ht20, param2:1-14, 36-165)<br><br><br>                <br>OK |
| AT+CWSOFTAP=&lt;ht20&gt;,&lt;channel&gt;,&lt;ssid&gt; | +EVT:wlan\_switchchan:&lt;deviceid&gt;,&lt;freq&gt;,&lt;ssid&gt;<br><br><br>                <br>+EVT:wlan\_conned:&lt;deviceid&gt;,&lt;mac&gt;,&lt;freq&gt;,&lt;ssid&gt;,&lt;assoc\_id&gt;,&lt;initiated&gt;<br><br><br>                <br>OK |

## AT+WEVT

Source: [https://docs.qualcomm.com/doc/80-Y8730-10/topic/wlan_at_commands.html](https://docs.qualcomm.com/doc/80-Y8730-10/topic/wlan_at_commands.html)

This command turns on or off the event message notification prefixed with +EVT.

### Operation type

Query/Set/Execution

### Syntax

| Command | Response |
| --- | --- |
| AT+WEVT? | +WEVT:&lt;state&gt;<br><br><br>                <br>OK |
| AT+WEVT=&lt;state&gt; | OK |
| AT+WEVT | +WEVT=0/1<br><br><br>                <br>OK |

### Defined values

- `<state>`:
    - `1`: Turn on the notification function
    - `0`: Turn off the notification function

## AT+CWENABLE

Source: [https://docs.qualcomm.com/doc/80-Y8730-10/topic/wlan_at_commands.html](https://docs.qualcomm.com/doc/80-Y8730-10/topic/wlan_at_commands.html)

This command enables the device before processing.

### Operation type

Execution

### Syntax

| Command | Response |
| --- | --- |
| AT+CWENABLE | +EVT:wlan\_enable<br><br><br>                <br>OK |

## AT+CWQABLE

Source: [https://docs.qualcomm.com/doc/80-Y8730-10/topic/wlan_at_commands.html](https://docs.qualcomm.com/doc/80-Y8730-10/topic/wlan_at_commands.html)

This command disables the device after processing.

### Operation type

Execution

### Syntax

| Command | Response |
| --- | --- |
| AT+CWQABLE | +EVT:wlan\_disable<br><br><br>                <br>OK |

## AT+CWWPA

Source: [https://docs.qualcomm.com/doc/80-Y8730-10/topic/wlan_at_commands.html](https://docs.qualcomm.com/doc/80-Y8730-10/topic/wlan_at_commands.html)

This command sets the WPA security to connect AP. Mixed mode for unicast and multicast cipher isn't supported. QCC730 WLAN can either be a pure WPA/WPA2/SAE device, or a SAE\_WPA2/SAE\_WPA2\_WPA mixed mode device.

Version: WPA/WPA2/SAE/SAE\_WPA2/SAE\_WPA2\_WPA

Cipher: CCMP/TKIP

### Operation type

Set/Execution

### Syntax

| Command | Response |
| --- | --- |
| AT+CWWPA | +CWWPA=WPA/WPA2/SAE,CCMP,CCMP/TKIP,TKIP. For mix mode, +CWWPA=SAE\_WPA2/SAE\_WPA2\_WPA,CCMP and TKIP are not required<br><br><br>                <br>OK |
| AT+CWWPA=&lt;WPA&gt;,&lt;CCMP&gt;,&lt;CCMP&gt; | OK |

### Defined values

`<WPA>`: WPA/WPA2/SAE/SAE\_WPA2/SAE\_WPA2\_WPA

## AT+CWPWD

Source: [https://docs.qualcomm.com/doc/80-Y8730-10/topic/wlan_at_commands.html](https://docs.qualcomm.com/doc/80-Y8730-10/topic/wlan_at_commands.html)

This command sets the password to connect to the AP.

### Operation type

Set/Execution

### Syntax

| Command | Response |
| --- | --- |
| AT+CWPWD | +CWPWD=&lt;PASSWORD&gt;(The PASSWORD length should be between 8 and 64)<br><br><br>                <br>OK |
| AT+CWPWD=&lt;password&gt; | OK |

## AT+CWPHYMODE

Source: [https://docs.qualcomm.com/doc/80-Y8730-10/topic/wlan_at_commands.html](https://docs.qualcomm.com/doc/80-Y8730-10/topic/wlan_at_commands.html)

This command supports query, set, and execution types:

- Query: Show command usage
- Set: Set the PHY mode before connecting to an AP
- Execution: Show the PHY mode of the AP

### Operation type

Query/Set/Execution

### Syntax

| Command | Response |
| --- | --- |
| AT+CWPHYMODE? | +CWPHYMODE:&lt;phymode&gt;<br><br><br>                <br>OK |
| AT+CWPHYMODE=&lt;CWPHYMODE&gt; | OK |
| AT+CWPHYMODE | +CWPHYMODE=a/b/g/ng/abgn<br><br><br>                <br>OK |

### Defined values

`<phymode>`: a/b/g/ng/abgn

## AT+CWCOUNTRY

Source: [https://docs.qualcomm.com/doc/80-Y8730-10/topic/wlan_at_commands.html](https://docs.qualcomm.com/doc/80-Y8730-10/topic/wlan_at_commands.html)

This command supports query, set, and execution types:

- Query: Show command usage
- Set: Set the country code of the AP
- Execution: Show the country code of the AP

### Operation type

Query/Set/Execution

### Syntax

| Command | Response |
| --- | --- |
| AT+CWCOUNTRY? | +CWCOUNTRY:&lt;CWCOUNTRYCODE&gt;,(freq\_start-freq\_end@band,channel,rssi)<br><br><br>                <br>OK |
| AT+CWCOUNTRY=&lt;CWCOUNTRYCODE&gt; | OK |
| AT+CWCOUNTRY | +CWCOUNTRY=&lt;countrycode&gt;, e.g. US/CN<br><br><br>                <br>OK |

### Defined values

`<CWCOUNTRYCODE>`:CN/US

## AT+ANTIINF

Source: [https://docs.qualcomm.com/doc/80-Y8730-10/topic/wlan_at_commands.html](https://docs.qualcomm.com/doc/80-Y8730-10/topic/wlan_at_commands.html)

This command sets or gets the default values for anti-interference.

Note: This command only works on 2.4 GHz Wi-Fi.

### Operation type

Query/Set/Execution

### Syntax

| Command | Response |
| --- | --- |
| AT+ANTIINF | AT+ANTIINF=&lt;0: 1M RTS|1:6M RTS|2: 12M RTS&gt;<br><br><br>                <br>AT+ANTIINF?: get ANTIINF<br><br><br>                <br>OK |
| AT+ANTIINF=&lt;0: 1M RTS|1:6M RTS|2: 12M RTS&gt; | OK |
| AT+ANTIINF? | +ANTIINF:&lt;enable|disable&gt;,&lt;rate&gt;,&lt;qid&gt;,&lt;cw\_min&gt;,&lt;cw\_max&gt;,&lt;thr&gt;,&lt;ack\_timeout&gt;,&lt;delay&gt;,&lt;slot\_time&gt;<br><br><br>                <br>OK |

### Defined values

- `<enable|disable>`: RTS enable|disable
- `<rate>`: RTS rate (Mbps)
- `<qid>`: Queue ID
- `<cw_min>`: Minimum contention window
- `<cw_max>`: Maximum contention window
- `<thr>`: Per upper threshold
- `<ack_timeout>`: BA window size ack timeout (μs)
- `<delay>`: Delay of SM clock cycles
- `<slot_time>`: Slot time (μs)

## AT+EDCA

Source: [https://docs.qualcomm.com/doc/80-Y8730-10/topic/wlan_at_commands.html](https://docs.qualcomm.com/doc/80-Y8730-10/topic/wlan_at_commands.html)

This command sets or gets EDCA parameters.

### Operation type

Set/Execution

### Syntax

| Command | Response |
| --- | --- |
| AT+EDCA | AT+EDCA=setparam,&lt;qtid:0~7 or 255&gt;,&lt;aifsn&gt;,&lt;cwmin:exp&gt;,&lt;cwmax:exp&gt;,&lt;txop\_limit&gt;<br><br><br>                <br>AT+EDCA=getparam,&lt;qtid:0~7 or 255&gt;<br><br><br>                <br>OK |
| AT+EDCA=setparam,&lt;qtid:0~7 or 255&gt;,&lt;aifsn&gt;,&lt;cw\_min:exp&gt;,&lt;cw\_max:exp&gt;,&lt;txop\_limit&gt; | OK |
| AT+EDCA=getparam,&lt;qid&gt; | +EDCA:&lt;qtid&gt;,&lt;aifsn&gt;,&lt;cw\_min&gt;,&lt;cw\_max&gt;,&lt;txop\_limit&gt;<br><br><br>                <br>OK |

### Defined values

- `<qtid>`: Queue ID
- `<aifsn>`: Arbitration inter-frame spacing number
- `<cw_min>`: Minimum contention window
- `<cw_max>`: Maximum contention window
- `<cw_min:exp>`: Exponent form of `<cw_min>`
- `<cw_max:exp>`: Exponent form of `<cw_max>`
- `<txop_limit>`: Transmission opportunity limit

## AT+EDCCATHR

Source: [https://docs.qualcomm.com/doc/80-Y8730-10/topic/wlan_at_commands.html](https://docs.qualcomm.com/doc/80-Y8730-10/topic/wlan_at_commands.html)

This command sets or gets the EDCCA threshold.

### Operation type

Query/Set/Execution

### Syntax

| Command | Response |
| --- | --- |
| AT+EDCCATHR | AT+EDCCATHR=&lt;EDCCA value, euqals real value plus 100&gt;<br><br><br>                <br>AT+EDCCATHR?: get EDCCATHR<br><br><br>                <br>OK |
| AT+EDCCATHR=&lt;EDCCA value&gt; | OK |
| AT+EDCCATHR? | +EDCCA:&lt;EDCCA value&gt;<br><br><br>                <br>OK |

### Defined values

`<EDCCA value>`: EDCCA value, which equals the real threshold value plus 100 (dBm)

## AT+BMISSTHR

Source: [https://docs.qualcomm.com/doc/80-Y8730-10/topic/wlan_at_commands.html](https://docs.qualcomm.com/doc/80-Y8730-10/topic/wlan_at_commands.html)

This command sets or gets BMISS threshold.

### Operation type

Query/Set/Execution

### Syntax

| Command | Response |
| --- | --- |
| AT+BMISSTHR | AT+BMISSTHR=&lt;bmiss\_threshold: 0~255&gt;<br><br><br>                                <br>AT+BMISSTHR?: get BMISSTHR<br><br><br>                                <br>OK |
| AT+BMISSTHR=&lt;bmiss\_threshold&gt; | OK |
| AT+BMISSTHR? | +BMISSTHR:&lt;bmiss\_threshold&gt;<br><br><br>                                <br>OK |

### Defined values

`<bmiss_threshold>`: Beacon miss threshold

## AT+WPS

Source: [https://docs.qualcomm.com/doc/80-Y8730-10/topic/wlan_at_commands.html](https://docs.qualcomm.com/doc/80-Y8730-10/topic/wlan_at_commands.html)

This command enables or disables Wi-Fi Protected Setup (WPS) Push Button Configuration (PBC) function.

### Operation type

Set

### Syntax

| Command | Response |
| --- | --- |
| AT+WPS=&lt;1:Enable|0:Disable&gt; [,&lt;auth\_floor&gt;] | OK<br><br><br>                <br>+EVT:wlan\_disconn:&lt;reason&gt;,&lt;connstatus&gt;,&lt;macaddress&gt;,&lt;freq&gt;,&lt;ssid&gt;,&lt;assoc\_id&gt;,&lt;initiated&gt;<br><br><br>                <br>+EVT:wlan\_conned:&lt;deviceid&gt;,&lt;macaddress&gt;&gt;,&lt;freq&gt;,&lt;ssid&gt;,&lt;assoc\_id&gt;,&lt;initiated&gt; |

### Defined values

- `<enable>`:
    - `1`: Enable WPS PBC mode and start WPS scan and connect process
    - `0`: Disable WPS PBC
- `<auth floor>`: DUT won't connect to the AP whose auth mode is lower than this floor
    - `0`: OPEN (Default)
    - `1`: WEP (Deprecated in WSC 2.0)
    - `2`: WPA\_PSK
    - `3`: WPA2\_PSK
    - `4`: WPA\_WPA2\_PSK
    - `5`: WPA2\_ENTERPRISE (Not supported)
    - `6`: WPA3\_PSK (Not supported in WSC 2.0)
    - `7`: WPA2\_WPA3\_PSK

## AT+CWSAVE

Source: [https://docs.qualcomm.com/doc/80-Y8730-10/topic/wlan_at_commands.html](https://docs.qualcomm.com/doc/80-Y8730-10/topic/wlan_at_commands.html)

This command saves the credentials of the currently connected AP (SSID, passphrase, auth mode, cipher) to /lfs/wifi.conf in device flash. You can use `AT+CWJAP=@saved` to connect to the saved AP after QCC730 reboots.

### Operation type

Execution

### Syntax

| Command | Response |
| --- | --- |
| AT+CWSAVE | OK |

## AT+CWLOAD

Source: [https://docs.qualcomm.com/doc/80-Y8730-10/topic/wlan_at_commands.html](https://docs.qualcomm.com/doc/80-Y8730-10/topic/wlan_at_commands.html)

This command loads the saved AP credentials from /lfs/wifi.conf into the device context. It can be called before `AT+CWENABLE` to preload the credentials before enabling Wi-Fi.

### Operation type

Execution

### Syntax

| Command | Response |
| --- | --- |
| AT+CWLOAD | +CWLOAD: SSID=&lt;ssid&gt;<br><br><br>                <br>OK |

Last Published: Jun 03, 2026

[Previous Topic
Basic AT commands](https://docs.qualcomm.com/bundle/publicresource/80-Y8730-10/topics/basic_at_commands.md) [Next Topic
TCPIP AT commands](https://docs.qualcomm.com/bundle/publicresource/80-Y8730-10/topics/tcpip_at_commands.md)