aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/usrp_e/usrp_e_impl.cpp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-06-03 19:30:00 +0000
committerJosh Blum <josh@joshknows.com>2010-06-03 19:30:00 +0000
commit551426b72672379faa56302eb3d3e19d12c41aec (patch)
treeaad9a722c74b86f42e662ced1abd9b9409fa9868 /host/lib/usrp/usrp_e/usrp_e_impl.cpp
parentf1529463174883f6c830acbfd52cd52ed4755971 (diff)
downloaduhd-551426b72672379faa56302eb3d3e19d12c41aec.tar.gz
uhd-551426b72672379faa56302eb3d3e19d12c41aec.tar.bz2
uhd-551426b72672379faa56302eb3d3e19d12c41aec.zip
work on io impl for usrp-e using read/write
Diffstat (limited to 'host/lib/usrp/usrp_e/usrp_e_impl.cpp')
-rw-r--r--host/lib/usrp/usrp_e/usrp_e_impl.cpp30
1 files changed, 3 insertions, 27 deletions
diff --git a/host/lib/usrp/usrp_e/usrp_e_impl.cpp b/host/lib/usrp/usrp_e/usrp_e_impl.cpp
index 4a398e21c..f9af36887 100644
--- a/host/lib/usrp/usrp_e/usrp_e_impl.cpp
+++ b/host/lib/usrp/usrp_e/usrp_e_impl.cpp
@@ -89,6 +89,9 @@ usrp_e_impl::usrp_e_impl(const std::string &node){
//initialize the dsps
rx_ddc_init();
tx_duc_init();
+
+ //init the io send/recv
+ io_init();
}
usrp_e_impl::~usrp_e_impl(void){
@@ -127,30 +130,3 @@ void usrp_e_impl::get(const wax::obj &key_, wax::obj &val){
void usrp_e_impl::set(const wax::obj &, const wax::obj &){
UHD_THROW_PROP_SET_ERROR();
}
-
-/***********************************************************************
- * Device IO (TODO)
- **********************************************************************/
-size_t usrp_e_impl::send(
- const boost::asio::const_buffer &,
- const uhd::tx_metadata_t &,
- const io_type_t &,
- send_mode_t
-){
- if (true){
- throw std::runtime_error(str(boost::format("usrp-e send: cannot handle type \"%s\"") % ""));
- }
- return 0;
-}
-
-size_t usrp_e_impl::recv(
- const boost::asio::mutable_buffer &,
- uhd::rx_metadata_t &,
- const io_type_t &,
- recv_mode_t
-){
- if (true){
- throw std::runtime_error(str(boost::format("usrp-e recv: cannot handle type \"%s\"") % ""));
- }
- return 0;
-}