RAK411 PROGRAMMING MANUAL
V1.7
COPYRIGHT ©
SHENZHEN RAKWIRELESS TECHNOLOGY CO., LTD
ETDX1603021415
48
net_type
1
0
Station
1
Ap
2
Ad-hoc
channel
1
0-13
Channel
sec_mode
1
0
The
network
is
not
encrypted
1
Network encryption
dhcp_mode
1
0
STA:Dhcp client
1
STA:ip static
ssid
33
ASCII
Network identifier
psk
65
ASCII
Network key
dummy
2
Null data
ip_param
20
IP parameter
ap_config
4
AP advanced parameters
Ip_param:
Parameter
Bytes
Value
Description
addr
4
IP address
mask
4
Subnet mask
gw
4
Gateway
dnssvr1
4
DNS server 1
dnssvr2
4
DNS server 2
Ap_config
Parameter
Bytes
Value
Description
hidden
1
0
Network name is visible
1
Network name is hidden
countrycode
3
Country code
National code, such as China
CN
4.4.4 Enabling Automatic Connection
Command:
rak_auto_connect
Syntax: