summaryrefslogtreecommitdiffstats
path: root/src/serialbus/qmodbusdevice.cpp
diff options
context:
space:
mode:
authorTarja Sundqvist <tarja.sundqvist@qt.io>2023-06-09 17:09:15 +0300
committerTarja Sundqvist <tarja.sundqvist@qt.io>2023-06-09 17:09:15 +0300
commitc41785c9f36560722b917d373ee97eed8cc4089a (patch)
treead9d2d75b46e2f316435e5e491b3bbd0daf7308c /src/serialbus/qmodbusdevice.cpp
parentb3081c36baee48b43b6285b4811dc6da451e2390 (diff)
parentdb246244f5079e87a204d3f2d46d5992ab34e181 (diff)
Merge remote-tracking branch 'origin/tqtc/lts-5.15.11' into tqtc/lts-5.15-opensourcev5.15.11-lts-lgpl
Diffstat (limited to 'src/serialbus/qmodbusdevice.cpp')
-rw-r--r--src/serialbus/qmodbusdevice.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/serialbus/qmodbusdevice.cpp b/src/serialbus/qmodbusdevice.cpp
index ab8e126..58bdc6d 100644
--- a/src/serialbus/qmodbusdevice.cpp
+++ b/src/serialbus/qmodbusdevice.cpp
@@ -204,6 +204,13 @@ void QModbusDevice::setConnectionParameter(int parameter, const QVariant &value)
\value ReplyAbortedError The reply was aborted due to a disconnection of
the device.
\value UnknownError An unknown error occurred.
+
+ \note An UnknownError can also indicate that the received
+ \l {QModbusPdu::}{FunctionCode} is not supported in the current
+ implementation. In this case custom Modbus client implementations need to
+ override the \l {QModbusClient::}{processResponse()} and
+ \l {QModbusClient::}{processPrivateResponse()} methods to provide support
+ for needed functions.
*/
/*!