User guide

Redpine Signals, Inc. Proprietary and Confidential. Page 146
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
UINT8 aDefaultGateway [4];
UNIT8 aDNSAddr[4];
};
Structure Member
Name
Description
uUseDHCP
The mode with which the TCP/IP stack
has to be configured.
0 – Manual
1 – DHCP (Not supported in TCP/IP
bypass mode)
aIPaddr
IP address of the TCP/IP stack (valid
only in Manual mode)
aNetMask
Subnet mask of the TCP/IP stack
(valid only in Manual mode)
aDefaultGateway
Default gateway of the TCP/IP stack
(valid only in Manual mode)
aDNSAddr
It is the DNS server‟s IP address.
Optional input. Should be used when
DNS feature is used in DHCP disabled
mode.
Response
The following is the data structure of the TCP/IP Configure command‟s response.
struct TCP_EVT_Configure
{
UINT8 aMacAddr [6];
UINT8 aIPaddr [4];
UINT8 aNetMask [4];
UINT8 aDefaultGateway [4];
UINT32 uErrorCode;
};
Structure Member
Name
Description
aMacAddr
MAC address of RS9110-N-11-2X
module
aIPaddr
IP address with which the TCP/IP
stack is configured