CWLanSettings Class Reference
|
class CWLanSettings : public CBase
|
Class for handling wlan table in commsdat
wlandbif.lib
Constructor & Destructor Documentation
CWLanSettings()
|
IMPORT_C
|
CWLanSettings
|
(
|
)
|
|
~CWLanSettings()
|
IMPORT_C
|
~CWLanSettings
|
(
|
)
|
[virtual]
|
Destructor Handles disconnection if needed
Member Functions Documentation
AddWlanTableL()
|
IMPORT_C void
|
AddWlanTableL
|
(
|
)
|
|
AsciiToHexValue(TUint8 &)
|
void
|
AsciiToHexValue
|
(
|
TUint8
&
|
aValue
|
)
|
[private]
|
Returns the hex value of aValue, which originally is the ascii value of a hex digit
ClearWepKeys(SWLANSettings &)
If secmode is other than WEP, clear wep keys
Connect()
|
IMPORT_C
TInt
|
Connect
|
(
|
)
|
|
Makes a connection to CommsDat
CreateWLANServiceRecordL(TUint32, TWlanRecIdType)
DeleteWlanSettings(TUint32)
Deletes wlan settings record with specified ID returns KErrNone on success, other error code if failed
DeleteWlanSettingsForService(TUint32)
|
IMPORT_C
TInt
|
DeleteWlanSettingsForService
|
(
|
TUint32
|
aId
|
)
|
|
Deletes wlan settings record for specified LAN service returns KErrNone on success, other error code if failed
Disconnect()
|
IMPORT_C void
|
Disconnect
|
(
|
)
|
|
Disconnect function that disconnects the connection to commsdat
DoConnectL()
|
void
|
DoConnectL
|
(
|
)
|
[private]
|
DoGetEapDataLC()
|
HBufC
*
|
DoGetEapDataLC
|
(
|
)
|
[private]
|
DoGetEapDataLC(HBufC8 *&, HBufC8 *&)
|
void
|
DoGetEapDataLC
|
(
|
HBufC8
*&
|
enabledEapsData,
|
|
|
HBufC8
*&
|
disabledEapsData
|
|
|
)
|
[private]
|
DoSetEapDataL(TDesC &)
|
void
|
DoSetEapDataL
|
(
|
TDesC
&
|
aData
|
)
|
[private]
|
DoSetEapDataL(TDesC8 &, TDesC8 &)
|
void
|
DoSetEapDataL
|
(
|
TDesC8
&
|
aEnabledData,
|
|
|
TDesC8
&
|
aDisabledData
|
|
|
)
|
[private]
|
GetDataL(SWLANSettings &)
GetEapDataL(TEapArray &)
|
IMPORT_C void
|
GetEapDataL
|
(
|
TEapArray
&
|
aEaps
|
)
|
|
Gets the current wlan settings EAP information (first do a GetWlanSettings{ForService}) returns
GetEapDataL(RExpandedEapTypeArray &, RExpandedEapTypeArray &)
Gets the current wlan settings EAP information (first do a GetWlanSettings{ForService}) returns
GetFirstSettings(SWLANSettings &)
GetIAPWlanServicesL(RArray< SWlanIAPId > &)
Gets WLAN Service Id's which correspond to IAP's using WLAN returns found WLANServiceTable and IAP record ID's in aServices
GetNextSettings(SWLANSettings &)
GetSecondarySsidsForService(TUint32, RArray< TWlanSecondarySsid > &)
Get all secondary SSIDs for the specified LAN service.
-
Since
-
Series 60 3.0
GetWlanSettings(TUint32, SWLANSettings &)
Gets WLAN settings with specified ID
Parameters
|
TUint32
aId
|
is the id of wlan settings record that is fetched, aSettings contains the wlan settings
|
|
SWLANSettings
& aSettings
|
|
GetWlanSettingsForIap(TUint32, SWLANSettings &)
Gets WLAN settings with specified IAP ID
Parameters
|
TUint32
aId
|
is the IAP id that is fetched, aSettings contains the wlan settings
|
|
SWLANSettings
& aSettings
|
|
GetWlanSettingsForService(TUint32, SWLANSettings &)
Gets all the wlan settings for specified LAN service
Parameters
|
TUint32
aId
|
is the id of lan settings that uses wanted wlan settings. aSettings contains the wlan settings
|
|
SWLANSettings
& aSettings
|
|
IsEasyWlan(TUint, TBool &)
Sets aEasyWlan to ETrue if the aServiceID service is an easy wlan returns
PackWepKeyL(const TWep &, CMDBField< TDesC8 > *)
Packs wep keys from
TWep
to CommsDat format
ReadWepKeysL(SWLANSettings &)
SetEapDataL(const TEapArray &)
|
IMPORT_C void
|
SetEapDataL
|
(
|
const
TEapArray
&
|
aEaps
|
)
|
|
Sets the EAP information to current wlan settings (first do a GetWlanSettings{ForService}) returns
SetEapDataL(RExpandedEapTypeArray &, RExpandedEapTypeArray &)
Sets the EAP information to current wlan settings (first do a GetWlanSettings{ForService}) returns
UnPackWepKey(TDesC8 &, TWep &, TInt)
|
void
|
UnPackWepKey
|
(
|
TDesC8
&
|
aPackedKey,
|
|
|
TWep
&
|
aInputKey,
|
|
|
TInt
|
aKeyIndex
|
|
|
)
|
[private]
|
Unpacks wep keys from CommsDat format to
TWep
struct
WriteDataL(SWLANSettings &)
Writes aSettings to current record
WriteWepKeysL(SWLANSettings &)
Writes Wep Keys to current settings
WriteWlanSettings(SWLANSettings &)
writes all the wlan settings to CommsDat, if settings.id is 0, new record is created returns KErrNone on success, other error code if failed
Member Enumerations Documentation
Enum TWlanRecIdType
Enumerators
|
EWlanRecordId
|
|
|
EWlanServiceId
|
|
|
EWlanIapId
|
|
Member Data Documentation
TInt
iCurrentRecord
|
TInt
|
iCurrentRecord
|
[private]
|
CMDBGenericRecord * iWLANRecord
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.