int __stdcall SME_SetDHCPConfig ( SME_HANDLE  handle,
int  status 
)

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

Parameters
[in]handleValid handle returned by SME_Initialize().
[in]status
Return values
0Successful completion.
-1Invalid SME_Initialize() handle.
-2No module selected. Call SME_SearchForModules() first.
-3Error getting current configuration.
-4Error 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 momentary. However, for DHCP-assigned IP addresses, the bridge will not respond until its IP address is re-leased from the DHCP server.

Referenced by CCEthernet::set_information().