@CHIP-RTOS C Library V2.06 - TCP/IP API
Get_IPConfig
Get IP, subnet mask
and/or gateway of the default Ethernet interface. void Get_IPConfig ( char far *IP,
char far *Mask,
char far *Gateway ); Parameters
IP
- Output parameter: Pointer to a 16 byte memory area
where the IP address is to be stored as a null terminated string.
Mask
- Output parameter: Pointer to a 16 byte memory area
where the subnet mask is to be stored as a null terminated string.
Gateway
- Output parameter: Pointer to a 16 byte memory
area where the gateway address is to be stored as a null terminated
string.
Return Value
- -- none --
Comments
- Any of the three output parameters can be set to NULL pointers if
the respective output is not desired.
SC1x3 Comments- This function applies only to the IPv4 configuration of the internal
integrated Ethernet device interface.
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 | n/a | V0.90 |
This API List
List of C Libraries
@CHIP-RTOS Main Index
End of document
|