class MWlanMgmtInterface |
ECom interface class for WLAN management services.
This class contains the methods for managing WLAN connections and querying the statuses of various connection variables.
void | ActivateExtendedNotificationsL | ( | MWlanMgmtNotifications & | aCallback, |
TUint | aCallbackInterfaceVersion = KWlanCallbackInterfaceVersion | |||
) | [pure virtual] |
Activate the extended notification service.
After the client has enabled the notification service, it can receive asynchronous notifications from the server.
MWlanMgmtNotifications & aCallback | The class that implements the callback interface. |
TUint aCallbackInterfaceVersion = KWlanCallbackInterfaceVersion | The callback interface version implemented by the client. This MUST NOT be touched. |
void | ActivateNotificationsL | ( | MWlanMgmtNotifications & | aCallback | ) | [pure virtual] |
Activate the notification service.
After the client has enabled the notification service, it can receive asynchronous notifications from the server.
This method only activates notifications defined in callback interface v1.
MWlanMgmtNotifications & aCallback | The class that implements the callback interface. |
TInt | AddBssidToBlacklist | ( | const TWlanBssid & | aBssid | ) | [pure virtual] |
Adds a bssid to the blacklist
const TWlanBssid & aBssid | The BSSID of the accesspoint. |
TInt | AddIapSsidList | ( | TUint | aIapId, |
const CArrayFixFlat < TWlanSsid > & | aSsidList | |||
) | [pure virtual] |
Add a list of SSIDs to the given IAP ID.
The list of SSIDs is matched against the scan results during IAP availability check and the corresponding IAP marked as available if a match is found.
TUint aIapId | IAP ID the list is attached to. |
const CArrayFixFlat < TWlanSsid > & aSsidList | List of SSIDs. Any previous list attached will be overwritten. |
void | CancelCreateTrafficStream | ( | ) | [pure virtual] |
Cancel an outstanding traffic stream creation request.
void | CancelDeleteTrafficStream | ( | ) | [pure virtual] |
Cancel an outstanding traffic stream deletion request.
void | CancelDirectedRoam | ( | ) | [pure virtual] |
Cancel an outstanding directed roam request.
void | CancelGetAvailableIaps | ( | ) | [pure virtual] |
Cancel an outstanding IAP availability request.
void | CancelGetScanResults | ( | ) | [pure virtual] |
Cancel an outstanding scan request.
void | CancelProtectedSetup | ( | ) | [pure virtual] |
Cancel an outstanding Protected Setup operation.
void | CreateTrafficStream | ( | TRequestStatus & | aStatus, |
const TWlanTrafficStreamParameters & | aStreamParameters, | |||
TUint & | aStreamId, | |||
TWlanTrafficStreamStatus & | aStreamStatus | |||
) | [pure virtual] |
Create a virtual traffic stream.
TRequestStatus & aStatus | Status of the calling active object. On successful completion contains KErrNone, otherwise one of the system-wide error codes. |
const TWlanTrafficStreamParameters & aStreamParameters | Traffic stream parameters to use. |
TUint & aStreamId | Contains the ID assigned to this traffic stream on successful completion. |
TWlanTrafficStreamStatus & aStreamStatus | Contains the status of the traffic stream on successful completion. |
void | DeleteTrafficStream | ( | TRequestStatus & | aStatus, |
TUint | aStreamId | |||
) | [pure virtual] |
Delete a virtual traffic stream.
TRequestStatus & aStatus | Status of the calling active object. On successful completion contains KErrNone, otherwise one of the system-wide error codes. |
TUint aStreamId | ID of the traffic stream to delete. |
void | DirectedRoam | ( | TRequestStatus & | aStatus, |
const TWlanBssid & | aBssid | |||
) | [pure virtual] |
Initiate a roam to the given BSSID.
TRequestStatus & aStatus | Status of the calling active object. On successful completion contains KErrNone, otherwise one of the system-wide error codes. |
const TWlanBssid & aBssid | BSSID to roam to. If set to FF:FF:FF:FF:FF:FF address, search for a better BSS is initiated. |
TInt | GetAvailableIaps | ( | RArray < TUint > & | aAvailableIaps | ) | [pure virtual] |
Get the available WLAN IAPs.
void | GetAvailableIaps | ( | TRequestStatus & | aStatus, |
RArray < TUint > & | aAvailableIaps | |||
) | [pure virtual] |
Get the available WLAN IAPs.
TRequestStatus & aStatus | Status of the calling active object. On successful completion contains KErrNone, otherwise one of the system-wide error codes. |
RArray < TUint > & aAvailableIaps | Array of IAP IDs available. |
void | GetAvailableIaps | ( | TInt & | aCacheLifetime, |
TUint & | aMaxDelay, | |||
TRequestStatus & | aStatus, | |||
RArray < TUint > & | aAvailableIaps | |||
) | [pure virtual] |
Get the available WLAN IAPs.
TInt & aCacheLifetime | Defines how many seconds old cached results the client is willing to accept. The valid is range is from 0 to 60 seconds. The value of -1 means the system default will be used. The aCacheLifetime parameter has a meaning only when the aMaxDelay parameter is zero. Value will be changed to the actual value used by the system. |
TUint & aMaxDelay | Maximum amount of seconds the client is willing to wait for the availability results. The valid range is from 0 to 1200 seconds or KWlanInfiniteScanDelay. KWlanInfiniteScanDelay will never cause a scan, but the request will be completed when any other broadcast scan request is completed. Value will be changed to the actual value used by the system. |
TRequestStatus & aStatus | Status of the calling active object. On successful completion contains KErrNone, otherwise one of the system-wide error codes. |
RArray < TUint > & aAvailableIaps | Array of IAP IDs available. |
void | GetAvailableIaps | ( | TInt & | aCacheLifetime, |
TUint & | aMaxDelay, | |||
TBool | aFilteredResults, | |||
TRequestStatus & | aStatus, | |||
RArray < TWlanIapAvailabilityData > & | aAvailableIaps | |||
) | [pure virtual] |
Get the available WLAN IAPs.
TInt & aCacheLifetime | Defines how many seconds old cached results the client is willing to accept. The valid is range is from 0 to 60 seconds. The value of -1 means the system default will be used. The aCacheLifetime parameter has a meaning only when the aMaxDelay parameter is zero. Value will be changed to the actual value used by the system. |
TUint & aMaxDelay | Maximum amount of seconds the client is willing to wait for the availability results. The valid range is from 0 to 1200 seconds or KWlanInfiniteScanDelay. KWlanInfiniteScanDelay will never cause a scan, but the request will be completed when any other broadcast scan request is completed. Value will be changed to the actual value used by the system. |
TBool aFilteredResults | Whether availability is filtered based on signal strength. ETrue if filtering is allowed, EFalse if not. |
TRequestStatus & aStatus | Status of the calling active object. On successful completion contains KErrNone, otherwise one of the system-wide error codes. |
RArray < TWlanIapAvailabilityData > & aAvailableIaps | Array of IAPs available. |
TInt | GetConnectionBssid | ( | TWlanBssid & | aBssid | ) | [pure virtual] |
Get the BSSID of the BSS currently connected to.
This method can only be used while successfully connected to a WLAN network.
TWlanBssid & aBssid | BSSID of the currently connected BSS. |
TInt | GetConnectionMode | ( | TWlanConnectionMode & | aMode | ) | [pure virtual] |
Get the mode of the WLAN connection.
TWlanConnectionMode & aMode | The current mode of the connection. |
TInt | GetConnectionSecurityMode | ( | TWlanConnectionSecurityMode & | aMode | ) | [pure virtual] |
Get the currently used security mode of the WLAN connection.
This method can only be used while successfully connected to a WLAN network.
TWlanConnectionSecurityMode & aMode | The security mode of the connection. |
TInt | GetConnectionSignalQuality | ( | TInt32 & | aSignalQuality | ) | [pure virtual] |
Get the current Received Signal Strength Indicator (RSSI).
This method can only be used while successfully connected to a WLAN network.
TInt32 & aSignalQuality | Current RSSI. |
TInt | GetConnectionSsid | ( | TWlanSsid & | aSsid | ) | [pure virtual] |
Get the SSID of the WLAN network currently connected to.
This method can only be used while successfully connected to a WLAN network.
TWlanSsid & aSsid | SSID of the currently connected network. |
TInt | GetExtendedConnectionSecurityMode | ( | TWlanConnectionExtentedSecurityMode & | aMode | ) | [pure virtual] |
Get the currently used security mode of the WLAN connection.
This method can only be used while successfully connected to a WLAN network.
TWlanConnectionExtentedSecurityMode & aMode | The security mode of the connection. |
TInt | GetScanResults | ( | CWlanScanInfo & | aResults | ) | [pure virtual] |
Perform a broadcast scan and return the detected WLAN networks.
CWlanScanInfo & aResults | Results of the scan. |
void | GetScanResults | ( | TRequestStatus & | aStatus, |
CWlanScanInfo & | aResults | |||
) | [pure virtual] |
Perform a broadcast scan and return the detected WLAN networks.
TRequestStatus & aStatus | Status of the calling active object. On successful completion contains KErrNone, otherwise one of the system-wide error codes. |
CWlanScanInfo & aResults | Results of the scan. |
void | GetScanResults | ( | TWlanSsid & | aSsid, |
TRequestStatus & | aStatus, | |||
CWlanScanInfo & | aResults | |||
) | [pure virtual] |
Perform a direct scan for an SSID and return the detected WLAN networks. If the SSID has zero length, a broadcast scan will be done.
TWlanSsid & aSsid | name of the WLAN network |
TRequestStatus & aStatus | Status of the calling active object. On successful completion contains KErrNone, otherwise one of the system-wide error codes. |
CWlanScanInfo & aResults | Results of the scan. |
void | GetScanResults | ( | TInt & | aCacheLifetime, |
TUint & | aMaxDelay, | |||
TWlanSsid & | aSsid, | |||
TRequestStatus & | aStatus, | |||
CWlanScanInfo & | aResults | |||
) | [pure virtual] |
Perform a direct scan for an SSID and return the detected WLAN networks. If the SSID has zero length, a broadcast scan will be done.
TInt & aCacheLifetime | Defines how many seconds old cached results the client is willing to accept. The valid is range is from 0 to 60 seconds. The value of -1 means the system default will be used. The aCacheLifetime parameter has a meaning only when the aMaxDelay parameter is zero. Value will be changed to the actual value used by the system. |
TUint & aMaxDelay | Maximum amount of seconds the client is willing to wait for the scan results. The valid range is from 0 to 1200 seconds or KWlanInfiniteScanDelay. KWlanInfiniteScanDelay will never cause a scan, but the request will be completed when any other broadcast scan request is completed. Value will be changed to the actual value used by the system. |
TWlanSsid & aSsid | Name of the WLAN network. |
TRequestStatus & aStatus | Status of the calling active object. On successful completion contains KErrNone, otherwise one of the system-wide error codes. |
CWlanScanInfo & aResults | Results of the scan. |
void | NotifyChangedSettings | ( | ) | [pure virtual] |
Notify the server about changed WLAN settings.
TInt | RemoveIapSsidList | ( | TUint | aIapId | ) | [pure virtual] |
Remove any list of SSIDs attached to the given IAP ID.
TUint aIapId | IAP ID the list is attached to. |
void | RunProtectedSetup | ( | TRequestStatus & | aStatus, |
TUint32 | aId, | |||
CArrayFixSeg < TWlanProtectedSetupCredentialAttribute > & | aCredentials | |||
) | [pure virtual] |
Start Protected Setup.
Protected Setup-specific error codes .
TRequestStatus & aStatus | Status of the calling active object. On successful completion contains KErrNone, otherwise one of the system-wide error codes. |
TUint32 aId | Service ID of network which user has selected to be configured. |
CArrayFixSeg < TWlanProtectedSetupCredentialAttribute > & aCredentials | Results of a successful Protected Setup operation. |
TInt | StartAggressiveBgScan | ( | TUint | aInterval | ) | [pure virtual] |
Start aggressive background scanning.
TUint aInterval | Scan interval (in seconds) for aggressive mode. |
TInt | UpdateRssNotificationBoundary | ( | const TInt32 | aRssLevelBoundary, |
const TInt32 | aHysteresis | |||
) | [pure virtual] |
Updates the RSS notification class boundaries.
const TInt32 aRssLevelBoundary | Specifies the RSS level when a signal level notification should be given. This boundary is used when signal level is getting worse (see next parameter). |
const TInt32 aHysteresis | Specifies the difference between RSS notification trigger levels of declining and improving signal quality, i.e. since aRssLevelBoundary specifies the level boundary for declining signal, the same boundary for improving signal is ( aRssLevelBoundary - aHysteresis ). |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.