source/sink: rename antennas to express their function

gr3.6
Dimitri Stolnikov 10 years ago
parent 13477f279f
commit a0c50c2df1
  1. 2
      lib/fcd/fcd_source.cc
  2. 8
      lib/file/file_source_c.cc
  3. 2
      lib/hackrf/hackrf_sink_c.cc
  4. 2
      lib/hackrf/hackrf_source_c.cc
  5. 2
      lib/miri/miri_source_c.cc
  6. 2
      lib/osmosdr/osmosdr_src_c.cc
  7. 2
      lib/rtl/rtl_source_c.cc
  8. 2
      lib/rtl_tcp/rtl_tcp_source_c.cc

@ -241,5 +241,5 @@ std::string fcd_source::set_antenna( const std::string & antenna, size_t chan )
std::string fcd_source::get_antenna( size_t chan )
{
return "ANT";
return "RX";
}

@ -200,11 +200,7 @@ double file_source_c::get_gain( const std::string & name, size_t chan )
std::vector< std::string > file_source_c::get_antennas( size_t chan )
{
std::vector< std::string > antennas;
antennas += get_antenna(chan);
return antennas;
return std::vector< std::string >();
}
std::string file_source_c::set_antenna( const std::string & antenna, size_t chan )
@ -214,5 +210,5 @@ std::string file_source_c::set_antenna( const std::string & antenna, size_t chan
std::string file_source_c::get_antenna( size_t chan )
{
return "ANT";
return "";
}

@ -665,7 +665,7 @@ std::string hackrf_sink_c::set_antenna( const std::string & antenna, size_t chan
std::string hackrf_sink_c::get_antenna( size_t chan )
{
return "ANT";
return "TX/RX";
}
double hackrf_sink_c::set_bandwidth( double bandwidth, size_t chan )

@ -643,7 +643,7 @@ std::string hackrf_source_c::set_antenna( const std::string & antenna, size_t ch
std::string hackrf_source_c::get_antenna( size_t chan )
{
return "ANT";
return "TX/RX";
}
double hackrf_source_c::set_bandwidth( double bandwidth, size_t chan )

@ -448,5 +448,5 @@ std::string miri_source_c::set_antenna( const std::string & antenna, size_t chan
std::string miri_source_c::get_antenna( size_t chan )
{
return "ANT";
return "RX";
}

@ -543,5 +543,5 @@ std::string osmosdr_src_c::set_antenna( const std::string & antenna, size_t chan
std::string osmosdr_src_c::get_antenna( size_t chan )
{
return "ANT";
return "RX";
}

@ -682,5 +682,5 @@ std::string rtl_source_c::set_antenna( const std::string & antenna, size_t chan
std::string rtl_source_c::get_antenna( size_t chan )
{
return "ANT";
return "RX";
}

@ -461,5 +461,5 @@ std::string rtl_tcp_source_c::set_antenna( const std::string & antenna, size_t c
std::string rtl_tcp_source_c::get_antenna( size_t chan )
{
return "ANT";
return "RX";
}

Loading…
Cancel
Save