
!
4. Wi-Fi AT Commands
4.2.7. AT+CWLAPOPT—Sets the Configuration for the Command AT+CWLAP
Set Command
AT+CWLAPOPT=<sort_enable>,<mask>
Response
OK
or
ERROR
Parameters
•
<sort_enable>
: determines whether the result of command
AT+CWLAP
will be listed according to
RSSI:
‣
0
: the result is ordered according to RSSI
.
‣
1
: the result is not ordered according to RSSI
.
•
<mask>
: determines the parameters shown in the result of
AT+CWLAP
; 0 means not showing the
parameter corresponding to the bit, and 1 means showing it.
‣
bit 0
: determines whether
<ecn>
will be shown in the result of
AT+CWLAP
.
‣
bit 1
: determines whether
<ssid>
will be shown in the result of
AT+CWLAP
.
‣
bit 2
: determines whether
<rssi>
will be shown in the result of
AT+CWLAP
.
‣
bit 3
: determines whether
<mac>
will be shown in the result of
AT+CWLAP
.
‣
bit 4
: determines whether
<ch>
will be shown in the result of
AT+CWLAP
.
‣
bit 5
: determines whether
<freq offset>
will be shown in the result of
AT+CWLAP
.
‣
bit 6
: determines whether
<freq calibration>
will be shown in the result of
AT+CWLAP
.
Example
AT+CWLAPOPT=1,127
The first parameter is 1, meaning that the result of the command
AT+CWLAP
will be ordered
according to RSSI;
The second parameter is
127
, namely
0x7F
, meaning that the corresponding bits of
<mask>
are set
to 1. All parameters will be shown in the result of
AT+CWLAP
.
Espressif
!
/
!
25 58
2017.05