#include </home/clem/local/src/opie/noncore/settings/networksettings2/opietooth2/OTDeviceAddress.h>
Collaboration diagram for Opietooth2::OTDeviceAddress:

Public Member Functions | |
| OTDeviceAddress () | |
| OTDeviceAddress (const bdaddr_t &bdaddr, bool networkbyteorder=false) | |
| OTDeviceAddress (const QString &s) | |
| QString | toString () const |
| const bdaddr_t & | getBDAddr (void) const |
| bdaddr_t | getBDAddrInNetworkByteOrder () const |
| void | setBDAddr (const bdaddr_t &bdaddr, bool networkbyteorder=false) |
| bool | operator< (const OTDeviceAddress &b) const |
| bool | operator== (const OTDeviceAddress &b) const |
| bool | operator!= (const OTDeviceAddress &b) const |
Static Public Attributes | |
| static const OTDeviceAddress | local |
| static const OTDeviceAddress | any |
| static const OTDeviceAddress | invalid |
Protected Attributes | |
| bdaddr_t | BDaddr |
| bool | IsValid |
Definition at line 29 of file OTDeviceAddress.h.
|
|
Default constructor. The resulting address is equal to DeviceAddress::invalid. Definition at line 30 of file OTDeviceAddress.cpp. |
|
||||||||||||
|
Initialize the object with a BlueZ bdaddr_t.
Definition at line 36 of file OTDeviceAddress.cpp. References setBDAddr(). |
|
|
Initializes the object with an address given as a string. The string must be in a format which is understood by the BlueZ str2ba function, like 00:61:58:4C:E6:AD. Case doesn't matter.
Definition at line 41 of file OTDeviceAddress.cpp. References BDaddr, getBDAddr(), IsValid, and QString::latin1(). |
|
|
Converts the DeviceAddress into a BlueZ bdaddr_t.
Definition at line 64 of file OTDeviceAddress.h. References BDaddr. Referenced by Opietooth2::OTDriver::getLinkQuality(), Opietooth2::OTDriver::getPeerName(), OTDeviceAddress(), Opietooth2::OTPeer::timerEvent(), and Opietooth2::OTPeer::updateServices(). |
|
|
Definition at line 71 of file OTDeviceAddress.cpp. References BDaddr. |
|
|
Definition at line 87 of file OTDeviceAddress.h. |
|
|
Less-than-operator. Mainly there to use DeviceAddress inside STL containers, like STL sets or as a key in a STL map.
Definition at line 83 of file OTDeviceAddress.cpp. |
|
|
Equality operator. Tests two device addresses for equality.
Definition at line 77 of file OTDeviceAddress.cpp. |
|
||||||||||||
|
Definition at line 61 of file OTDeviceAddress.cpp. References BDaddr, and IsValid. Referenced by Opietooth2::OTDriver::init(), Opietooth2::OTGateway::loadActiveNetworkSetups(), OTDeviceAddress(), and Opietooth2::OTInquiry::slotHCIEvent(). |
|
|
convert the address to a string.
Definition at line 54 of file OTDeviceAddress.cpp. References BDaddr. Referenced by Opietooth2::OTInquiry::slotHCIEvent(), and Opietooth2::OTPeer::updateServices(). |
|
|
Initial value:
OTDeviceAddress("00:00:00:00:00:00")
Definition at line 25 of file OTDeviceAddress.cpp. Referenced by Opietooth2::OTPeer::timerEvent(), and Opietooth2::OTPeer::updateServices(). |
|
|
Definition at line 101 of file OTDeviceAddress.h. Referenced by getBDAddr(), getBDAddrInNetworkByteOrder(), operator<(), operator==(), OTDeviceAddress(), setBDAddr(), and toString(). |
|
|
Initial value: An address tagged as invalidDefinition at line 23 of file OTDeviceAddress.cpp. |
|
|
Definition at line 102 of file OTDeviceAddress.h. Referenced by operator<(), operator==(), OTDeviceAddress(), and setBDAddr(). |
|
|
Initial value:
OTDeviceAddress("00:00:00:FF:FF:FF")
Definition at line 27 of file OTDeviceAddress.cpp. |
1.4.2