summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Shienkov <denis.shienkov@gmail.com>2017-02-23 20:53:55 +0300
committerDenis Shienkov <denis.shienkov@gmail.com>2017-03-06 08:58:53 +0000
commit39d79e16577331f2a8f84df2f63d28e2f03a1ca4 (patch)
treec2a39eb901b5d2e535307148ed89dd0a8c6dd3c1
parent489d8ce034c422549c1cb39da29de361695f4137 (diff)
downloadqtserialport-39d79e16577331f2a8f84df2f63d28e2f03a1ca4.tar.gz
Doc: Describe limitations to use of QSP::setRequestToSend()5.8
The limitations were introduced by the commit 56c001b, but were not documented. Change-Id: I5e44ab78e2e5cce2477ebc1f83280fa8c22e0ef6 Reviewed-by: Topi Reiniƶ <topi.reinio@qt.io>
-rw-r--r--src/serialport/qserialport.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/serialport/qserialport.cpp b/src/serialport/qserialport.cpp
index 81beb2d..8140deb 100644
--- a/src/serialport/qserialport.cpp
+++ b/src/serialport/qserialport.cpp
@@ -956,6 +956,10 @@ bool QSerialPort::isDataTerminalReady()
property; otherwise \c false is returned and the error code is set to
NotOpenError.
+ \note An attempt to control the RTS signal in the HardwareControl mode
+ will fail with error code set to UnsupportedOperationError, because
+ the signal is automatically controlled by the driver.
+
\sa pinoutSignals()
*/
bool QSerialPort::setRequestToSend(bool set)