mirror of
https://github.com/g4klx/MMDVMHost
synced 2025-12-21 06:55:52 +08:00
Add AX.25 packet tracking.
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
|
||||
class CAX25Control {
|
||||
public:
|
||||
CAX25Control(CAX25Network* network);
|
||||
CAX25Control(CAX25Network* network, bool trace);
|
||||
~CAX25Control();
|
||||
|
||||
bool writeModem(unsigned char* data, unsigned int len);
|
||||
@@ -34,9 +34,13 @@ public:
|
||||
|
||||
private:
|
||||
CAX25Network* m_network;
|
||||
bool m_trace;
|
||||
bool m_enabled;
|
||||
FILE* m_fp;
|
||||
|
||||
bool isUI(const unsigned char* data, unsigned int length) const;
|
||||
void decode(const unsigned char* data, unsigned int length);
|
||||
bool decodeAddress(const unsigned char* data, std::string& text, bool isDigi = false) const;
|
||||
bool openFile();
|
||||
bool writeFile(const unsigned char* data, unsigned int length);
|
||||
void closeFile();
|
||||
|
||||
Reference in New Issue
Block a user