Logo Search packages:      
Sourcecode: kdebluetooth version File versions

KBluetooth::DeviceAddress::DeviceAddress ( const bdaddr_t &  bdaddr,
bool  networkbyteorder = false 
) [explicit]

Initialize the object with a BlueZ bdaddr_t.

bdaddr address
networkbyteorder if true, bdaddr is assumed to be in network byte order and converted to host byte order first.

Definition at line 24 of file deviceaddress.cpp.

    if (networkbyteorder)
        baswap(&this->bdaddr, &bdaddr);
        this->bdaddr = bdaddr;
    this->isValid = true;

Generated by  Doxygen 1.6.0   Back to index