| class CConnMonWlanNetwork : public CBase |
Class to represent a WLAN. Used when reporting WLAN scan results back to a client.
| Public Member Functions | |
|---|---|
| ~CConnMonWlanNetwork () | |
| IMPORT_C TInt | CompareBySignal (const CConnMonWlanNetwork &, const CConnMonWlanNetwork &) |
| TUint | ConnectionMode () |
| IMPORT_C TInt | FromPtrC (const TPtrC &, CConnMonWlanNetwork *) |
| TBuf < KMaxNameLength > | Name () |
| IMPORT_C CConnMonWlanNetwork * | NewL (const TBuf < KMaxNameLength > &, TUint , TUint , TUint , const TBuf8 < KWlanBssId > &, const TDesC &) |
| IMPORT_C CConnMonWlanNetwork * | NewL () |
| IMPORT_C CConnMonWlanNetwork * | NewL ( CConnMonWlanNetwork &) |
| TUint | SecurityMode () |
| TUint | SignalStrength () |
| IMPORT_C const HBufC * | ToBuf () |
| HBufC * | VendorData () |
| TBuf8 < KWlanBssId > | WlanBssid () |
| IMPORT_C CConnMonWlanNetwork & | operator= ( CConnMonWlanNetwork &) |
| Private Member Functions | |
|---|---|
| CConnMonWlanNetwork () | |
| CConnMonWlanNetwork (const TBuf < KMaxNameLength > &, TUint , TUint , TUint , const TBuf8 < KWlanBssId > &, const TDesC &) | |
| void | ConstructL () |
| Public Attributes | |
|---|---|
| const TUint | KExtraCount |
| const TUint | KMaxNameLength |
| const TUint | KWlanBssId |
| Private Attributes | |
|---|---|
| TUint | iConnectionMode |
| TUint | iExtraBuf |
| TBuf < KMaxNameLength > | iName |
| TUint | iSecurityMode |
| TUint | iSignalStrength |
| HBufC * | iVendorData |
| TBuf8 < KWlanBssId > | iWlanBssId |
| CConnMonWlanNetwork | ( | const TBuf < KMaxNameLength > & | aName, |
| TUint | aConnectionMode, | ||
| TUint | aSignalStrength, | ||
| TUint | aSecurityMode, | ||
| const TBuf8 < KWlanBssId > & | aBssId, | ||
| const TDesC & | aVendorData | ||
| ) | [private] | ||
Constructor.
| const TBuf < KMaxNameLength > & aName | Name (SSID) of the network. |
| TUint aConnectionMode | Mode of the network. |
| TUint aSignalStrength | Signal strength of the network. |
| TUint aSecurityMode | Security mode of the network. |
| const TBuf8 < KWlanBssId > & aBssId | Mac address (BSSID) of the base station. |
| const TDesC & aVendorData | Not in use. |
| IMPORT_C TInt | CompareBySignal | ( | const CConnMonWlanNetwork & | aFirst, |
| const CConnMonWlanNetwork & | aSecond | |||
| ) | [static] | |||
Compares two networks by signal strength.
| const CConnMonWlanNetwork & aFirst | Reference to first WLAN object. |
| const CConnMonWlanNetwork & aSecond | Reference to second WLAN object. |
| IMPORT_C TInt | FromPtrC | ( | const TPtrC & | aPtrC, |
| CConnMonWlanNetwork * | aConnMonWlanNetwork | |||
| ) | [static] | |||
Reads object of class CConnMonWlanNetwork from memory.
| const TPtrC & aPtrC | Pointer to the beginning of the CConnMonWlanNetwork object in buffer. |
| CConnMonWlanNetwork * aConnMonWlanNetwork | Pointer to CConnMonWlanNetwork object where unpacked contents are written. |
| IMPORT_C CConnMonWlanNetwork * | NewL | ( | const TBuf < KMaxNameLength > & | aName, |
| TUint | aConnectionMode, | |||
| TUint | aSignalStrength, | |||
| TUint | aSecurityMode, | |||
| const TBuf8 < KWlanBssId > & | aBssId, | |||
| const TDesC & | aVendorData | |||
| ) | [static] | |||
Constructor.
| const TBuf < KMaxNameLength > & aName | Name (SSID) of the network. |
| TUint aConnectionMode | Mode of the network. |
| TUint aSignalStrength | Signal strength of the network. |
| TUint aSecurityMode | Security mode of the network. |
| const TBuf8 < KWlanBssId > & aBssId | Mac address (BSSID) of the base station. |
| const TDesC & aVendorData | Not in use. |
| IMPORT_C CConnMonWlanNetwork * | NewL | ( | CConnMonWlanNetwork & | aConnMonWlanNetwork | ) | [static] |
Copy constructor.
| CConnMonWlanNetwork & aConnMonWlanNetwork | The object which is copied. |
| IMPORT_C const HBufC * | ToBuf | ( | ) | const |
Writes object of class CConnMonWlanNetwork to memory. Ownership of newly created buffer is transferred to caller.
| HBufC * | VendorData | ( | ) | [inline] |
Obtains a pointer to vendor specific data buffer. Ownership of the data is NOT transferred. Not in use, use package attribute KWlanProbeRawBuffers instead.
| TBuf8 < KWlanBssId > | WlanBssid | ( | ) | [inline] |
Obtains the mac address (BSSID) of the base station.
| IMPORT_C CConnMonWlanNetwork & | operator= | ( | CConnMonWlanNetwork & | aConnMonWlanNetwork | ) |
Assignment operator.
| CConnMonWlanNetwork & aConnMonWlanNetwork | The object which is assigned. |
| const TUint | KMaxNameLength | [static] |
Maximum length of a WLAN name (SSID).
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.