Home
  • ComFullDuplex
  • ComFullDuplex Class

    管理 SerialPort,保证该程序所有类中使用的 SerialPort 对象都是统一的。 串口接收到的数据和上位机程序发送到下位机的指令都通过该类传递。 More...

    Inherits: AbstractComm

    Public Functions

    Q_INVOKABLE ComFullDuplex()
    ~ComFullDuplex()

    Additional Inherited Members

    Detailed Description

    \authorBriFuture \date 2018.05.04

    管理 SerialPort,保证该程序所有类中使用的 SerialPort 对象都是统一的。 串口接收到的数据和上位机程序发送到下位机的指令都通过该类传递。

    Warning: 该类只负责接收和发送数据(管理上位机和下位机的通信)不会关心数据是否有错误。

    ComFullDuplex is a util to swap information with QT program and SerialPort, All data will be passed to here. For convenience, the ComFullDuplex is integreted with protocol, then it will conduct all commond using NMEA_0183 protocol, and it is obiligate to dispatch all parsed data.

    Member Function Documentation

    Q_INVOKABLE ComFullDuplex::ComFullDuplex()

    Default constructs an instance of ComFullDuplex.

    ComFullDuplex::~ComFullDuplex()

    Destroys the instance of ComFullDuplex.