mirror of
https://github.com/g4klx/MMDVMHost
synced 2025-12-21 06:55:52 +08:00
Add full frame file dumping.
This commit is contained in:
6
Modem.h
6
Modem.h
@@ -34,7 +34,7 @@ enum RESP_TYPE_MMDVM {
|
||||
|
||||
class CModem {
|
||||
public:
|
||||
CModem(const std::string& port, bool duplex, bool rxInvert, bool txInvert, bool pttInvert, unsigned int txDelay, unsigned int dmrDelay, int oscOffset, bool debug = false);
|
||||
CModem(const std::string& port, bool duplex, bool rxInvert, bool txInvert, bool pttInvert, unsigned int txDelay, unsigned int dmrDelay, int oscOffset, const std::string& samplesDir, bool debug = false);
|
||||
~CModem();
|
||||
|
||||
void setRFParams(unsigned int rxFrequency, unsigned int txFrequency);
|
||||
@@ -102,6 +102,7 @@ private:
|
||||
unsigned int m_ysfTXLevel;
|
||||
unsigned int m_p25TXLevel;
|
||||
int m_oscOffset;
|
||||
std::string m_samplesDir;
|
||||
bool m_debug;
|
||||
unsigned int m_rxFrequency;
|
||||
unsigned int m_txFrequency;
|
||||
@@ -143,7 +144,8 @@ private:
|
||||
bool setFrequency();
|
||||
|
||||
void printDebug();
|
||||
void printSamples();
|
||||
void printSyncSamples();
|
||||
void dumpSamples();
|
||||
|
||||
RESP_TYPE_MMDVM getResponse();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user