Add YSF DSQ support.

This commit is contained in:
Jonathan Naylor
2017-08-13 10:30:02 +01:00
parent a89e3db3dc
commit 8d9cfb0f46
8 changed files with 105 additions and 17 deletions

View File

@@ -37,6 +37,8 @@ public:
CYSFControl(const std::string& callsign, CYSFNetwork* network, CDisplay* display, unsigned int timeout, bool duplex, bool lowDeviation, bool remoteGateway, CRSSIInterpolator* rssiMapper);
~CYSFControl();
void setSQL(bool on, unsigned char value);
bool writeModem(unsigned char* data, unsigned int len);
unsigned int readModem(unsigned char* data);
@@ -50,6 +52,8 @@ private:
bool m_duplex;
bool m_lowDeviation;
bool m_remoteGateway;
bool m_sqlEnabled;
unsigned char m_sqlValue;
CRingBuffer<unsigned char> m_queue;
RPT_RF_STATE m_rfState;
RPT_NET_STATE m_netState;