@CHIP-RTOS C Library V2.06 - TCP/IP API
Dev_Get_IP
Get user device IP address and netmask. int Dev_Get_IP(DevUserIfaceHandle DevHandlePtr,
int * ipaddr),
int * netmask,
int * errorcode); Parameters
DevHandlePtr
- Device handle
ipaddr
- Output parameter: Pointer to 32 bit location
which will receive the IP address in big endian (network) byte order.
netmask
- Output parameter: Pointer to 32 bit location
which will receive the net mask in big endian (network) byte order.
errorcode
- Output parameter: Failure
code, 0 on success.
Return Value
- 0: success
-1: See reported errorcode
.
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.20 | V1.20 | V1.20 | V1.05 |
Supported by @CHIP-RTOS C Library since version
This API List
List of C Libraries
@CHIP-RTOS Main Index
End of document
|