Back to Sealevel      

int SME_GetWirelessConfig ( SME_HANDLE  handle,
int *  network,
char *  SSID,
int *  channel,
int *  security,
int *  keyType 
)

Gets the wirless module's configuration.

Parameters:
[in] handle Valid handle returned by SME_Initialize().
[out] network Type of network connection
[out] SSID Network name
[out] channel Ad hoc channel number. If not an adhoc connection, channel is ignored
[out] security Type of network security enabled.
[out] keyType Key type used.
Return values:
0 Success.
-1 Invalid SME_Initialize handle.
-2 No module selected. Call SME_SearchForModules() first.
-3 Could not get the module's wireless configuration.
Retrieves the current wireless configuration. If the wireless device exhibits a configuration other than those specified in this documentation, then the security type of SECURITY_UNKNOWN will be used.

Warning:
SSID should be preallocated with 33 bytes of space before calling this function.
See also:
Network Types, Security Type, Key Type

 
 
Generated on 18 Sep 2007.