Copyright © Shenzhen Rakwireless Technology Co., Ltd
ETDX1602241830
50
RAK475 Instruction manual
4.7.8
Query IP inFormation
Command
at+ipconfig\r\n
Description
Query the current module’s MAC address inFormation, IP address, subnet
mask, gateway, DNS server, etc., if the DHCP is not assigned while setting; check out
the module address of 127.0.0.1.
Parameter instruction
NULL
Instruction for returned value
Parameter
Format
Length(byte)
Instruction
The command is successfully carried out
OK
ASCII
2
success query
<MAC>
HEX
6
module’s MAC address
<IP>
HEX
4
module’s IP address
<NETMASK>
HEX
4
module’s subnet mask
<GATEWAY>
HEX
4
gateway
<DNS SERVER1>
HEX
4
DNS server 1
<DNS SERVER2>
HEX
4
DNS server 2
\r\n
ASCII
2
End character
The command is unsuccessfully carried out
ERROR
ASCII
5
ERROR
<CODE>
HEX
1
0XFC=-2 query failed