SDRAngel
4.11.5
Developer docs for <a href="https://github.com/f4exb/sdrangel">SDRangel<\a>, an Open Source Qt5 / OpenGL 3.0+ SDR and signal analyzer frontend to various hardware.
plugins
samplesource
rtlsdr
rtlsdrsettings.h
Go to the documentation of this file.
1
// Copyright (C) 2015 Edouard Griffiths, F4EXB //
3
// //
4
// This program is free software; you can redistribute it and/or modify //
5
// it under the terms of the GNU General Public License as published by //
6
// the Free Software Foundation as version 3 of the License, or //
7
// (at your option) any later version. //
8
// //
9
// This program is distributed in the hope that it will be useful, //
10
// but WITHOUT ANY WARRANTY; without even the implied warranty of //
11
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the //
12
// GNU General Public License V3 for more details. //
13
// //
14
// You should have received a copy of the GNU General Public License //
15
// along with this program. If not, see <http://www.gnu.org/licenses/>. //
17
18
#ifndef _RTLSDR_RTLSDRSETTINGS_H_
19
#define _RTLSDR_RTLSDRSETTINGS_H_
20
21
#include <QString>
22
23
struct
RTLSDRSettings
{
24
typedef
enum
{
25
FC_POS_INFRA
= 0,
26
FC_POS_SUPRA
,
27
FC_POS_CENTER
28
}
fcPos_t
;
29
30
int
m_devSampleRate
;
31
bool
m_lowSampleRate
;
32
quint64
m_centerFrequency
;
33
qint32
m_gain
;
34
qint32
m_loPpmCorrection
;
35
quint32
m_log2Decim
;
36
fcPos_t
m_fcPos
;
37
bool
m_dcBlock
;
38
bool
m_iqImbalance
;
39
bool
m_agc
;
40
bool
m_noModMode
;
41
bool
m_transverterMode
;
42
qint64
m_transverterDeltaFrequency
;
43
quint32
m_rfBandwidth
;
44
QString
m_fileRecordName
;
45
bool
m_offsetTuning
;
46
bool
m_useReverseAPI
;
47
QString
m_reverseAPIAddress
;
48
uint16_t
m_reverseAPIPort
;
49
uint16_t
m_reverseAPIDeviceIndex
;
50
51
RTLSDRSettings
();
52
void
resetToDefaults
();
53
QByteArray
serialize
()
const
;
54
bool
deserialize
(
const
QByteArray& data);
55
};
56
57
58
59
60
61
#endif
/* _RTLSDR_RTLSDRSETTINGS_H_ */
RTLSDRSettings::m_offsetTuning
bool m_offsetTuning
Definition:
rtlsdrsettings.h:45
RTLSDRSettings::FC_POS_INFRA
Definition:
rtlsdrsettings.h:25
RTLSDRSettings::m_useReverseAPI
bool m_useReverseAPI
Definition:
rtlsdrsettings.h:46
RTLSDRSettings::m_noModMode
bool m_noModMode
Definition:
rtlsdrsettings.h:40
RTLSDRSettings::serialize
QByteArray serialize() const
Definition:
rtlsdrsettings.cpp:51
RTLSDRSettings::m_fileRecordName
QString m_fileRecordName
Definition:
rtlsdrsettings.h:44
RTLSDRSettings::fcPos_t
fcPos_t
Definition:
rtlsdrsettings.h:24
RTLSDRSettings::m_lowSampleRate
bool m_lowSampleRate
Definition:
rtlsdrsettings.h:31
RTLSDRSettings::FC_POS_SUPRA
Definition:
rtlsdrsettings.h:26
RTLSDRSettings::m_reverseAPIDeviceIndex
uint16_t m_reverseAPIDeviceIndex
Definition:
rtlsdrsettings.h:49
RTLSDRSettings::m_reverseAPIPort
uint16_t m_reverseAPIPort
Definition:
rtlsdrsettings.h:48
RTLSDRSettings::RTLSDRSettings
RTLSDRSettings()
Definition:
rtlsdrsettings.cpp:22
RTLSDRSettings::FC_POS_CENTER
Definition:
rtlsdrsettings.h:27
RTLSDRSettings::m_dcBlock
bool m_dcBlock
Definition:
rtlsdrsettings.h:37
RTLSDRSettings::m_agc
bool m_agc
Definition:
rtlsdrsettings.h:39
RTLSDRSettings
Definition:
rtlsdrsettings.h:23
uint16_t
unsigned short uint16_t
Definition:
rtptypes_win.h:44
RTLSDRSettings::m_gain
qint32 m_gain
Definition:
rtlsdrsettings.h:33
RTLSDRSettings::resetToDefaults
void resetToDefaults()
Definition:
rtlsdrsettings.cpp:27
RTLSDRSettings::m_transverterMode
bool m_transverterMode
Definition:
rtlsdrsettings.h:41
RTLSDRSettings::m_log2Decim
quint32 m_log2Decim
Definition:
rtlsdrsettings.h:35
RTLSDRSettings::m_fcPos
fcPos_t m_fcPos
Definition:
rtlsdrsettings.h:36
RTLSDRSettings::m_rfBandwidth
quint32 m_rfBandwidth
RF filter bandwidth in Hz.
Definition:
rtlsdrsettings.h:43
RTLSDRSettings::m_loPpmCorrection
qint32 m_loPpmCorrection
Definition:
rtlsdrsettings.h:34
RTLSDRSettings::m_reverseAPIAddress
QString m_reverseAPIAddress
Definition:
rtlsdrsettings.h:47
RTLSDRSettings::m_transverterDeltaFrequency
qint64 m_transverterDeltaFrequency
Definition:
rtlsdrsettings.h:42
RTLSDRSettings::m_centerFrequency
quint64 m_centerFrequency
Definition:
rtlsdrsettings.h:32
RTLSDRSettings::deserialize
bool deserialize(const QByteArray &data)
Definition:
rtlsdrsettings.cpp:77
RTLSDRSettings::m_devSampleRate
int m_devSampleRate
Definition:
rtlsdrsettings.h:30
RTLSDRSettings::m_iqImbalance
bool m_iqImbalance
Definition:
rtlsdrsettings.h:38
Generated on Fri Aug 2 2019 17:56:32 for SDRAngel by
1.8.13