# WLAN AT commands
Source: [https://docs.qualcomm.com/doc/80-Y8730-7/topic/wlan_at_commands.html](https://docs.qualcomm.com/doc/80-Y8730-7/topic/wlan_at_commands.html)
Table : WLAN AT commands
| Command | Description |
| --- | --- |
| [AT+WIFISP](https://docs.qualcomm.com/doc/80-Y8730-7/topic/wlan_at_commands.html#Toc183468541) | Check whether Wi-Fi is supported |
| [AT+CWMODE](https://docs.qualcomm.com/doc/80-Y8730-7/topic/wlan_at_commands.html#Toc183468542) | Enable the device before processing |
| [AT+CWLAP](https://docs.qualcomm.com/doc/80-Y8730-7/topic/wlan_at_commands.html#Toc183468543) | Disable the device after processing |
| [AT+CWJAP](https://docs.qualcomm.com/doc/80-Y8730-7/topic/wlan_at_commands.html#Toc183468544) | Query/set Wi-Fi mode |
| [AT+CWQAP](https://docs.qualcomm.com/doc/80-Y8730-7/topic/wlan_at_commands.html#Toc183468545) | Scan nearby AP hotspots |
| [AT+CWSOFTAP](https://docs.qualcomm.com/doc/80-Y8730-7/topic/wlan_at_commands.html#Toc183468546) | Set the WPA security to connect AP |
| [AT+WEVT](https://docs.qualcomm.com/doc/80-Y8730-7/topic/wlan_at_commands.html#Toc183468547) | Set the password to connect to the AP |
| [AT+CWENABLE](https://docs.qualcomm.com/doc/80-Y8730-7/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-7/topic/wlan_at_commands.html#Toc183468549) | Disconnect the AP |
| [AT+CWWPA](https://docs.qualcomm.com/doc/80-Y8730-7/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-7/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-7/topic/wlan_at_commands.html#Toc185621667) | Set/query the PHY mode of the station/AP |
| [AT+CWCOUNTRY](https://docs.qualcomm.com/doc/80-Y8730-7/topic/wlan_at_commands.html#Toc185621668) | Set/query the country code of the station/AP |
| [AT+ANTIINF](https://docs.qualcomm.com/doc/80-Y8730-7/topic/wlan_at_commands.html#Toc185621669) | Set/get the default values for anti-interference |
| [AT+EDCA](https://docs.qualcomm.com/doc/80-Y8730-7/topic/wlan_at_commands.html#Toc185621670) | Set/get EDCA parameters |
| [AT+EDCCATHR](https://docs.qualcomm.com/doc/80-Y8730-7/topic/wlan_at_commands.html#Toc185621671) | Set/get EDCCA threshold |
| [AT+BMISSTHR](https://docs.qualcomm.com/doc/80-Y8730-7/topic/wlan_at_commands.html#at_bmissthr) | Set/get the BMISS threshold |
| [AT+DTIMINTERVAL](https://docs.qualcomm.com/doc/80-Y8730-7/topic/wlan_at_commands.html#at_dtiminterval) | Set the listen interval of the station |
| [AT+PS](https://docs.qualcomm.com/doc/80-Y8730-7/topic/wlan_at_commands.html#at_ps) | Enable/disable power sleep |
| [AT+PSINACTIVTYTIME](https://docs.qualcomm.com/doc/80-Y8730-7/topic/wlan_at_commands.html#at_psinactivitytime) | Set the max idle time before entering BMPS |
| [AT+PSIGBC](https://docs.qualcomm.com/doc/80-Y8730-7/topic/wlan_at_commands.html#at_psigbc) | Ignore BD and MC packets |
| [AT+PSBCMCFLT](https://docs.qualcomm.com/doc/80-Y8730-7/topic/wlan_at_commands.html#at_psbcmcflt) | Enable/disable the Rx filter |
| [AT+PSBCMCLST](https://docs.qualcomm.com/doc/80-Y8730-7/topic/wlan_at_commands.html#at_psbcmclst) | Add/remove a UDP destination port from the BCMC whitelist |
| [AT+CWSAVE](https://docs.qualcomm.com/doc/80-Y8730-7/topic/wlan_at_commands.html#at_cwsave) | Save Wi-Fi credentials to /lfs/wifi.conf |
## AT+WIFISP
Source: [https://docs.qualcomm.com/doc/80-Y8730-7/topic/wlan_at_commands.html](https://docs.qualcomm.com/doc/80-Y8730-7/topic/wlan_at_commands.html)
This command checks whether Wi-Fi is supported.
### Operation type
Execution
### Syntax
| Command | Response |
| --- | --- |
| AT+WIFISP | +WIFISP: Supported
OK |
### Defined values
OK means Wi-Fi is supported
## AT+CWMODE
Source: [https://docs.qualcomm.com/doc/80-Y8730-7/topic/wlan_at_commands.html](https://docs.qualcomm.com/doc/80-Y8730-7/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? | <mode>:
Station mode
SoftAP mode
SoftAP + Station mode
OK |
| AT+CWMODE=<mode> | OK |
| AT+CWMODE | +CWMODE=station/ap/ap\_sta
Note: Concurrent AP+STA mode (ap\_sta) must be entered through AP mode, it cann't be set directly. Attempting AT+CWMODE=ap\_sta while the device is in station mode isn't supported. |
## AT+CWLAP
Source: [https://docs.qualcomm.com/doc/80-Y8730-7/topic/wlan_at_commands.html](https://docs.qualcomm.com/doc/80-Y8730-7/topic/wlan_at_commands.html)
This command scans for nearby AP hotspots.
### Operation type
Set/Execution
### Syntax
| Command | Response |
| --- | --- |
| AT+CWLAP=<ssid> | +EVT:wlan\_scanstart
+CWLAP:<ssid>,<macaddress>,<channel>,<rssi>
+EVT: wlan\_scancmplt
OK |
| AT+CWLAP | +EVT:wlan\_scanstart
+CWLAP:<ssid>,<macaddress>,<channel>,<rssi>
+EVT:wlan\_scancmplt
OK |
### Defined values
- ``: SSID of the scanned AP
- ``: MAC address of the scanned AP
- ``: Channel of the scanned AP
- ``: Frequency of the scanned AP
- ``: Signal strength
## AT+CWJAP
Source: [https://docs.qualcomm.com/doc/80-Y8730-7/topic/wlan_at_commands.html](https://docs.qualcomm.com/doc/80-Y8730-7/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:<ssid>,<channel>,<rssi>,<powermode>,<macaddress>,<opmode>,<phymode>
OK |
| AT+CWJAP=<ssid> | +EVT:wlan\_conned:<deviceid>,<macaddress>>,<freq>,<ssid>,<assoc\_id>,<initiated>
+EVT:wlan\_disconn: :<reason>,<connstatus>,<macaddress>,<freq>,<ssid>,<assoc\_id>,<initiated>
OK |
| AT+CWJAP | +CWJAP=<ssid> |
### Defined values
- ``: String parameter, AP’s SSID
- ``: Channel number of the connected AP
- ``: Signal strength of the connected AP
- ``: Power mode of the connected AP
- ``: MAC address of the connected AP
- ``: PHY mode of the connected AP
- ``:
- `1`: No network available
- `5`: Authentication failed
- `6`: Association failed
- `8`: Disconnect due to connection services
- ``:
- `1`: Disconnect
## AT+CWQAP
Source: [https://docs.qualcomm.com/doc/80-Y8730-7/topic/wlan_at_commands.html](https://docs.qualcomm.com/doc/80-Y8730-7/topic/wlan_at_commands.html)
This command disconnects the AP.
### Operation type
Execution
### Syntax
| Command | Response |
| --- | --- |
| AT+CWQAP | +EVT:wlan\_disconn
OK |
## AT+CWSOFTAP
Source: [https://docs.qualcomm.com/doc/80-Y8730-7/topic/wlan_at_commands.html](https://docs.qualcomm.com/doc/80-Y8730-7/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=<param1>,<param2>,<ssid>[,<security>[,<passphrase>]]
OK |
| AT+CWSOFTAP=<ht20>,<channel>,<ssid> | +EVT:wlan\_switchchan:<deviceid>,<freq>,<ssid>
+EVT:wlan\_conned:<deviceid>,<mac>,<freq>,<ssid>,<assoc\_id>,<initiated>
OK |
### Defined values
- ``: disable/ht20
- ``: 1-14, 36-165
- ``: String parameter, AP’s SSID
- ``: Security mode, 1: PSK mode
- <`passphrase>`: Password of the connected AP
## AT+WEVT
Source: [https://docs.qualcomm.com/doc/80-Y8730-7/topic/wlan_at_commands.html](https://docs.qualcomm.com/doc/80-Y8730-7/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:<state>
OK |
| AT+WEVT=<state> | OK |
| AT+WEVT | +WEVT=0/1
OK |
### Defined values
- ``:
- `1`: Turn on the notification function
- `0`: Turn off the notification function
## AT+CWENABLE
Source: [https://docs.qualcomm.com/doc/80-Y8730-7/topic/wlan_at_commands.html](https://docs.qualcomm.com/doc/80-Y8730-7/topic/wlan_at_commands.html)
This command enables the device before processing.
### Operation type
Execution
### Syntax
| Command | Response |
| --- | --- |
| AT+CWENABLE | +CWENABLE:wlan enabled
OK |
## AT+CWQABLE
Source: [https://docs.qualcomm.com/doc/80-Y8730-7/topic/wlan_at_commands.html](https://docs.qualcomm.com/doc/80-Y8730-7/topic/wlan_at_commands.html)
This command disables the device after processing.
### Operation type
Execution
### Syntax
| Command | Response |
| --- | --- |
| AT+CWQABLE | +EVT:wlan\_disable
OK |
## AT+CWWPA
Source: [https://docs.qualcomm.com/doc/80-Y8730-7/topic/wlan_at_commands.html](https://docs.qualcomm.com/doc/80-Y8730-7/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
OK |
| AT+CWWPA=<WPA>,<CCMP>,<CCMP> | OK |
### Defined values
``: WPA/WPA2/SAE/SAE\_WPA2/SAE\_WPA2\_WPA
## AT+CWPWD
Source: [https://docs.qualcomm.com/doc/80-Y8730-7/topic/wlan_at_commands.html](https://docs.qualcomm.com/doc/80-Y8730-7/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=<PASSWORD>(The PASSWORD length should be between 8 and 64)
OK |
| AT+CWPWD=<password> | OK |
## AT+CWPHYMODE
Source: [https://docs.qualcomm.com/doc/80-Y8730-7/topic/wlan_at_commands.html](https://docs.qualcomm.com/doc/80-Y8730-7/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:<phymode>
OK |
| AT+CWPHYMODE=<CWPHYMODE> | OK |
| AT+CWPHYMODE | +CWPHYMODE=a/b/g/ng/abgn
OK |
### Defined values
``: a/b/g/ng/abgn
## AT+CWCOUNTRY
Source: [https://docs.qualcomm.com/doc/80-Y8730-7/topic/wlan_at_commands.html](https://docs.qualcomm.com/doc/80-Y8730-7/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:<CWCOUNTRYCODE>,(freq\_start-freq\_end@band,channel,rssi)
OK |
| AT+CWCOUNTRY=<CWCOUNTRYCODE> | OK |
| AT+CWCOUNTRY | +CWCOUNTRY=<countrycode>, e.g. US/CN
OK |
### Defined values
``:CN/US
## AT+ANTIINF
Source: [https://docs.qualcomm.com/doc/80-Y8730-7/topic/wlan_at_commands.html](https://docs.qualcomm.com/doc/80-Y8730-7/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=<0: 1M RTS|1:6M RTS|2: 12M RTS>
AT+ANTIINF?: get ANTIINF
OK |
| AT+ANTIINF=<0: 1M RTS|1:6M RTS|2: 12M RTS> | OK |
| AT+ANTIINF? | +ANTIINF:<enable|disable>,<rate>,<qid>,<cw\_min>,<cw\_max>,<thr>,<ack\_timeout>,<delay>,<slot\_time>
OK |
### Defined values
- ``: RTS enable|disable
- ``: RTS rate (Mbps)
- ``: Queue ID
- ``: Minimum contention window
- ``: Maximum contention window
- ``: Per upper threshold
- ``: BA window size ack timeout (μs)
- ``: Delay of SM clock cycles
- ``: Slot time (μs)
## AT+EDCA
Source: [https://docs.qualcomm.com/doc/80-Y8730-7/topic/wlan_at_commands.html](https://docs.qualcomm.com/doc/80-Y8730-7/topic/wlan_at_commands.html)
This command sets or gets EDCA parameters.
### Operation type
Set/Execution
### Syntax
| Command | Response |
| --- | --- |
| AT+EDCA | AT+EDCA=setparam,<qtid:0~7 or 255>,<aifsn>,<cwmin:exp>,<cwmax:exp>,<txop\_limit>
AT+EDCA=getparam,<qtid:0~7 or 255>
OK |
| AT+EDCA=setparam,<qtid:0~7 or 255>,<aifsn>,<cw\_min:exp>,<cw\_max:exp>,<txop\_limit> | OK |
| AT+EDCA=getparam,<qid> | +EDCA:<qtid>,<aifsn>,<cw\_min>,<cw\_max>,<txop\_limit>
OK |
### Defined values
- ``: Queue ID
- ``: Arbitration inter-frame spacing number
- ``: Minimum contention window
- ``: Maximum contention window
- ``: Exponent form of ``
- ``: Exponent form of ``
- ``: Transmission opportunity limit
## AT+EDCCATHR
Source: [https://docs.qualcomm.com/doc/80-Y8730-7/topic/wlan_at_commands.html](https://docs.qualcomm.com/doc/80-Y8730-7/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=<EDCCA value, euqals real value plus 100>
AT+EDCCATHR?: get EDCCATHR
OK |
| AT+EDCCATHR=<EDCCA value> | OK |
| AT+EDCCATHR? | +EDCCA:<EDCCA value>
OK |
### Defined values
``: EDCCA value, which equals the real threshold value plus 100 (dBm)
## AT+BMISSTHR
Source: [https://docs.qualcomm.com/doc/80-Y8730-7/topic/wlan_at_commands.html](https://docs.qualcomm.com/doc/80-Y8730-7/topic/wlan_at_commands.html)
This command sets or gets BMISS threshold.
### Operation type
Query/Set/Execution
### Syntax
| Command | Response |
| --- | --- |
| AT+BMISSTHR | AT+BMISSTHR=<bmiss\_threshold: 0~255>
AT+BMISSTHR?: get BMISSTHR
OK |
| AT+BMISSTHR=<bmiss\_threshold> | OK |
| AT+BMISSTHR? | +BMISSTHR:<bmiss\_threshold>
OK |
### Defined values
``: Beacon miss threshold
## AT+DTIMINTERVAL
Source: [https://docs.qualcomm.com/doc/80-Y8730-7/topic/wlan_at_commands.html](https://docs.qualcomm.com/doc/80-Y8730-7/topic/wlan_at_commands.html)
This command sets the listen interval of the station.
### Operation type
Query/Set/Execution
### Syntax
| Command | Response |
| --- | --- |
| AT+DTIMINTERVAL | AT+DTIMINTERVAL=<val:0~65535>
AT+DTIMINTERVAL?: get current listen interval
OK |
| AT+DTIMINTERVAL? | +DTIMINTERVAL:<dtim-interval>
OK |
| AT+DTIMINTERVAL=<dtim-interval> | OK |
## AT+PS
Source: [https://docs.qualcomm.com/doc/80-Y8730-7/topic/wlan_at_commands.html](https://docs.qualcomm.com/doc/80-Y8730-7/topic/wlan_at_commands.html)
This command enables or disables power sleep.
### Operation type
Set/Execution
### Syntax
| Command | Response |
| --- | --- |
| AT+PS | AT+PS=<enable>,<timeout\_ms>
enable: 1=enable BMPS, 0=disable BMPS
timeout\_ms: idle timeout in milliseconds (0 means never timeout) |
| AT+PS=<enable>[time\_ms] | OK |
## AT+PSINACTIVTYTIME
Source: [https://docs.qualcomm.com/doc/80-Y8730-7/topic/wlan_at_commands.html](https://docs.qualcomm.com/doc/80-Y8730-7/topic/wlan_at_commands.html)
This command sets the max idle time before entering BMPS.
### Operation type
Set/Execution
### Syntax
| Command | Response |
| --- | --- |
| AT+PSINACTIVTYTIME | AT+PSINACTIVTYTIME=<idle\_time\_ms>
Set max idle time before entering BMPS(DTIM) sleep
OK |
| AT+PSINACTIVTYTIME=<time in ms> | OK |
## AT+PSIGBC
Source: [https://docs.qualcomm.com/doc/80-Y8730-7/topic/wlan_at_commands.html](https://docs.qualcomm.com/doc/80-Y8730-7/topic/wlan_at_commands.html)
This command configures the device to ignore broadcast (BC) and multicast (MC) packets.
### Operation type
Set/Execution
### Syntax
| Command | Response |
| --- | --- |
| AT+PSIGBC | AT+PSIGBC=<0/1>
1: ignore BC/MC frames in BMPS, 0: don't ignore
OK |
| AT+PSIGBC=<0/1> | OK |
## AT+PSBCMCFLT
Source: [https://docs.qualcomm.com/doc/80-Y8730-7/topic/wlan_at_commands.html](https://docs.qualcomm.com/doc/80-Y8730-7/topic/wlan_at_commands.html)
This command enables or disables the Rx filter.
### Operation type
Set/Execution
### Syntax
| Command | Response |
| --- | --- |
| AT+PSBCMCFLT | AT+PSBCMCFLT=<0/1>
1: enable BCMC RX filter with UDP whitelist, 0: disable
OK |
| AT+PSBCMCFLT=<0/1> | OK |
## AT+PSBCMCLST
Source: [https://docs.qualcomm.com/doc/80-Y8730-7/topic/wlan_at_commands.html](https://docs.qualcomm.com/doc/80-Y8730-7/topic/wlan_at_commands.html)
This command adds or removes a UDP destination port from the BCMC whitelist.
### Operation type
Query/Set/Execution
### Syntax
| Command | Response |
| --- | --- |
| AT+PSBCMCLST | AT+PSBCMCLST=<add>,<port>
add: 1=add UDP dst port to whitelist, 0=remove
port: destination UDP port number (e.g. 7777)
AT+PSBCMCLST?: query current whitelist
OK |
| AT+PSBCMCLST? | +PSBCMCLST:<udp port 1>,:<udp port 2>,:<udp port 3>,:<udp port 4>
OK |
| AT+PSBCMCLST=<0/1>,<port number> | OK
Or
+PSBCMCLST:Port not found
ERROR |
## AT+CWSAVE
Source: [https://docs.qualcomm.com/doc/80-Y8730-7/topic/wlan_at_commands.html](https://docs.qualcomm.com/doc/80-Y8730-7/topic/wlan_at_commands.html)
This command saves Wi-Fi credentials (SSID/passphrase/auth) to /lfs/wifi.conf.
### Operation type
Set
### Syntax
| Command | Response |
| --- | --- |
| AT+CWSAVE | OK
or:
+CWSAVE: Failed to write credentials
ERROR |
Last Published: Jul 30, 2026
[Previous Topic
Basic AT commands](https://docs.qualcomm.com/bundle/publicresource/80-Y8730-7/topics/basic_at_commands.md) [Next Topic
TCPIP AT commands](https://docs.qualcomm.com/bundle/publicresource/80-Y8730-7/topics/tcpip_at_commands.md)