User guide

Redpine Signals, Inc. Proprietary and Confidential. Page 42
R
R
S
S
9
9
1
1
1
1
0
0
-
-
N
N
-
-
1
1
1
1
-
-
2
2
2
2
/
/
2
2
4
4
/
/
2
2
8
8
S
S
o
o
f
f
t
t
w
w
a
a
r
r
e
e
P
P
r
r
o
o
g
g
r
r
a
a
m
m
m
m
i
i
n
n
g
g
R
R
e
e
f
f
e
e
r
r
e
e
n
n
c
c
e
e
M
M
a
a
n
n
u
u
a
a
l
l
V
V
e
e
r
r
s
s
i
i
o
o
n
n
4
4
.
.
1
1
5
5
Result Code
Description
OK
Successful execution of the
command. “OK” is returned in
ASCII
ERROR<Error code>
Failure
3.4 TCP/IP Commands
The TCP/IP AT command set represents the control frames that are sent from
the Host to the RS9110-N-11-2X to access the TCP/IP stack.
The following are the RS9110-N-11-2X TCP/IP configuration AT commands.
3.4.1 Set IP Parameters
1
Description
This command configures the IP address, subnet mask and default gateway of
the TCP/IP stack in the RS9110-N-11-2X module.
Command
at+rsi_ipconf
Usage
at+rsi_ipconf=dhcp_mode,IPaddr,subnet,gateway\r\n
Parameters
dhcp_mode: Used to configure IP address in manual or DHCP modes.
0– Manual
1– DHCP
IPaddr: IP address in dotted decimal format. This can be 0‟s in the case of DHCP.
subnet: Subnet mask in dotted decimal format. This can be 0‟s in the case of
DHCP.
gateway: Gateway in the dotted decimal format. This can be 0‟s in the case of
DHCP.
Example 1: To configure in DHCP disabled mode, with 192.168.1.3,
255.255.255.0 and 192.168.1.1 as the IP address, subnet mask and gateway
the command is
at+rsi_ipconf=0,192.168.1.3,255.255.255.0,192.168.1.1\r\n
………………………………………………………………………………………………………………
1
DHCP is not supported in ad-hoc mode