|
||
class TBTNamelessDevice;
Stores parameters for a nameless device.
A class which stores useful parameters concerning a remote device But *not* including names
Defined in TBTNamelessDevice
:
Address()const
Get the device address. DeviceClass()const
Returns the class of the device GlobalSecurity()const
Retrieve the global security settings. IsPaired()const
Check whether the device is paired IsValidAddress()const
Denotes whether the device address has been set. IsValidClockOffset()const
Denotes whether the clock offset has been set. IsValidDeviceClass()const
Denotes whether the device class has been set. IsValidGlobalSecurity()const
Denotes whether the global security settings have been set. IsValidLinkKey()const
Denotes whether the link key has been set. IsValidPageScanMode()const
Denotes whether the page scan mode has been set. IsValidPageScanPeriodMode()const
Denotes whether the page scan period mode has been set. IsValidPageScanRepMode()const
Denotes whether the page scan repition mode has been set. IsValidPaired()const
Denote whether is paired has been set IsValidPassKey()const
Denotes whether the PassKey has been set. IsValidSeen()const
Denotes whether the time last seen has been set. IsValidUsed()const
Denotes whether the time last used has been set. PassKey()const
Return the PIN code. PassKeyLength()const
Seen()const
Return the time when this device was last seen. Note that this is currently not ...SetAddress(const TBTDevAddr &)
Set the bluetooth device address. SetDeviceClass(TBTDeviceClass)
Set the device class. SetGlobalSecurity(const TBTDeviceSecurity &)
Set the Global security settings for all services used by this device SetPaired(TBTLinkKeyType)
Set the link key type because the device is paired SetPaired(TBool)
Set whether the device is paired. This function should not be used any more, ins...SetPassKey(const TBTPinCode &)
Set PIN code for device SetSeen(const TTime &)
Set when last seen in inquiry (not supported by stack at present) SetUsed(const TTime &)
Set when the device last connected from or to. TBTNamelessDevice()
Constructor. Used()const
Return the time when the device was last used. CBTDevice
Encapsulates all information that must be known about a device.IMPORT_C const TBTDevAddr& Address() const;
Get the device address.
|
IMPORT_C const TBTDeviceClass& DeviceClass() const;
Returns the class of the device
|
IMPORT_C const TTime& Seen() const;
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.
|
IMPORT_C const TTime& Used() const;
Return the time when the device was last used.
|
IMPORT_C const TBTDeviceSecurity& GlobalSecurity() const;
Retrieve the global security settings.
|
IMPORT_C void SetAddress(const TBTDevAddr &aBDAddr);
Set the bluetooth device address.
|
IMPORT_C void SetDeviceClass(TBTDeviceClass aDeviceClass);
Set the device class.
|
IMPORT_C void SetGlobalSecurity(const TBTDeviceSecurity &aSetting);
Set the Global security settings for all services used by this device
|
IMPORT_C void SetUsed(const TTime &aDateTime);
Set when the device last connected from or to.
|
IMPORT_C void SetSeen(const TTime &aDateTime);
Set when last seen in inquiry (not supported by stack at present)
|
IMPORT_C TBool IsValidAddress() const;
Denotes whether the device address has been set.
|
IMPORT_C TBool IsValidDeviceClass() const;
Denotes whether the device class has been set.
|
IMPORT_C TBool IsValidLinkKey() const;
Denotes whether the link key has been set.
|
IMPORT_C TBool IsValidGlobalSecurity() const;
Denotes whether the global security settings have been set.
|
IMPORT_C TBool IsValidPageScanRepMode() const;
Denotes whether the page scan repition mode has been set.
|
IMPORT_C TBool IsValidPageScanMode() const;
Denotes whether the page scan mode has been set.
|
IMPORT_C TBool IsValidPageScanPeriodMode() const;
Denotes whether the page scan period mode has been set.
|
IMPORT_C TBool IsValidClockOffset() const;
Denotes whether the clock offset has been set.
|
IMPORT_C TBool IsValidUsed() const;
Denotes whether the time last used has been set.
|
IMPORT_C TBool IsValidSeen() const;
Denotes whether the time last seen has been set.
|
IMPORT_C TBool IsPaired() const;
Check whether the device is paired
|
IMPORT_C void SetPaired(TBool aPaired);
Set whether the device is paired. This function should not be used any more, instead the overload with a link key type should be used.
|
TBTNamelessDevice::SetPaired(TBTLinkKeyType)
Set the link key type because the device is paired IMPORT_C void SetPaired(TBTLinkKeyType aLinkKeyType);
Set the link key type because the device is paired
|
IMPORT_C TBool IsValidPaired() const;
Denote whether is paired has been set
|
IMPORT_C const TBTPinCode& PassKey() const;
Return the PIN code.
|
IMPORT_C void SetPassKey(const TBTPinCode &aPassKey);
Set PIN code for device
|
IMPORT_C TBool IsValidPassKey() const;
Denotes whether the PassKey has been set.
|