Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business

Qt Serial Bus C++ Classes

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

This module was introduced in Qt 5.8.

Classes

QModbusClient

The interface to send Modbus requests

QModbusRtuSerialMaster

Represents a Modbus client that uses a serial bus for its communication with the Modbus server

QModbusRtuSerialSlave

Represents a Modbus server that uses a serial port for its communication with the Modbus client

QModbusTcpClient

The interface class for Modbus TCP client device

QModbusTcpServer

Represents a Modbus server that uses a TCP server for its communication with the Modbus client

QCanBus

Handles registration and creation of bus plugins

QCanBusDevice::Filter

QCanBusDevice::Filter struct defines a filter for CAN bus frames

QCanBusDevice

The interface class for CAN bus

QCanBusDeviceInfo

Information about CAN bus interfaces

QCanBusFactoryV2

Factory class used as the plugin interface for CAN bus plugins

QCanBusFrame

Container class representing a single CAN frame

QCanBusFrame::TimeStamp

Timestamp information with microsecond precision

QModbusDataUnit

Container class representing single bit and 16 bit word entries in the Modbus register

QModbusDevice

The base class for Modbus classes, QModbusServer and QModbusClient

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

QModbusPdu

Abstract container class containing the function code and payload that is stored 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

QModbusReply

Contains the data for a request sent with a QModbusClient derived class

QModbusServer

The interface to receive and process Modbus requests

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.

Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded