MMDVM/AX25RX.h

41 lines
1.1 KiB
C
Raw Normal View History

2020-06-08 16:02:12 +02:00
/*
* Copyright (C) 2020 by Jonathan Naylor G4KLX
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#if !defined(AX25RX_H)
#define AX25RX_H
#include "Config.h"
2020-06-09 15:57:06 +02:00
#include "AX25Demodulator.h"
2020-06-08 16:02:12 +02:00
class CAX25RX {
public:
CAX25RX();
void samples(const q15_t* samples, uint8_t length);
private:
2020-06-09 15:57:06 +02:00
CAX25Demodulator m_demod1;
CAX25Demodulator m_demod2;
CAX25Demodulator m_demod3;
2020-06-10 13:07:04 +02:00
uint16_t m_lastFCS;
2020-06-08 16:02:12 +02:00
};
#endif