TBTLocalDevice Class Reference
Class used to exchange the local settings with the Registry server.
Not a complete set of details of the local device
Constructor & Destructor Documentation
TBTLocalDevice()
IMPORT_C
|
TBTLocalDevice
|
(
|
)
|
|
Member Functions Documentation
AFHChannelAssessmentMode()
IMPORT_C
TBool
|
AFHChannelAssessmentMode
|
(
|
)
|
const
|
Get the AFH channel assessment mode.
AcceptPairedOnlyMode()
IMPORT_C
TBool
|
AcceptPairedOnlyMode
|
(
|
)
|
const
|
Get the setting for whether to accept all incoming connections or just those from paired devices. Note this is in fact a setting in the stack not the controller.
Address()
Get the address of the local device.
DeviceClass()
IMPORT_C
TUint32
|
DeviceClass
|
(
|
)
|
const
|
DeviceName()
IMPORT_C const
TDesC8
&
|
DeviceName
|
(
|
)
|
const
|
IsValidAFHChannelAssessmentMode()
IMPORT_C
TBool
|
IsValidAFHChannelAssessmentMode
|
(
|
)
|
const
|
Denotes whether the AFH channel assessment mode has been set.
IsValidAcceptPairedOnlyMode()
IMPORT_C
TBool
|
IsValidAcceptPairedOnlyMode
|
(
|
)
|
const
|
Denotes whether "Accept Paired Only Mode" has been set.
IsValidAddress()
IMPORT_C
TBool
|
IsValidAddress
|
(
|
)
|
const
|
Denotes whether the address has been set.
IsValidDeviceClass()
IMPORT_C
TBool
|
IsValidDeviceClass
|
(
|
)
|
const
|
Denotes whether the device class has been set.
IsValidDeviceName()
IMPORT_C
TBool
|
IsValidDeviceName
|
(
|
)
|
const
|
Denotes whether the device name has been set.
IsValidLimitedDiscoverable()
IMPORT_C
TBool
|
IsValidLimitedDiscoverable
|
(
|
)
|
const
|
Denotes whether the limited discoverable mode has been set.
IsValidPowerSetting()
IMPORT_C
TBool
|
IsValidPowerSetting
|
(
|
)
|
const
|
Denotes whether the power setting has been set.
IsValidScanEnable()
IMPORT_C
TBool
|
IsValidScanEnable
|
(
|
)
|
const
|
Denotes whether the scan enable has been set.
LimitedDiscoverable()
IMPORT_C
TBool
|
LimitedDiscoverable
|
(
|
)
|
const
|
Get the limited discoverable mode.
PowerSetting()
IMPORT_C
TUint8
|
PowerSetting
|
(
|
)
|
const
|
SetAFHChannelAssessmentMode(TBool)
IMPORT_C void
|
SetAFHChannelAssessmentMode
|
(
|
TBool
|
aOn
|
)
|
|
Set the AFH channel assessment mode.
Parameters
TBool
aOn
|
the local device channel assessment mode is switched on (available for use)
|
SetAcceptPairedOnlyMode(TBool)
IMPORT_C void
|
SetAcceptPairedOnlyMode
|
(
|
TBool
|
aOn
|
)
|
|
Set the paired device only mode. This is a stack setting which makes the decision as to whether to accept connection requests ONLY from paired devices (rejecting connection requests from unpaired devices).
Parameters
TBool
aOn
|
the local stack will ONLY accept connection requests from paired devices
|
SetAddress(const TBTDevAddr &)
IMPORT_C void
|
SetAddress
|
(
|
const
TBTDevAddr
&
|
aAddr
|
)
|
|
SetDeviceClass(TUint32)
IMPORT_C void
|
SetDeviceClass
|
(
|
TUint32
|
aCod
|
)
|
|
Parameters
TUint32
aCod
|
the local device class
|
SetDeviceName(const TDesC8 &)
IMPORT_C void
|
SetDeviceName
|
(
|
const
TDesC8
&
|
aName
|
)
|
|
Parameters
const
TDesC8
& aName
|
the local device name
|
SetLimitedDiscoverable(TBool)
IMPORT_C void
|
SetLimitedDiscoverable
|
(
|
TBool
|
aOn
|
)
|
|
Set limited discoverable mode.
Parameters
TBool
aOn
|
the local device limited discoverable-ness
|
SetPowerSetting(TUint8)
IMPORT_C void
|
SetPowerSetting
|
(
|
TUint8
|
aPowerSetting
|
)
|
|
Parameters
TUint8
aPowerSetting
|
the local device power setting
|
SetScanEnable(THCIScanEnable)
Enable local device scanning.
Member Enumerations Documentation
Enum anonymous
Enumerators
EAddress = 0x0001
|
|
ECoD = 0x0002
|
|
EDeviceName = 0x0004
|
|
EPowerSetting = 0x0008
|
|
EScanEnable = 0x0010
|
|
ELimitedDiscoverable = 0x0020
|
|
EAFHChannelAssessmentMode = 0x0040
|
|
EAcceptPairedOnlyMode = 0x0080
|
|
Enum anonymous
Enumerators
EAFHChannelAssessmentModeValue = 0x0001
|
|
EAcceptPairedOnlyModeValue = 0x0002
|
|
Member Data Documentation
TBool
iLimitedDiscoverable
TBool
|
iLimitedDiscoverable
|
[private]
|
TBTDeviceName8
iLocalName
TUint8
iPowerSetting
TUint8
|
iPowerSetting
|
[private]
|
THCIScanEnable
iScanEnable
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.