Substitute the source with the repeaters callsign and add the extended callsign information on RF.

This commit is contained in:
Jonathan Naylor
2021-09-21 20:56:11 +01:00
parent cdfe3620d5
commit 45e45da6e6
4 changed files with 136 additions and 85 deletions

View File

@@ -56,6 +56,8 @@ private:
CDisplay* m_display;
bool m_duplex;
CRingBuffer<unsigned char> m_queue;
std::string m_source;
std::string m_dest;
RPT_RF_STATE m_rfState;
RPT_NET_STATE m_netState;
CTimer m_rfTimeoutTimer;
@@ -66,9 +68,11 @@ private:
unsigned int m_netFrames;
unsigned int m_rfErrs;
unsigned int m_rfBits;
CM17LSF m_rfLSF1;
CM17LSF m_rfLSF2;
CM17LSF m_rfLSF3;
unsigned int m_rfLSFCount;
CM17LSF m_rfCurrentRFLSF;
CM17LSF m_rfCurrentNetLSF;
CM17LSF m_rfCollectingLSF;
CM17LSF m_rfCollectedLSF;
unsigned int m_rfLSFn;
CM17LSF m_netLSF;
unsigned int m_netLSFn;
@@ -94,6 +98,8 @@ private:
bool checkCallsign(const std::string& source) const;
void createRFLSF(bool addCallsign);
void writeEndRF();
void writeEndNet();