RAK411 PROGRAMMING MANUAL
V1.7
COPYRIGHT ©
SHENZHEN RAKWIRELESS TECHNOLOGY CO., LTD
ETDX1603021415
49
uint32_t cmd;
Parameter:
Parameter
Bytes
Value
Description
cmd
4
0xC6,0x00,0x00,0x00
Command Code
Description:
Use
the
saved
network
parameters
to
enable
automatic
networking.
Automatically run internal scan, join and IP setting, and then return IP allocation
results.
Return Value:
Parameter
Bytes
Value
Description
<CODE>
2
0xC6,0x00
Response Code
<MAC>
6
MAC address
<ADDR>
4
IP address
<MASK>
4
Subnet mask
<GW>
4
Gateway
<DNS1>
4
DNS Server 1
<DNS2>
4
DNS Server 2
<STATUS>
1
0
Command successful
-2
Specified SSID is not
found
-3
Failed to join router
-4
Failed to allocate IP
address
4.4.5 Starting Web Server
Command:
rak_start_web
Syntax:
uint32_t cmd;
Parameter:
Parameter
Bytes
Value
Description
cmd
4
0xC7,0x00,0x00,0x00
Command Code