2015-11-16 23:49:54 -05:00
|
|
|
#pragma once
|
2015-11-18 21:09:51 -05:00
|
|
|
#include "ModemDigital.h"
|
|
|
|
|
|
|
|
class ModemDPSK : public ModemDigital {
|
|
|
|
public:
|
|
|
|
ModemDPSK();
|
|
|
|
~ModemDPSK();
|
2015-11-23 20:03:47 -05:00
|
|
|
|
2015-11-18 23:40:30 -05:00
|
|
|
std::string getName();
|
2015-11-23 20:03:47 -05:00
|
|
|
|
2015-11-18 21:09:51 -05:00
|
|
|
Modem *factory();
|
2015-11-23 20:03:47 -05:00
|
|
|
|
|
|
|
ModemArgInfoList getSettings();
|
|
|
|
void writeSetting(std::string setting, std::string value);
|
|
|
|
std::string readSetting(std::string setting);
|
|
|
|
|
2015-11-18 22:57:31 -05:00
|
|
|
void updateDemodulatorCons(int cons);
|
2015-11-18 21:09:51 -05:00
|
|
|
void demodulate(ModemKit *kit, ModemIQData *input, AudioThreadInput *audioOut);
|
|
|
|
|
|
|
|
private:
|
2015-11-23 20:03:47 -05:00
|
|
|
int cons;
|
2015-11-18 21:09:51 -05:00
|
|
|
modem demodDPSK;
|
|
|
|
modem demodDPSK2;
|
|
|
|
modem demodDPSK4;
|
|
|
|
modem demodDPSK8;
|
|
|
|
modem demodDPSK16;
|
|
|
|
modem demodDPSK32;
|
|
|
|
modem demodDPSK64;
|
|
|
|
modem demodDPSK128;
|
|
|
|
modem demodDPSK256;
|
|
|
|
};
|
2015-11-16 23:49:54 -05:00
|
|
|
|