mirror of
https://github.com/g4klx/MMDVMHost.git
synced 2026-04-07 23:43:51 +00:00
Make the Null Controller respond properly.
This commit is contained in:
parent
42570c905d
commit
a3e4a250bd
2 changed files with 147 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue