RAK411 PROGRAMMING MANUAL
V1.7
COPYRIGHT ©
SHENZHEN RAKWIRELESS TECHNOLOGY CO., LTD
ETDX1603021415
27
DHCP CLENT:
Parameter
Bytes
Value
Description
<CODE>
2
0xAC,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
Command failed
-4
Get ip information failure
4.2.8 Connecting Network by Easyconfig
Command:
rak_easy_config
Syntax:
uint32_tcmd;
Parameter:
Parameter
Bytes
Value
Description
cmd
4
0xC2,0x00,0x00,0x00
Command Code
Description:
Through this command to open the module EasyConfig function, with the
mobile phone APP software to complete the module automatically join the
designated network. After successfully, the module automatically saves current
network parameters, with the rak_storeconfig command.