WE866E4-P AT Commands Reference Guide
80572ST10887A Rev. 0.0
48
2018-02-16
PRELIMINAR
Y
7.1.2 Scanning
This command is used to scan the WLAN channel and provide information of the
surrounding APs. Prior to isuing this command user is required enable the WLAN interface
using the initialization command.
Command Syntax
AT+WS=<WHANDLE>,[<SSID>,<Channel>]
Parameter Description
, describes the Scanning parameters.
Response
, describes the responses and remarks for Scanning command.
Table 71 Initialization Synchronous Response
Responses
Remarks
OK
Success.
ERROR
If parameter is not valid.
Table 72 Scanning Parameters
Parameters Mandatory/Optional
Value
Description
WHANDLE Mandatory
Value range:
0,1
Format:
Integer
Default value:
1
It specifies the Device ID of the WLAN
interface on which scanning of the
available SSID occurs , where
0- specifies disables WLAN interface
1- specifies enable the WLAN interface.
SSID
Optional
Value range:
0-32
Format:
String
Default value:
N/A
It specifies the SSID of the network to be
scanned
Channel
Optional
Value range:
1-14,36,40,44,48,5
2,56,60,64,100,104
,108,112,116,132,1
36,140,149,153,15
7,161,165
Format:
Integer
Default value:
0
It specifies the specific channel for
scanning. When this parameter is
specified, the scan result of the specified
channel is printed to the user.