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
bladerf2input
bladerf2inputsettings.h
Go to the documentation of this file.
1
// Copyright (C) 2018 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 PLUGINS_SAMPLESOURCE_BLADERF2INPUT_BLADERF2INPUTSETTINGS_H_
19
#define PLUGINS_SAMPLESOURCE_BLADERF2INPUT_BLADERF2INPUTSETTINGS_H_
20
21
#include <QtGlobal>
22
#include <QString>
23
24
struct
BladeRF2InputSettings
{
25
typedef
enum
{
26
FC_POS_INFRA
= 0,
27
FC_POS_SUPRA
,
28
FC_POS_CENTER
29
}
fcPos_t
;
30
31
quint64
m_centerFrequency
;
32
qint32
m_LOppmTenths
;
33
qint32
m_devSampleRate
;
34
qint32
m_bandwidth
;
35
int
m_gainMode
;
36
int
m_globalGain
;
37
bool
m_biasTee
;
38
quint32
m_log2Decim
;
39
fcPos_t
m_fcPos
;
40
bool
m_dcBlock
;
41
bool
m_iqCorrection
;
42
bool
m_transverterMode
;
43
qint64
m_transverterDeltaFrequency
;
44
QString
m_fileRecordName
;
45
bool
m_useReverseAPI
;
46
QString
m_reverseAPIAddress
;
47
uint16_t
m_reverseAPIPort
;
48
uint16_t
m_reverseAPIDeviceIndex
;
49
50
BladeRF2InputSettings
();
51
void
resetToDefaults
();
52
QByteArray
serialize
()
const
;
53
bool
deserialize
(
const
QByteArray& data);
54
};
55
56
57
58
59
#endif
/* PLUGINS_SAMPLESOURCE_BLADERF2INPUT_BLADERF2INPUTSETTINGS_H_ */
BladeRF2InputSettings::serialize
QByteArray serialize() const
Definition:
bladerf2inputsettings.cpp:49
BladeRF2InputSettings::m_fileRecordName
QString m_fileRecordName
Definition:
bladerf2inputsettings.h:44
BladeRF2InputSettings::m_biasTee
bool m_biasTee
Definition:
bladerf2inputsettings.h:37
BladeRF2InputSettings::resetToDefaults
void resetToDefaults()
Definition:
bladerf2inputsettings.cpp:27
BladeRF2InputSettings::FC_POS_SUPRA
Definition:
bladerf2inputsettings.h:27
BladeRF2InputSettings::m_gainMode
int m_gainMode
Definition:
bladerf2inputsettings.h:35
BladeRF2InputSettings::m_transverterMode
bool m_transverterMode
Definition:
bladerf2inputsettings.h:42
BladeRF2InputSettings::m_devSampleRate
qint32 m_devSampleRate
Definition:
bladerf2inputsettings.h:33
BladeRF2InputSettings
Definition:
bladerf2inputsettings.h:24
BladeRF2InputSettings::FC_POS_INFRA
Definition:
bladerf2inputsettings.h:26
BladeRF2InputSettings::m_bandwidth
qint32 m_bandwidth
Definition:
bladerf2inputsettings.h:34
BladeRF2InputSettings::m_centerFrequency
quint64 m_centerFrequency
Definition:
bladerf2inputsettings.h:31
uint16_t
unsigned short uint16_t
Definition:
rtptypes_win.h:44
BladeRF2InputSettings::FC_POS_CENTER
Definition:
bladerf2inputsettings.h:28
BladeRF2InputSettings::m_log2Decim
quint32 m_log2Decim
Definition:
bladerf2inputsettings.h:38
BladeRF2InputSettings::m_transverterDeltaFrequency
qint64 m_transverterDeltaFrequency
Definition:
bladerf2inputsettings.h:43
BladeRF2InputSettings::m_reverseAPIPort
uint16_t m_reverseAPIPort
Definition:
bladerf2inputsettings.h:47
BladeRF2InputSettings::m_LOppmTenths
qint32 m_LOppmTenths
Definition:
bladerf2inputsettings.h:32
BladeRF2InputSettings::m_globalGain
int m_globalGain
Definition:
bladerf2inputsettings.h:36
BladeRF2InputSettings::BladeRF2InputSettings
BladeRF2InputSettings()
Definition:
bladerf2inputsettings.cpp:22
BladeRF2InputSettings::m_useReverseAPI
bool m_useReverseAPI
Definition:
bladerf2inputsettings.h:45
BladeRF2InputSettings::m_reverseAPIAddress
QString m_reverseAPIAddress
Definition:
bladerf2inputsettings.h:46
BladeRF2InputSettings::m_iqCorrection
bool m_iqCorrection
Definition:
bladerf2inputsettings.h:41
BladeRF2InputSettings::m_reverseAPIDeviceIndex
uint16_t m_reverseAPIDeviceIndex
Definition:
bladerf2inputsettings.h:48
BladeRF2InputSettings::fcPos_t
fcPos_t
Definition:
bladerf2inputsettings.h:25
BladeRF2InputSettings::m_dcBlock
bool m_dcBlock
Definition:
bladerf2inputsettings.h:40
BladeRF2InputSettings::m_fcPos
fcPos_t m_fcPos
Definition:
bladerf2inputsettings.h:39
BladeRF2InputSettings::deserialize
bool deserialize(const QByteArray &data)
Definition:
bladerf2inputsettings.cpp:73
Generated on Fri Aug 2 2019 17:56:32 for SDRAngel by
1.8.13