Qt Serial Bus C++ Classes
Provides classes to read and write serial bus data. More...
Namespaces
Some commons enums that are used in the CAN bus handling part of the QtSerialPort module |
Classes
Can be used to parse DBC files | |
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 | |
Container class representing single bit and 16 bit word entries in the Modbus register | |
Container class representing the physical and functional description of a Modbus server |
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>
To use the module with CMake, use the find_package()
command to locate the needed module components in the Qt6
package:
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
See more in the Qt Serial Bus Overview.