CConnMonWlanNetwork Class Reference
class CConnMonWlanNetwork : public CBase |
Class to represent a WLAN. Used when reporting WLAN scan results back to a client.
Constructor & Destructor Documentation
CConnMonWlanNetwork()
CConnMonWlanNetwork | ( | ) | [private] |
CConnMonWlanNetwork(const TBuf< KMaxNameLength > &, TUint, TUint, TUint, const TBuf8< KWlanBssId > &, const TDesC &)
Parameters
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. |
~CConnMonWlanNetwork()
IMPORT_C | ~CConnMonWlanNetwork | ( | ) | |
Member Functions Documentation
CompareBySignal(const CConnMonWlanNetwork &, const CConnMonWlanNetwork &)
Compares two networks by signal strength.
ConnectionMode()
TUint
| ConnectionMode | ( | ) | [inline] |
Obtains the connection mode of the network.
ConstructL()
void | ConstructL | ( | ) | [private] |
Second-phase constructor.
FromPtrC(const TPtrC &, CConnMonWlanNetwork *)
Parameters
const TPtrC & aPtrC | Pointer to the beginning of the CConnMonWlanNetwork object in buffer. |
CConnMonWlanNetwork * aConnMonWlanNetwork | Pointer to CConnMonWlanNetwork object where unpacked contents are written. |
Name()
Obtains the name (SSID) of the network.
NewL(const TBuf< KMaxNameLength > &, TUint, TUint, TUint, const TBuf8< KWlanBssId > &, const TDesC &)
Parameters
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. |
NewL(CConnMonWlanNetwork &)
SecurityMode()
TUint
| SecurityMode | ( | ) | [inline] |
Obtains the security mode of the network.
SignalStrength()
TUint
| SignalStrength | ( | ) | [inline] |
Obtains the signal strength of the network.
ToBuf()
IMPORT_C const HBufC * | ToBuf | ( | ) | const |
Writes object of class CConnMonWlanNetwork to memory. Ownership of newly created buffer is transferred to caller.
VendorData()
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.
WlanBssid()
Obtains the mac address (BSSID) of the base station.
operator=(CConnMonWlanNetwork &)
Member Data Documentation
const TUint KExtraCount
const TUint | KExtraCount | [static] |
const TUint KMaxNameLength
const TUint | KMaxNameLength | [static] |
Maximum length of a WLAN name (SSID).
const TUint KWlanBssId
const TUint | KWlanBssId | [static] |
WLAN BSSID length (mac address).
TUint
iConnectionMode
TUint
| iConnectionMode | [private] |
TBuf< KMaxNameLength > iName
TUint
iSecurityMode
TUint
| iSecurityMode | [private] |
TUint
iSignalStrength
TUint
| iSignalStrength | [private] |
HBufC * iVendorData
HBufC * | iVendorData | [private] |
TBuf8< KWlanBssId > iWlanBssId
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.