Make the Null Controller respond properly.

This commit is contained in:
Jonathan Naylor
2021-03-14 21:00:47 +00:00
parent 42570c905d
commit a3e4a250bd
2 changed files with 147 additions and 3 deletions

View File

@@ -21,6 +21,8 @@
#include "ModemPort.h"
#include "RingBuffer.h"
class CNullController : public IModemPort {
public:
CNullController();
@@ -35,6 +37,11 @@ public:
virtual void close();
private:
CRingBuffer<unsigned char> m_buffer;
void writeVersion();
void writeStatus();
void writeAck(unsigned char type);
};
#endif