19 #ifndef SWGPlutoSdrInputSettings_H_ 20 #define SWGPlutoSdrInputSettings_H_ 22 #include <QJsonObject> 40 virtual QString asJson ()
override;
41 virtual QJsonObject* asJsonObject()
override;
42 virtual void fromJsonObject(QJsonObject &json)
override;
45 qint64 getCenterFrequency();
46 void setCenterFrequency(qint64 center_frequency);
48 qint32 getDevSampleRate();
49 void setDevSampleRate(qint32 dev_sample_rate);
51 qint32 getLOppmTenths();
52 void setLOppmTenths(qint32 l_oppm_tenths);
54 qint32 getLpfFirEnable();
55 void setLpfFirEnable(qint32 lpf_fir_enable);
58 void setLpfFirbw(qint32 lpf_firbw);
60 qint32 getLpfFiRlog2Decim();
61 void setLpfFiRlog2Decim(qint32 lpf_fi_rlog2_decim);
63 qint32 getLpfFirGain();
64 void setLpfFirGain(qint32 lpf_fir_gain);
67 void setFcPos(qint32 fc_pos);
70 void setDcBlock(qint32 dc_block);
72 qint32 getIqCorrection();
73 void setIqCorrection(qint32 iq_correction);
75 qint32 getHwBbdcBlock();
76 void setHwBbdcBlock(qint32 hw_bbdc_block);
78 qint32 getHwRfdcBlock();
79 void setHwRfdcBlock(qint32 hw_rfdc_block);
81 qint32 getHwIqCorrection();
82 void setHwIqCorrection(qint32 hw_iq_correction);
84 qint32 getLog2Decim();
85 void setLog2Decim(qint32 log2_decim);
88 void setLpfBw(qint32 lpf_bw);
91 void setGain(qint32 gain);
93 qint32 getAntennaPath();
94 void setAntennaPath(qint32 antenna_path);
97 void setGainMode(qint32 gain_mode);
99 qint32 getTransverterMode();
100 void setTransverterMode(qint32 transverter_mode);
102 qint64 getTransverterDeltaFrequency();
103 void setTransverterDeltaFrequency(qint64 transverter_delta_frequency);
105 QString* getFileRecordName();
106 void setFileRecordName(QString* file_record_name);
108 qint32 getUseReverseApi();
109 void setUseReverseApi(qint32 use_reverse_api);
111 QString* getReverseApiAddress();
112 void setReverseApiAddress(QString* reverse_api_address);
114 qint32 getReverseApiPort();
115 void setReverseApiPort(qint32 reverse_api_port);
117 qint32 getReverseApiDeviceIndex();
118 void setReverseApiDeviceIndex(qint32 reverse_api_device_index);
121 virtual bool isSet()
override;