mirror of
https://github.com/g4klx/MMDVMHost.git
synced 2026-04-05 14:35:31 +00:00
Add AX.25 transmit functionality to the modem handler.
This commit is contained in:
parent
c026471aec
commit
92ceba052a
7 changed files with 107 additions and 7 deletions
|
|
@ -17,6 +17,7 @@
|
|||
*/
|
||||
|
||||
#include "AX25Network.h"
|
||||
#include "AX25Defines.h"
|
||||
#include "Defines.h"
|
||||
#include "Utils.h"
|
||||
#include "Log.h"
|
||||
|
|
@ -27,12 +28,6 @@
|
|||
|
||||
const unsigned int BUFFER_LENGTH = 500U;
|
||||
|
||||
const unsigned char AX25_KISS_DATA = 0x00U;
|
||||
|
||||
const unsigned char AX25_FEND = 0xC0U;
|
||||
const unsigned char AX25_FESC = 0xDBU;
|
||||
const unsigned char AX25_TFEND = 0xDCU;
|
||||
const unsigned char AX25_TFESC = 0xDDU;
|
||||
|
||||
CAX25Network::CAX25Network(const std::string& port, unsigned int speed, bool debug) :
|
||||
m_serial(port, SERIAL_SPEED(speed), false), // XXX
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue