summaryrefslogtreecommitdiffstats
path: root/src/serialbus/qmodbuspdu.cpp
diff options
context:
space:
mode:
authorAlex Blasche <alexander.blasche@theqtcompany.com>2015-11-04 10:55:43 +0100
committerJędrzej Nowacki <jedrzej.nowacki@theqtcompany.com>2015-11-05 07:11:20 +0000
commit97612e59eb11b1c12d37658311793ad7254da476 (patch)
tree0fa9cfae853da7f3a42b37de1751fdbafba98e55 /src/serialbus/qmodbuspdu.cpp
parentc7671cd415c3e8a03e516c3b35236721261c8b23 (diff)
Add a queue system to RTU master
The serial bus protocol specifies that each request is followed by a response (unless a request does not require a response e.g. broadcast requests). Therefore if the user sends of multiple requests the master has to enqueue them for later sending. Timeout handling, retry after timeout and send limitations on bus will be added later on. Change-Id: Ib1fa83315dca637ac071832de5e05762ae972e65 Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
Diffstat (limited to 'src/serialbus/qmodbuspdu.cpp')
-rw-r--r--src/serialbus/qmodbuspdu.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/serialbus/qmodbuspdu.cpp b/src/serialbus/qmodbuspdu.cpp
index eb6cd7e..c3f3aae 100644
--- a/src/serialbus/qmodbuspdu.cpp
+++ b/src/serialbus/qmodbuspdu.cpp
@@ -140,6 +140,7 @@ static quint8 minimumDataSize(QModbusPdu::FunctionCode code, Type type)
when the Modbus client/master disconnects from the
transport layer.
\value UnknownError An unknown error has occurred.
+ \value WriteError The request could not be written/sent to the remote party.
*/
/*!