Getting Scanned Information - RAK RAK411 Programming Manual

Spi-wifi module
Table of Contents

Advertisement

Parameter
<CODE>
<AP_NUM>
<STATUS>

4.2.2 Getting Scanned Information

Command:
rak_getscan
Syntax:
typedef struct {
uint32_t cmd;
uint32_t scan_num;
}rak_getscan_t;
Parameter:
Parameter
Cmd
Scan_num
Description:
It is used to get the scanned network information.
Return Value:
Parameter
<CODE>
<CHANNEL>
<RSSI>
<SEC_MODE>
Bytes
Value
2
0xA3,0x00
2
0x08,0x00
1
0
-2
Bytes
Value
4
0xA4,0x00,0x00,0x00
4
1—10
Bytes
Value
Description
0xA4,
Response Code
2
0x00
1
1--14
Channel
1
-99--0
Channel intensity (negative value)
Bit7
2
Wp
Description
Response Code
Scan to the number of
wireless networks, up to 8
Command successful
Command failed
Description
Command Code
The amount of network information
is obtained if the scan_num is
greater than the actual number of
scans, then the number of network
information is returned
Bit
Bit
Bit4
Bit3
6
5
Wp
We
802.
Psk
SHENZHEN RAKWIRELESS TECHNOLOGY CO., LTD
22
RAK411 PROGRAMMING MANUAL
Bit2
Bit1
Bit0
Wep
Tkip
Ccmp
COPYRIGHT ©
ETDX1603021415
V1.7

Advertisement

Table of Contents
loading

Table of Contents