int __stdcall SME_GetNetworkConfigBytes ( SME_HANDLE  handle,
unsigned char *  ipAddress,
unsigned char *  netmask,
unsigned char *  gateway 

Retrieve's the current module's IP address, netmask, and gateway as arrays of four bytes.

[in]handleValid handle returned by SME_Initialize().
Return values
-1Invalid SME_Initialize handle.
-2No module selected. Call SearchForModules() first.

The currently selected module's IP address, netmask, and gateway will be placed in the parameter buffers in the form {a,b,c,d}. Instead of populating the three parameters with string versions of the network configuration, the three parameters will each contain four byte equivalents of the network configuration.

If any parameter is NULL, that parameter is ignored. For instance, to retrieve only the current module's netmask, supply a valid byte buffer pointer for the second parameter, and NULL for the first and third parameters.
The supplied byte buffers should each be allocated with at least 4 bytes of data before calling GetIPAddress().
Generated on Mon Nov 26 2018.