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
bladerf1input
bladerf1inputsettings.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 _BLADERF_BLADERFINPUTSETTINGS_H_
19
#define _BLADERF_BLADERFINPUTSETTINGS_H_
20
21
#include <QtGlobal>
22
#include <QString>
23
#include <libbladeRF.h>
24
25
struct
BladeRF1InputSettings
{
26
typedef
enum
{
27
FC_POS_INFRA
= 0,
28
FC_POS_SUPRA
,
29
FC_POS_CENTER
30
}
fcPos_t
;
31
32
quint64
m_centerFrequency
;
33
qint32
m_devSampleRate
;
34
qint32
m_lnaGain
;
35
qint32
m_vga1
;
36
qint32
m_vga2
;
37
qint32
m_bandwidth
;
38
quint32
m_log2Decim
;
39
fcPos_t
m_fcPos
;
40
bool
m_xb200
;
41
bladerf_xb200_path
m_xb200Path
;
42
bladerf_xb200_filter
m_xb200Filter
;
43
bool
m_dcBlock
;
44
bool
m_iqCorrection
;
45
QString
m_fileRecordName
;
46
bool
m_useReverseAPI
;
47
QString
m_reverseAPIAddress
;
48
uint16_t
m_reverseAPIPort
;
49
uint16_t
m_reverseAPIDeviceIndex
;
50
51
BladeRF1InputSettings
();
52
void
resetToDefaults
();
53
QByteArray
serialize
()
const
;
54
bool
deserialize
(
const
QByteArray& data);
55
};
56
57
#endif
/* _BLADERF_BLADERFINPUTSETTINGS_H_ */
BladeRF1InputSettings::FC_POS_INFRA
Definition:
bladerf1inputsettings.h:27
BladeRF1InputSettings::m_xb200Filter
bladerf_xb200_filter m_xb200Filter
Definition:
bladerf1inputsettings.h:42
BladeRF1InputSettings::m_useReverseAPI
bool m_useReverseAPI
Definition:
bladerf1inputsettings.h:46
BladeRF1InputSettings::m_reverseAPIAddress
QString m_reverseAPIAddress
Definition:
bladerf1inputsettings.h:47
BladeRF1InputSettings::serialize
QByteArray serialize() const
Definition:
bladerf1inputsettings.cpp:51
BladeRF1InputSettings::m_xb200Path
bladerf_xb200_path m_xb200Path
Definition:
bladerf1inputsettings.h:41
BladeRF1InputSettings::m_fcPos
fcPos_t m_fcPos
Definition:
bladerf1inputsettings.h:39
BladeRF1InputSettings::BladeRF1InputSettings
BladeRF1InputSettings()
Definition:
bladerf1inputsettings.cpp:24
uint16_t
unsigned short uint16_t
Definition:
rtptypes_win.h:44
BladeRF1InputSettings::m_dcBlock
bool m_dcBlock
Definition:
bladerf1inputsettings.h:43
BladeRF1InputSettings::m_bandwidth
qint32 m_bandwidth
Definition:
bladerf1inputsettings.h:37
BladeRF1InputSettings::m_reverseAPIPort
uint16_t m_reverseAPIPort
Definition:
bladerf1inputsettings.h:48
BladeRF1InputSettings::resetToDefaults
void resetToDefaults()
Definition:
bladerf1inputsettings.cpp:29
BladeRF1InputSettings::m_centerFrequency
quint64 m_centerFrequency
Definition:
bladerf1inputsettings.h:32
BladeRF1InputSettings::FC_POS_SUPRA
Definition:
bladerf1inputsettings.h:28
BladeRF1InputSettings::m_xb200
bool m_xb200
Definition:
bladerf1inputsettings.h:40
BladeRF1InputSettings::m_lnaGain
qint32 m_lnaGain
Definition:
bladerf1inputsettings.h:34
BladeRF1InputSettings::m_vga1
qint32 m_vga1
Definition:
bladerf1inputsettings.h:35
BladeRF1InputSettings::m_log2Decim
quint32 m_log2Decim
Definition:
bladerf1inputsettings.h:38
BladeRF1InputSettings::m_vga2
qint32 m_vga2
Definition:
bladerf1inputsettings.h:36
BladeRF1InputSettings::fcPos_t
fcPos_t
Definition:
bladerf1inputsettings.h:26
BladeRF1InputSettings::m_fileRecordName
QString m_fileRecordName
Definition:
bladerf1inputsettings.h:45
BladeRF1InputSettings::deserialize
bool deserialize(const QByteArray &data)
Definition:
bladerf1inputsettings.cpp:75
BladeRF1InputSettings::FC_POS_CENTER
Definition:
bladerf1inputsettings.h:29
BladeRF1InputSettings::m_devSampleRate
qint32 m_devSampleRate
Definition:
bladerf1inputsettings.h:33
BladeRF1InputSettings
Definition:
bladerf1inputsettings.h:25
BladeRF1InputSettings::m_iqCorrection
bool m_iqCorrection
Definition:
bladerf1inputsettings.h:44
BladeRF1InputSettings::m_reverseAPIDeviceIndex
uint16_t m_reverseAPIDeviceIndex
Definition:
bladerf1inputsettings.h:49
Generated on Fri Aug 2 2019 17:56:32 for SDRAngel by
1.8.13