aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve Markgraf <steve@steve-m.de>2013-11-04 21:00:08 +0100
committerSteve Markgraf <steve@steve-m.de>2013-11-04 21:00:08 +0100
commit1aa67f08bc608c8f54dc5591f3b5e6549f58d17c (patch)
treedd0dc23eeb9d8a48f9499027cf479fe92692c897
parente1b699fda04b114c8973e4cbef929781d2312ba5 (diff)
rtl: add R828D tuner
Signed-off-by: Steve Markgraf <steve@steve-m.de>
-rw-r--r--lib/rtl/rtl_source_c.cc2
-rw-r--r--lib/rtl_tcp/rtl_tcp_source_c.cc4
-rw-r--r--lib/rtl_tcp/rtl_tcp_source_f.h3
3 files changed, 8 insertions, 1 deletions
diff --git a/lib/rtl/rtl_source_c.cc b/lib/rtl/rtl_source_c.cc
index 234faa3..f336885 100644
--- a/lib/rtl/rtl_source_c.cc
+++ b/lib/rtl/rtl_source_c.cc
@@ -464,6 +464,8 @@ osmosdr::freq_range_t rtl_source_c::get_freq_range( size_t chan )
range += osmosdr::range_t( 438e6, 924e6 );
} else if ( tuner == RTLSDR_TUNER_R820T ) {
range += osmosdr::range_t( 24e6, 1766e6 );
+ } else if ( tuner == RTLSDR_TUNER_R828D ) {
+ range += osmosdr::range_t( 24e6, 1766e6 );
}
}
diff --git a/lib/rtl_tcp/rtl_tcp_source_c.cc b/lib/rtl_tcp/rtl_tcp_source_c.cc
index ad95b02..254e799 100644
--- a/lib/rtl_tcp/rtl_tcp_source_c.cc
+++ b/lib/rtl_tcp/rtl_tcp_source_c.cc
@@ -47,6 +47,8 @@ static std::string get_tuner_name( enum rtlsdr_tuner tuner_type )
return "FC2580";
else if ( RTLSDR_TUNER_R820T == tuner_type )
return "R820T";
+ else if ( RTLSDR_TUNER_R828D == tuner_type )
+ return "R828D";
else
return "Unknown";
}
@@ -222,6 +224,8 @@ osmosdr::freq_range_t rtl_tcp_source_c::get_freq_range( size_t chan )
range += osmosdr::range_t( 438e6, 924e6 );
} else if ( tuner == RTLSDR_TUNER_R820T ) {
range += osmosdr::range_t( 24e6, 1766e6 );
+ } else if ( tuner == RTLSDR_TUNER_R828D ) {
+ range += osmosdr::range_t( 24e6, 1766e6 );
} else {
range += osmosdr::range_t( 52e6, 2.2e9 ); // assume E4000 tuner
}
diff --git a/lib/rtl_tcp/rtl_tcp_source_f.h b/lib/rtl_tcp/rtl_tcp_source_f.h
index 0911be5..d1d918c 100644
--- a/lib/rtl_tcp/rtl_tcp_source_f.h
+++ b/lib/rtl_tcp/rtl_tcp_source_f.h
@@ -51,7 +51,8 @@ enum rtlsdr_tuner {
RTLSDR_TUNER_FC0012,
RTLSDR_TUNER_FC0013,
RTLSDR_TUNER_FC2580,
- RTLSDR_TUNER_R820T
+ RTLSDR_TUNER_R820T,
+ RTLSDR_TUNER_R828D
};
class rtl_tcp_source_f;