Copyright © Shenzhen Rakwireless Technology Co., Ltd
ETDX1602241830
48
RAK477 Instruction Manual
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
\r\n
ASCII
2
End character