Qt Serial Bus

Qt Serial Bus API 提供訪問各種工業串行總綫和協議 (譬如 CAN、ModBus 等) 的類和函數。

快速入門

要包括模塊類 函數的定義,使用以下指令:

#include <QtSerialBus>
					

要鏈接到模塊,添加此行到 qmake .pro 文件:

QT += serialbus
					
					

支持的總綫和協議

API 參考

這些是 API 參考材料鏈接。

日誌類彆

The QtSerialBus 模塊導齣下列 日誌類彆 :

日誌類彆 描述
qt.modbus Enables standard logging inside the Modbus classes
qt.modbus.lowlevel Enables low level logging including individual packet content inside the Modbus classes

範例