Qt Serial Bus C++ Classes
Provides classes to read and write serial bus data. More...
This module was introduced in Qt 5.8.
Classes
Handles registration and creation of bus plugins | |
The interface class for CAN bus | |
QCanBusDevice::Filter struct defines a filter for CAN bus frames | |
Information about CAN bus interfaces | |
Factory class used as the plugin interface for CAN bus plugins | |
Container class representing a single CAN frame | |
Timestamp information with microsecond precision | |
The interface to send Modbus requests | |
Container class representing single bit and 16 bit word entries in the Modbus register | |
The base class for Modbus classes, QModbusServer and QModbusClient | |
Container class representing the physical and functional description of a Modbus server | |
Container class containing the function and error code inside a Modbus ADU | |
Abstract container class containing the function code and payload that is stored inside a Modbus ADU | |
Contains the data for a request sent with a QModbusClient derived class | |
Container class containing the function code and payload that is stored inside a Modbus ADU | |
Container class containing the function code and payload that is stored inside a Modbus ADU | |
Represents a Modbus client that uses a serial bus for its communication with the Modbus server | |
Represents a Modbus server that uses a serial port for its communication with the Modbus client | |
The interface to receive and process Modbus requests | |
The interface class for Modbus TCP client device | |
Represents the interface for objects that can be passed to QModbusTcpServer::installConnectionObserver | |
Represents a Modbus server that uses a TCP server for its communication with the Modbus client |
Detailed Description
Provides classes to access various serial buses.
For C++ projects include the header appropriate for the current use case, for example applications using the CAN bus device may use
#include <QCanBusDevice>
The .pro file should have the serialbus keyword added
QT += serialbus
See more in the Qt Serial Bus Overview.
© 2024 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.