19 #ifndef SWGBladeRF1InputSettings_H_ 20 #define SWGBladeRF1InputSettings_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);
52 void setLnaGain(qint32 lna_gain);
55 void setVga1(qint32 vga1);
58 void setVga2(qint32 vga2);
60 qint32 getBandwidth();
61 void setBandwidth(qint32 bandwidth);
63 qint32 getLog2Decim();
64 void setLog2Decim(qint32 log2_decim);
67 void setFcPos(qint32 fc_pos);
70 void setXb200(qint32 xb200);
72 qint32 getXb200Path();
73 void setXb200Path(qint32 xb200_path);
75 qint32 getXb200Filter();
76 void setXb200Filter(qint32 xb200_filter);
79 void setDcBlock(qint32 dc_block);
81 qint32 getIqCorrection();
82 void setIqCorrection(qint32 iq_correction);
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;