More sane modem port protocol handling.

This commit is contained in:
Jonathan Naylor
2021-02-16 22:34:25 +00:00
parent ff9712b36a
commit 8ace65b86d
22 changed files with 454 additions and 181 deletions

View File

@@ -20,6 +20,7 @@
#ifndef UARTController_H
#define UARTController_H
#include "MMDVMModemPort.h"
#include "SerialPort.h"
#include <string>
@@ -28,7 +29,7 @@
#include <windows.h>
#endif
class CUARTController : public ISerialPort {
class CUARTController : public ISerialPort, public IMMDVMModemPort {
public:
CUARTController(const std::string& device, unsigned int speed, bool assertRTS = false);
virtual ~CUARTController();