提供用于读写串行总线数据的类。 更多...
| QtCanBus | Some commons enums that are used in the CAN bus handling part of the QtSerialPort module |
| QCanBus | 处理总线插件的注册和创建 |
| QCanBusDevice | 用于 CAN bus 的接口类 |
| QCanBusDevice::Filter | QCanBusDevice::Filter 结构定义用于 CAN Bus 帧的过滤器 |
| QCanBusDeviceInfo | 有关 CAN Bus 接口的信息 |
| QCanBusFactory | 用作 CAN Bus 插件的插件接口的工厂类 |
| QCanBusFrame | 表示单 CAN 帧的容器类 |
| QCanBusFrame::TimeStamp | 具有微秒精度的时间戳信息 |
| QCanDbcFileParser | Can be used to parse DBC files |
| QCanFrameProcessor | Can be used to decode a QCanBusFrame or to convert the input data into a QCanBusFrame that is ready to be sent to the receiver |
| QCanFrameProcessor::ParseResult | Struct is used as a return value for the QCanFrameProcessor::parseFrame() method |
| QCanMessageDescription | Describes the rules to process a CAN message and represent it in an application-defined format |
| QCanSignalDescription | Describes the rules to extract one value out of the CAN frame and represent it in an application-defined format |
| QCanSignalDescription::MultiplexValueRange | Defines a range of values for a multiplexor signal |
| QCanUniqueIdDescription | Describes the rules for accessing a unique identifier in a QCanBusFrame |
| QModbusClient | 发送 Modbus 请求的接口 |
| QModbusDataUnit | 表示 Modbus 寄存器中单个位和 16 位词条目的容器类 |
| QModbusDevice | 用于 Modbus 类 QModbusServer 和 QModbusClient 的基类 |
| QModbusDeviceIdentification | 表示 Modbus 服务器物理和功能描述的容器类 |
| QModbusExceptionResponse | 包含 Modbus ADU 内函数和错误码的容器类 |
| QModbusPdu | 包含存储于 Modbus ADU 内功能代码和负载的抽象容器类 |
| QModbusReply | 包含由 QModbusClient 派生类请求发送的数据 |
| QModbusRequest | 包含存储于 Modbus ADU 内功能代码和有效载荷的容器类 |
| QModbusResponse | 包含存储于 Modbus ADU 内功能代码和有效载荷的容器类 |
| QModbusRtuSerialClient | 表示使用串行总线与 Modbus 服务器通信的 Modbus 客户端 |
| QModbusRtuSerialServer | 表示使用串口与 Modbus 客户端通信的 Modbus 服务器 |
| QModbusServer | 接收和处理 Modbus 请求的接口 |
| QModbusTcpClient | 用于 Modbus TCP 客户端设备的接口类 |
| QModbusTcpConnectionObserver | 表示可以传递给 QModbusTcpServer::installConnectionObserver 的对象接口 |
| QModbusTcpServer | 表示使用 TCP 服务器与 Modbus 客户端通信的 Modbus 服务器 |
提供访问各种串行总线的类。
对于 include 当前使用情况适当 header 的 C++ 工程,例如,使用 CAN Bus 设备的应用程序可以使用
#include <QCanBusDevice>
To use the module with CMake, use the
find_package()
命令定位所需模块组件在
Qt6
包:
find_package(Qt6 COMPONENTS SerialBus REQUIRED)
target_link_libraries(mytarget PRIVATE Qt6::SerialBus)
To use the module for building with qmake, add the module as a value of the
QT
variable in the project's .pro file:
QT += serialbus
更多见于 Qt Serial Bus 概述 .