mirror of
https://github.com/g4klx/MMDVMHost
synced 2025-12-23 08:45:48 +08:00
Make the Null Controller respond properly.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user