|
|
|
|
Location:
btdevice.h
Link against: btdevice.lib
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(), 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()
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 linkkey 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
|
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.
|