18 #ifndef INCLUDE_FCDPROINPUT_H 19 #define INCLUDE_FCDPROINPUT_H 25 #include <QNetworkRequest> 39 class QNetworkAccessManager;
86 m_startStop(startStop)
105 m_startStop(startStop)
111 virtual void destroy();
114 virtual bool start();
117 virtual QByteArray serialize()
const;
118 virtual bool deserialize(
const QByteArray& data);
121 virtual const QString& getDeviceDescription()
const;
122 virtual int getSampleRate()
const;
124 virtual quint64 getCenterFrequency()
const;
125 virtual void setCenterFrequency(qint64 centerFrequency);
127 virtual bool handleMessage(
const Message& message);
129 virtual int webapiSettingsGet(
131 QString& errorMessage);
133 virtual int webapiSettingsPutPatch(
135 const QStringList& deviceSettingsKeys,
137 QString& errorMessage);
139 virtual int webapiRunGet(
141 QString& errorMessage);
143 virtual int webapiRun(
146 QString& errorMessage);
148 void set_center_freq(
double freq);
149 void set_bias_t(
bool on);
150 void set_lnaGain(
int index);
151 void set_rfFilter(
int index);
152 void set_lnaEnhance(
int index);
153 void set_band(
int index);
154 void set_mixerGain(
int index);
155 void set_mixerFilter(
int index);
156 void set_biasCurrent(
int index);
157 void set_mode(
int index);
158 void set_gain1(
int index);
159 void set_rcFilter(
int index);
160 void set_gain2(
int index);
161 void set_gain3(
int index);
162 void set_gain4(
int index);
163 void set_ifFilter(
int index);
164 void set_gain5(
int index);
165 void set_gain6(
int index);
183 bool openFCDAudio(
const char *filename);
184 void closeFCDAudio();
188 void webapiReverseSendSettings(QList<QString>& deviceSettingsKeys,
const FCDProSettings& settings,
bool force);
189 void webapiReverseSendStartStop(
bool start);
192 void networkManagerFinished(QNetworkReply *reply);
195 #endif // INCLUDE_FCDPROINPUT_H
#define MESSAGE_CLASS_DECLARATION