Home ComFullDuplex
ComFullDuplex Class
管理 SerialPort,保证该程序所有类中使用的 SerialPort 对象都是统一的。 串口接收到的数据和上位机程序发送到下位机的指令都通过该类传递。 More...
Inherits: | AbstractComm |
Public Functions
Q_INVOKABLE | ComFullDuplex() |
~ComFullDuplex() |
- 4 public functions inherited from AbstractComm
Additional Inherited Members
- 1 property inherited from AbstractComm
- 5 public slots inherited from AbstractComm
- 5 signals inherited from AbstractComm
- 2 protected functions inherited from AbstractComm
- 1 protected slot inherited from AbstractComm
Detailed Description
\author
BriFuture \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.