Qt Serial Bus
The Qt Serial Bus API provides classes and functions to access the various industrial serial buses and protocols, such as CAN, ModBus, and others.
To include the definitions of the module's classes and functions, use the following directive:
To link against the module, add this line to your qmake .pro file:
QT += serialbus
These are links to the API reference materials.
|qt.canbus||Enables standard logging inside the Qt CAN Bus classes|
|qt.canbus.plugins||Enables low level logging inside the Qt CAN Bus plugin classes. To set logging for a specific plugin, use "qt.canbus.plugins.pluginname". e.g. "qt.canbus.plugins.socketcan". "qt.canbus.plugins*" affects all plugins.|
|qt.modbus||Enables standard logging inside the Qt Modbus classes|
|qt.modbus.lowlevel||Enables low level logging including individual packet content inside the Qt Modbus classes|
A quick way to enable all Qt Modbus logging is to add the following line to the main() function:
© 2019 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.