aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/usrp2/usrp2_impl.hpp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-02-23 16:27:49 -0800
committerJosh Blum <josh@joshknows.com>2010-02-23 16:27:49 -0800
commit8050fda48d69f46788672a9ceaccd8d82500ac05 (patch)
tree98ba17ea9bd041040da1ec9f0cf85dae014cb1c0 /host/lib/usrp/usrp2/usrp2_impl.hpp
parent6b7c53985c09a8d74e9bfd9c6b37948d458b2c44 (diff)
downloaduhd-8050fda48d69f46788672a9ceaccd8d82500ac05.tar.gz
uhd-8050fda48d69f46788672a9ceaccd8d82500ac05.tar.bz2
uhd-8050fda48d69f46788672a9ceaccd8d82500ac05.zip
Added IF data io handing within the usrp2 impl.
It packs and unpacks vrt headers/metadata. NOT YET TESTED IN ANY WAY...
Diffstat (limited to 'host/lib/usrp/usrp2/usrp2_impl.hpp')
-rw-r--r--host/lib/usrp/usrp2/usrp2_impl.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/host/lib/usrp/usrp2/usrp2_impl.hpp b/host/lib/usrp/usrp2/usrp2_impl.hpp
index 2476bcf1d..9a4c42d42 100644
--- a/host/lib/usrp/usrp2/usrp2_impl.hpp
+++ b/host/lib/usrp/usrp2/usrp2_impl.hpp
@@ -102,6 +102,11 @@ public:
size_t recv(const boost::asio::mutable_buffer &, uhd::metadata_t &, const std::string &);
private:
+ //the raw io interface (samples are in the usrp2 native format)
+ size_t send_raw(const boost::asio::const_buffer &, const uhd::metadata_t &);
+ size_t recv_raw(const boost::asio::mutable_buffer &, uhd::metadata_t &);
+ uhd::dict<uint32_t, size_t> _stream_id_to_packet_seq;
+
//udp transports for control and data
uhd::transport::udp::sptr _ctrl_transport;
uhd::transport::udp::sptr _data_transport;