Qt Serial Bus C++ Classes | Qt Serial Bus 5.13.2

Qt 5.13 | Qt Serial Bus | Qt Serial Bus C++ Classes

Qt 5.13.2 Reference Documentation

# Qt Serial Bus C++ Classes

Provides classes to read and write serial bus data. More...

This module was introduced in Qt 5.8.

## Classes

QModbusDeviceIdentification | Container class representing the physical and functional description of a Modbus server
QModbusExceptionResponse | Container class containing the function and error code inside a Modbus ADU
QModbusRequest | Container class containing the function code and payload that is stored inside a Modbus ADU
QModbusResponse | Container class containing the function code and payload that is stored inside a Modbus ADU

## 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.