From 9fcc4f6ec048c98c45a05c974094de9efdef072f Mon Sep 17 00:00:00 2001 From: Alex Blasche Date: Mon, 16 Nov 2015 11:31:40 +0100 Subject: 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 --- src/bluetooth/qbluetoothdeviceinfo.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src') 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 { -- cgit v1.2.3