RAK411 PROGRAMMING MANUAL
V1.7
COPYRIGHT ©
SHENZHEN RAKWIRELESS TECHNOLOGY CO., LTD
ETDX1603021415
30
Return Value:
Parameter
Bytes
Value
Description
<CODE>
2
0xA7,0x00
Response Code
<STATUS>
1
0
Command successful
-2
Command failed
4.2.11 Querying module IP information
Command:
rak_ipconfig_query
Syntax:
uint32_t cmd;
Parameter:
Parameter
Bytes
Value
Description
cmd
4
0xAE,0x00,0x00,0x00
Command Code
Description::
It is used to get module IP information, including MAC address, IP address,
subnet mask, gateway, and DNS server.
Return Value:
Parameter
Bytes
Value
Description
<CODE>
2
0xAE,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
To obtain IP information
failed