Qt Serial Bus C++ 类

提供用于读写串行总线数据的类。 更多...

该模块在 Qt 5.8 引入。

QCanBusDevice::Filter QCanBusDevice::Filter 结构定义用于 CAN Bus 帧的过滤器
QCanBus 处理总线插件的注册和创建
QCanBusDevice 用于 CAN bus 的接口类
QCanBusDeviceInfo 有关 CAN Bus 接口的信息
QCanBusFactoryV2 用作 CAN Bus 插件的插件接口的工厂类
QCanBusFrame 表示单 CAN 帧的容器类
QModbusClient 发送 Modbus 请求的接口
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
QModbusReply Contains the data for a request sent with a QModbusClient derived class
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
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
QModbusServer 接收和处理 Modbus 请求的接口
QModbusTcpClient 用于 Modbus TCP 客户端设备的接口类
QModbusTcpServer Represents a Modbus server that uses a TCP server for its communication with the Modbus client
QCanBusFrame::TimeStamp 具有微秒精度的时间戳信息

详细描述

提供访问各种串行总线的类。

对于 include 当前使用情况适当 header 的 C++ 工程,例如,使用 CAN Bus 设备的应用程序可以使用

#include <QCanBusDevice>
					

.pro 文件应有 serialbus 添加关键词

QT += serialbus
					

更多见于 Qt Serial Bus 概述 .