diff options
| -rw-r--r-- | host/docs/dboards.rst | 9 | ||||
| -rw-r--r-- | host/examples/test_async_messages.cpp | 8 | ||||
| -rw-r--r-- | host/lib/usrp/dboard/db_tvrx.cpp | 6 | 
3 files changed, 15 insertions, 8 deletions
diff --git a/host/docs/dboards.rst b/host/docs/dboards.rst index 738a0696d..4ad724c82 100644 --- a/host/docs/dboards.rst +++ b/host/docs/dboards.rst @@ -107,6 +107,15 @@ Transmit Gains: **PGA0**, Range: 0-25dB  Recieve Gains: **PGA0**, Range: 0-31.5dB +^^^^^^^^^^^^^^^^^^^^^^^^^^^ +TVRX +^^^^^^^^^^^^^^^^^^^^^^^^^^^ +Receive Antennas: RX + +Receive Gains: + * **RF**, Range: -13.3-50.3dB (frequency-dependent) + * **IF**, Range: -1.5-32.5dB +  ------------------------------------------------------------------------  Daughterboard Modifications  ------------------------------------------------------------------------ diff --git a/host/examples/test_async_messages.cpp b/host/examples/test_async_messages.cpp index 0a5c076ea..e4a996ef5 100644 --- a/host/examples/test_async_messages.cpp +++ b/host/examples/test_async_messages.cpp @@ -26,8 +26,6 @@  namespace po = boost::program_options; -static const size_t async_to_ms = 100; -  /*!   * Test that no messages are received:   *    Send a burst of many samples that will fragment internally. @@ -52,7 +50,7 @@ void test_no_async_message(uhd::usrp::single_usrp::sptr sdev){      );      uhd::async_metadata_t async_md; -    if (dev->recv_async_msg(async_md, async_to_ms)){ +    if (dev->recv_async_msg(async_md)){          std::cout << boost::format(              "failed:\n"              "    Got unexpected event code 0x%x.\n" @@ -88,7 +86,7 @@ void test_underflow_message(uhd::usrp::single_usrp::sptr sdev){      );      uhd::async_metadata_t async_md; -    if (not dev->recv_async_msg(async_md, async_to_ms)){ +    if (not dev->recv_async_msg(async_md)){          std::cout << boost::format(              "failed:\n"              "    Async message recv timed out.\n" @@ -135,7 +133,7 @@ void test_time_error_message(uhd::usrp::single_usrp::sptr sdev){      );      uhd::async_metadata_t async_md; -    if (not dev->recv_async_msg(async_md, async_to_ms)){ +    if (not dev->recv_async_msg(async_md)){          std::cout << boost::format(              "failed:\n"              "    Async message recv timed out.\n" diff --git a/host/lib/usrp/dboard/db_tvrx.cpp b/host/lib/usrp/dboard/db_tvrx.cpp index b1fc2ea76..10be8d1c3 100644 --- a/host/lib/usrp/dboard/db_tvrx.cpp +++ b/host/lib/usrp/dboard/db_tvrx.cpp @@ -58,7 +58,7 @@ static const bool tvrx_debug = false;  static const freq_range_t tvrx_freq_range(50e6, 860e6); -static const prop_names_t tvrx_antennas = list_of(""); //only got one +static const prop_names_t tvrx_antennas = list_of("RX");  static const uhd::dict<std::string, freq_range_t> tvrx_freq_ranges = map_list_of      ("VHFLO", freq_range_t(50e6, 158e6)) @@ -73,7 +73,7 @@ static const boost::array<double, 17> vhflo_gains_db =       50.30000, 50.30000}};  static const boost::array<double, 17> vhfhi_gains_db = -    {{13.3000,  -13.3000,  -13.3000,   -1.0000,    7.7000, +    {{-13.3000,  -13.3000,  -13.3000,   -1.0000,    7.7000,      11.0000,   14.7000,   19.3000,   26.1000,   36.0000,      42.7000,   46.0000,   47.0000,   47.8000,   48.2000,      48.2000,   48.2000}}; @@ -436,7 +436,7 @@ void tvrx::rx_get(const wax::obj &key_, wax::obj &val){          return;      case SUBDEV_PROP_ANTENNA: -        val = std::string(""); +        val = tvrx_antennas.front(); //there's only one          return;      case SUBDEV_PROP_ANTENNA_NAMES:  | 
