aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/common/usrp3_fw_ctrl_iface.hpp
diff options
context:
space:
mode:
authorAshish Chaudhari <ashish@ettus.com>2016-01-12 19:55:53 -0800
committerAshish Chaudhari <ashish@ettus.com>2016-01-13 11:28:52 -0800
commitc959dfa921dc26e6e54a425de7e06a4d746ff4fc (patch)
tree13fbeaa3d412e4941134c1704db5b78b9aaa15fc /host/lib/usrp/common/usrp3_fw_ctrl_iface.hpp
parent04147b2e53b83bb1428280f2eb5fa6e95ed7f5be (diff)
downloaduhd-c959dfa921dc26e6e54a425de7e06a4d746ff4fc.tar.gz
uhd-c959dfa921dc26e6e54a425de7e06a4d746ff4fc.tar.bz2
uhd-c959dfa921dc26e6e54a425de7e06a4d746ff4fc.zip
n230: Multiple usability improvements
- Improved FW/FPGA compat mismatch error messages - Added power-cycle message to loader - Disabled "SW too new for HW" version check - Added retry mechanism in n230_find to allow for ARP updates
Diffstat (limited to 'host/lib/usrp/common/usrp3_fw_ctrl_iface.hpp')
-rw-r--r--host/lib/usrp/common/usrp3_fw_ctrl_iface.hpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/host/lib/usrp/common/usrp3_fw_ctrl_iface.hpp b/host/lib/usrp/common/usrp3_fw_ctrl_iface.hpp
index 3617f3083..33286861b 100644
--- a/host/lib/usrp/common/usrp3_fw_ctrl_iface.hpp
+++ b/host/lib/usrp/common/usrp3_fw_ctrl_iface.hpp
@@ -30,7 +30,8 @@ class usrp3_fw_ctrl_iface : public uhd::wb_iface
public:
usrp3_fw_ctrl_iface(
uhd::transport::udp_simple::sptr udp_xport,
- boost::uint16_t product_id);
+ const boost::uint16_t product_id,
+ const bool verbose);
virtual ~usrp3_fw_ctrl_iface();
// -- uhd::wb_iface --
@@ -40,7 +41,8 @@ public:
static uhd::wb_iface::sptr make(
uhd::transport::udp_simple::sptr udp_xport,
- boost::uint16_t product_id);
+ const boost::uint16_t product_id,
+ const bool verbose = true);
// -- uhd::wb_iface --
static std::vector<std::string> discover_devices(
@@ -56,7 +58,8 @@ private:
boost::uint32_t _peek32(const wb_addr_type addr);
void _flush(void);
- boost::uint16_t _product_id;
+ const boost::uint16_t _product_id;
+ const bool _verbose;
uhd::transport::udp_simple::sptr _udp_xport;
boost::uint32_t _seq_num;
boost::mutex _mutex;