diff options
author | Alex Blasche <alexander.blasche@theqtcompany.com> | 2015-11-16 11:31:40 +0100 |
---|---|---|
committer | Alex Blasche <alexander.blasche@theqtcompany.com> | 2015-11-16 10:43:16 +0000 |
commit | 9fcc4f6ec048c98c45a05c974094de9efdef072f (patch) | |
tree | 710bc74e91d9363b6e406917ab865b22c1c7a6d7 | |
parent | b303d2724720f3b8b0639d2d4394447cd5e24be4 (diff) | |
download | qtconnectivity-9fcc4f6ec048c98c45a05c974094de9efdef072f.tar.gz |
Improve QBluetoothDeviceInfo::address() documentation
The address is not exposed on OS X and iOS and deviceUuid() should be
used instead.
Task-number: QTBUG-48746
Change-Id: I07f837ae8a01303c7d1fe27b8a8c174f288829c9
Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
-rw-r--r-- | src/bluetooth/qbluetoothdeviceinfo.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/bluetooth/qbluetoothdeviceinfo.cpp b/src/bluetooth/qbluetoothdeviceinfo.cpp index 0a66c2c2..7d5d8f0c 100644 --- a/src/bluetooth/qbluetoothdeviceinfo.cpp +++ b/src/bluetooth/qbluetoothdeviceinfo.cpp @@ -453,6 +453,12 @@ bool QBluetoothDeviceInfo::operator!=(const QBluetoothDeviceInfo &other) const /*! Returns the address of the device. + + \note On iOS and OS X this address is invalid. Instead \l deviceUuid() should be used. + Those two platforms do not expose Bluetooth addresses for found Bluetooth devices + and utilize unique device identifiers. + + \sa deviceUuid() */ QBluetoothAddress QBluetoothDeviceInfo::address() const { |