Back to Sealevel      

int SME_SetDHCPConfig ( SME_HANDLE  handle,
int  status 
)

Enables or disables the currently selected Sealevel I/O module's use of DHCP configuration.

Parameters:
[in] handle Valid handle returned by SME_Initialize().
[in] status 
Return values:
0 Successful completion.
-1 Invalid SME_Initialize handle.
-2 No module selected. Call SME_SearchForModules() first.
-3 Error getting current configuration.
-4 Error setting new configuration.
If the input parameter status is non-zero, DHCP configuration will be enabled for the selected module.

Warning:
This function will cause the Ethernet to serial bridge to reset for a short time while the new parameters are enabled. For bridges with statically assigned IP addresses, the reset time is only momementary. However, for DHCP assigned IP addresses, the bridge will not respond until it's IP address is re-leased from the DHCP server.

 
 
Generated on 18 Sep 2007.