RAK411 PROGRAMMING MANUAL
V1.7
COPYRIGHT ©
SHENZHEN RAKWIRELESS TECHNOLOGY CO., LTD
ETDX1603021415
29
Return Value:
4.2.10 Getting Network Connection Status
Command:
rak_get_constatus
Syntax:
uint32_t cmd;
Parameter:
Parameter
Bytes
Value
Description
cmd
4
0xA7,0x00,0x00,0x00
Command Code
Description:
It is used to get module network status.
If the module is working in Station mode, this command is used to get wireless network
connection status.
If the module is working in AP mode, this command is used to determine the device's
connection status.
Parameter
Bytes
Value
Description
<CODE>
2
0xC3,0x00
Response Code
<SSID>
32
ASCII
SSID
SEC_MODE 1
Bit7
Bit
6
Bit5
Bit4
Bit
3
Bit
2
Bit1
Bit0
Wpa
2
W
pa
Wep 802.
1x
Ps
k
We
p
Tkip
Ccm
p
Psk
64
ASCII
Network password
<STATUS>
1
0
Command successful
-2
Cannot find AP
-3
Join the router failed
-4
Ip failed to get
-5
Wps failed