mirror of
https://github.com/g4klx/MMDVMHost.git
synced 2026-04-05 06:25:24 +00:00
Add AX.25 packet tracking.
This commit is contained in:
parent
b3398710bc
commit
d9e2940f08
9 changed files with 175 additions and 28 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue