summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Blasche <alexander.blasche@theqtcompany.com>2015-11-02 16:19:10 +0100
committerAlex Blasche <alexander.blasche@theqtcompany.com>2015-11-02 15:27:40 +0000
commit04c01d562a41cc0e287d698666e648e14fb6d3f1 (patch)
tree7ce8fcb7453a3c07ec876c9bde1c45e24c1fe124
parent0bd4e597145b8d94bee54fe86114893120afc97f (diff)
downloadqtconnectivity-04c01d562a41cc0e287d698666e648e14fb6d3f1.tar.gz
Add comment that QBluetoothSocket only supports asynch read/write
Task-number: QTBUG-38916 Change-Id: Ibd425ca24a1a98433f7b9d8b1fa11a7c287de871 Reviewed-by: Timur Pocheptsov <timur.pocheptsov@theqtcompany.com>
-rw-r--r--src/bluetooth/qbluetoothsocket.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/bluetooth/qbluetoothsocket.cpp b/src/bluetooth/qbluetoothsocket.cpp
index 97ee7dc2..f6cbf4e9 100644
--- a/src/bluetooth/qbluetoothsocket.cpp
+++ b/src/bluetooth/qbluetoothsocket.cpp
@@ -72,6 +72,9 @@ Q_DECLARE_LOGGING_CATEGORY(QT_BT)
If the \l {QBluetoothServiceInfo::Protocol}{Protocol} is not supported on a platform, calling
\l connectToService() will emit a \l {QBluetoothSocket::UnsupportedProtocolError}{UnsupportedProtocolError} error.
+ \note QBluetoothSocket does not support synchronous read and write operations. Functions such
+ as \l waitForReadyRead() and \l waitForBytesWritten() are not implemented. I/O operations should be
+ performed using \l readyRead(), \l read() and \l write().
*/
/*!