Add select ack message dstar

AckMessage = 0 set BER status
AckMessage = 1 set RSSI status
This commit is contained in:
Luca Marchesano
2018-09-14 12:30:48 +02:00
committed by GitHub
parent f6cd479117
commit f978a91519
6 changed files with 44 additions and 13 deletions

View File

@@ -37,7 +37,7 @@
class CDStarControl {
public:
CDStarControl(const std::string& callsign, const std::string& module, bool selfOnly, bool ackReply, unsigned int ackTime, bool errorReply, const std::vector<std::string>& blackList, CDStarNetwork* network, CDisplay* display, unsigned int timeout, bool duplex, bool remoteGateway, CRSSIInterpolator* rssiMapper);
CDStarControl(const std::string& callsign, const std::string& module, bool selfOnly, bool ackReply, unsigned int ackTime, bool ackMessage, bool errorReply, const std::vector<std::string>& blackList, CDStarNetwork* network, CDisplay* display, unsigned int timeout, bool duplex, bool remoteGateway, CRSSIInterpolator* rssiMapper);
~CDStarControl();
bool writeModem(unsigned char* data, unsigned int len);
@@ -52,6 +52,7 @@ private:
bool m_selfOnly;
bool m_ackReply;
bool m_errorReply;
bool m_ackMessage;
bool m_remoteGateway;
std::vector<std::string> m_blackList;
CDStarNetwork* m_network;