@CHIP-RTOS C Library V2.06 - TCP/IP API
Get_DHCP_Status
Get DHCP status of the Ethernet interface. void Get_DHCP_Status ( unsigned int *dhcp_use,
unsigned int *dhcp_stat ); Parameters
dhcp_use
- Output parameter: Pointer to a where
a "DHCP in use" boolean value will be output to. The
location will be set to '1' if the DHCP is currently being
used and '0' if not in use.
dhcp_stat
- Output parameter: Pointer to a where
a DHCP status word will be stored. The status is encoded
as follows:
0: System is not configured (is in progress)
1: System is configured by a DHCP Server
2: System configure retry failed (or no retry started before)
Return Value
- -- none --
See Also
RTOS API
- This library function invokes a RTOS software interrupt.
Refer to this RTOS API function's
documentation
for more details.
Supported since or modified in @CHIP-RTOS version-
SC12 | SC13 | SC11 | SC1x3 |
-
V1.00 | V1.00 | V1.00 | V0.90 |
This API List
List of C Libraries
@CHIP-RTOS Main Index
End of document
|