@CHIP-RTOS C Library - TCP/IP API
Set_IPConfig
Set IP, subnet mask of the default Ethernet interface
and/or gateway. void Set_IPConfig ( const char far *IP,
const char far *Mask,
const char far *Gateway ); Parameters
IP
- Pointer to new IP address expressed as a null
terminated ASCII string in network address dot notation.
Mask
- Pointer to new net submask expressed as a null
terminated ASCII string in dot notation.
Gateway
- Pointer to new gateway address expressed as a null
terminated ASCII string in dot notation.
Return Value
- -- none --
Comments
- Any of the three parameters can be set to NULL pointers if
the respective value is not to be set.
A new IP configuration must be activated by calling the ipeth command
or Reconfigure_ethernet.
SC1x3/SC2x 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.
Related Topics
-
- [IP] ADDRESS CHIP.INI entry
-
- [IP] NETMASK CHIP.INI entry
-
- [IP] GATEWAY CHIP.INI entry
Supported since or modified in @CHIP-RTOS version-
| SC12 | SC13 | SC11 | SC1x3 | SC2x |
-
| V1.00 | V1.00 | n/a | V0.90 | V1.00 |
This API List
List of C Libraries
@CHIP-RTOS Main Index
End of document
|