提供读取和写入串行总线数据的类。 更多...
用于 QtSerialPort 模块 CAN 总线处理部分的一些公共枚举 |
处理总线插件的注册和创建 |
|
用于 CAN bus 的接口类 |
|
QCanBusDevice::Filter 结构定义用于 CAN Bus 帧的过滤器 |
|
有关 CAN Bus 接口的信息 |
|
用作 CAN Bus 插件的插件接口的工厂类 |
|
表示单 CAN 帧的容器类 |
|
具有微秒精度的时间戳信息 |
|
可以用于剖析 DBC 文件 |
|
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 |
|
Struct is used as a return value for the QCanFrameProcessor::parseFrame() method |
|
Describes the rules to process a CAN message and represent it in an application-defined format |
|
Describes the rules to extract one value out of the CAN frame and represent it in an application-defined format |
|
Defines a range of values for a multiplexor signal |
|
Describes the rules for accessing a unique identifier in a QCanBusFrame |
|
发送 Modbus 请求的接口 |
|
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 |
|
接收和处理 Modbus 请求的接口 |
|
用于 Modbus TCP 客户端设备的接口类 |
|
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 |
提供访问各种串行总线的类。
对于 include 当前使用情况适当 header 的 C++ 工程,例如,使用 CAN Bus 设备的应用程序可以使用
#include <QCanBusDevice>
要将模块用于 CMake,使用
find_package()
命令去定位所需模块组件,在
Qt6
包:
find_package(Qt6 COMPONENTS SerialBus REQUIRED)
target_link_libraries(mytarget PRIVATE Qt6::SerialBus)
要采用 qmake 构建模块,将模块添加作为值对于
QT
变量在工程的 .pro 文件:
QT += serialbus
更多见于 Qt Serial Bus 概述 .