Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: btdevice.h
Link against: btdevice.lib

Class TBTNamelessDevice

class TBTNamelessDevice;

Description

Stores parameters for a nameless device.

A class which stores useful parameters concerning a remote device But *not* including names

Members

Defined in TBTNamelessDevice:
Address(), DeviceClass(), GlobalSecurity(), IsPaired(), IsValidAddress(), IsValidClockOffset(), IsValidDeviceClass(), IsValidGlobalSecurity(), IsValidLinkKey(), IsValidPageScanMode(), IsValidPageScanPeriodMode(), IsValidPageScanRepMode(), IsValidPaired(), IsValidPassKey(), IsValidSeen(), IsValidUsed(), PassKey(), PassKeyLength(), Seen(), SetAddress(), SetDeviceClass(), SetGlobalSecurity(), SetPaired(), SetPassKey(), SetSeen(), SetUsed(), TBTNamelessDevice(), Used()

See also:


Construction and destruction


TBTNamelessDevice()

IMPORT_C TBTNamelessDevice();

Description

Constructor.

[Top]


Member functions


Address()

IMPORT_C const TBTDevAddr &Address() const;

Description

Get the device address.

Return value

const TBTDevAddr &

The device address this refers to


DeviceClass()

IMPORT_C const TBTDeviceClass &DeviceClass() const;

Description

Returns the class of the device

Return value

const TBTDeviceClass &

The device class.


Seen()

IMPORT_C const TTime &Seen() const;

Description

Return the time when this device was last seen. Note that this is currently not support by the bluetooth stack. Only the time when the device was last _used_ can is stored.

Return value

const TTime &

TTime of when device last seen


Used()

IMPORT_C const TTime &Used() const;

Description

Return the time when the device was last used.

Return value

const TTime &

TTime of when device last connected to


GlobalSecurity()

IMPORT_C const TBTDeviceSecurity &GlobalSecurity() const;

Description

Retrieve the global security settings.

Return value

const TBTDeviceSecurity &

The Global security settings for all services used by this device


SetAddress()

IMPORT_C void SetAddress(const TBTDevAddr &aBDAddr);

Description

Set the bluetooth device address.

Parameters

const TBTDevAddr &aBDAddr

the address of the device


SetDeviceClass()

IMPORT_C void SetDeviceClass(TBTDeviceClass aDeviceClass);

Description

Set the device class.

Parameters

TBTDeviceClass aDeviceClass

the deviceclass of the device


SetGlobalSecurity()

IMPORT_C void SetGlobalSecurity(const TBTDeviceSecurity &aSetting);

Description

Set the Global security settings for all services used by this device

Parameters

const TBTDeviceSecurity &aSetting

the security override of the device


SetUsed()

IMPORT_C void SetUsed(const TTime &aDateTime);

Description

Set when the device last connected from or to.

Parameters

const TTime &aDateTime

The date/time stamp.


SetSeen()

IMPORT_C void SetSeen(const TTime &aDateTime);

Description

Set when last seen in inquiry (not supported by stack at present)

Parameters

const TTime &aDateTime

The date/time stamp.


IsValidAddress()

IMPORT_C TBool IsValidAddress() const;

Description

Denotes whether the device address has been set.

Return value

TBool

ETrue = The address of the device been set


IsValidDeviceClass()

IMPORT_C TBool IsValidDeviceClass() const;

Description

Denotes whether the device class has been set.

Return value

TBool

ETrue = The class of the device been set


IsValidLinkKey()

IMPORT_C TBool IsValidLinkKey() const;

Description

Denotes whether the linkkey has been set.

Return value

TBool

ETrue = The linkkey of the device been set


IsValidGlobalSecurity()

IMPORT_C TBool IsValidGlobalSecurity() const;

Description

Denotes whether the global security settings have been set.

Return value

TBool

ETrue = The global security settings of the device been set


IsValidPageScanRepMode()

IMPORT_C TBool IsValidPageScanRepMode() const;

Description

Denotes whether the page scan repition mode has been set.

Return value

TBool

ETrue = The pagescanrepetitionmode of the device been set


IsValidPageScanMode()

IMPORT_C TBool IsValidPageScanMode() const;

Description

Denotes whether the page scan mode has been set.

Return value

TBool

ETrue = The pagescanmode of the device been set


IsValidPageScanPeriodMode()

IMPORT_C TBool IsValidPageScanPeriodMode() const;

Description

Denotes whether the page scan period mode has been set.

Return value

TBool

ETrue = The pagescanperiodmode of the device been set


IsValidClockOffset()

IMPORT_C TBool IsValidClockOffset() const;

Description

Denotes whether the clock offset has been set.

Return value

TBool

ETrue = The clockoffset of the device been set


IsValidUsed()

IMPORT_C TBool IsValidUsed() const;

Description

Denotes whether the time last used has been set.

Return value

TBool

ETrue = The time last used has been set


IsValidSeen()

IMPORT_C TBool IsValidSeen() const;

Description

Denotes whether the time last seen has been set.

Return value

TBool

ETrue = The time last seen has been set


IsPaired()

IMPORT_C TBool IsPaired() const;

Description

Check whether the device is paired

Return value

TBool

ETrue = Paired


SetPaired()

IMPORT_C void SetPaired(TBool aPaired);

Description

Set whether the device is paired

Parameters

TBool aPaired

whether the device is paired


IsValidPaired()

IMPORT_C TBool IsValidPaired() const;

Description

Denote whether is paired has been set

Return value

TBool

Etrue = whether is paired has been set


PassKey()

IMPORT_C const TBTPinCode &PassKey() const;

Description

Return the PIN code.

Return value

const TBTPinCode &

TBTPinCode


SetPassKey()

IMPORT_C void SetPassKey(const TBTPinCode &aPassKey);

Description

Set PIN code for device

Parameters

const TBTPinCode &aPassKey

used for pairing


IsValidPassKey()

IMPORT_C TBool IsValidPassKey() const;

Description

Denotes whether the PassKey has been set.

Return value

TBool

ETrue = The PassKey of the device been set


PassKeyLength()

IMPORT_C TUint PassKeyLength() const;

Description

Return value

TUint

the PassKey length