IPC@CHIP® RTOS-PPC – API Documentation

Header image

Main page


void Set_IPConfig ( char *  IpStr,
char *  MaskStr,
char *  GatewayStr 
)

Write IP, subnet mask and gateway of the internal ethernet interface at the IP entries at the CHIP.INI file.
The new settings become valid after calling the shell IPETH command or the API function ethReStart().

Parameters:
[in] IpStr Pointer to new IP address expressed as a null terminated ASCII string in network address dot notation.
If a NULL pointer is passed this setting stays unchanged.
[in] MaskStr Pointer to new net submask expressed as a null terminated ASCII string in network address dot notation.
If a NULL pointer is passed this setting stays unchanged.
[in] GatewayStr Pointer to new gateway address expressed as a null terminated ASCII string in network address dot notation.
If a NULL pointer is passed this setting stays unchanged.
Returns:
Nothing
Since:
SC2x3 V1.00 - CLIB V1.00
Deprecated:
This legacy function can be replaced by Dev_Config_Iface() and SetDefaultGateway(). The IP entries at CHIP.INI are settable by BIOS_Set_Ini_String() .
It is only left for backward compatibility.





Top of page | Main page

Copyright © 2018 Beck IPC GmbH
Generated on Thu Nov 1 13:20:17 2018 by Doxygen 1.6.1