User guide

Redpine Signals, Inc. Proprietary and Confidential. Page 174
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
Response
The structure for the Disconnect frame‟s response is as follows:
struct TCP_EVT_Disconnect_t
{
UINT32 nErrorCode;
};
Structure Member
Name
Description
nErrorCode
Always „0‟ is returned
4.12.6 Query DHCP Information
Description
This command is used to query the DHCP information. This command is valid
only if the module is configured to acquire its IP address through DHCP from a
DHCP server.
Relevance
This command is relevant when the TCP/IP stack is enabled
Frame Body
None for the command going from Host to module
Response
The structure for the DHCP Information query‟s response is as follows:
struct TCP_EVT_DHCP_Info
{
UINT32 lease_time;
UINT32 lease_time_left;
UINT32 renew_time;
UINT32 rebind_time;
UINT8 server_ip_address[4];
UINT32 nErrorCode;
};
Structure Member
Name
Description
lease_time
The total lease time for the DHCP
connection.