@CHIP-RTOS C Library V2.00 - TCP/IP API
Reconfigure_ethernet
Reconfigure Ethernet interface after
changing the IP configuration. int Reconfigure_ethernet ( void ); Parameters
- -- none --.
Return Value
- 0: success
non-zero: error code,
Error code 237 indicates that an Ethernet interface configuration was
already in progress
Comments
- A new IP configuration set with the prompt
commands
ip, netmask and
gateway
(or the corresponding library
Set_IPConfig call)
becomes valid after a successful call to this function.
If DHCP is changed from 1 to 0 then a new IP address, subnet mask
and gateway should be set with the prompt
commands
ip, netmask and gateway
or Set_IPConfig
library call.
See Also
RTOS API
- This library function invokes a RTOS software interrupt.
Refer to this RTOS API function's
documentation
for more details.
This API List
List of C Libraries
@CHIP-RTOS Main Index
End of document
|