19 #ifndef SWGBladeRF2InputSettings_H_ 20 #define SWGBladeRF2InputSettings_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 getLOppmTenths();
49 void setLOppmTenths(qint32 l_oppm_tenths);
51 qint32 getDevSampleRate();
52 void setDevSampleRate(qint32 dev_sample_rate);
54 qint32 getBandwidth();
55 void setBandwidth(qint32 bandwidth);
58 void setGainMode(qint32 gain_mode);
60 qint32 getGlobalGain();
61 void setGlobalGain(qint32 global_gain);
64 void setBiasTee(qint32 bias_tee);
66 qint32 getLog2Decim();
67 void setLog2Decim(qint32 log2_decim);
70 void setFcPos(qint32 fc_pos);
73 void setDcBlock(qint32 dc_block);
75 qint32 getIqCorrection();
76 void setIqCorrection(qint32 iq_correction);
78 qint32 getTransverterMode();
79 void setTransverterMode(qint32 transverter_mode);
81 qint64 getTransverterDeltaFrequency();
82 void setTransverterDeltaFrequency(qint64 transverter_delta_frequency);
84 QString* getFileRecordName();
85 void setFileRecordName(QString* file_record_name);
87 qint32 getUseReverseApi();
88 void setUseReverseApi(qint32 use_reverse_api);
90 QString* getReverseApiAddress();
91 void setReverseApiAddress(QString* reverse_api_address);
93 qint32 getReverseApiPort();
94 void setReverseApiPort(qint32 reverse_api_port);
96 qint32 getReverseApiDeviceIndex();
97 void setReverseApiDeviceIndex(qint32 reverse_api_device_index);
100 virtual bool isSet()
override;