From e2fcb815141b05205ea9334e2db78f9ceffa62c3 Mon Sep 17 00:00:00 2001 From: Nick Foster Date: Thu, 12 Aug 2010 16:27:57 -0700 Subject: Added host-side support for UART messaging. Have not yet added GPS control library. Debug crap in mboard_impl.cpp constructor. --- host/lib/usrp/usrp2/usrp2_iface.hpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'host/lib/usrp/usrp2/usrp2_iface.hpp') diff --git a/host/lib/usrp/usrp2/usrp2_iface.hpp b/host/lib/usrp/usrp2/usrp2_iface.hpp index b9f5f0fb8..522beadfb 100644 --- a/host/lib/usrp/usrp2/usrp2_iface.hpp +++ b/host/lib/usrp/usrp2/usrp2_iface.hpp @@ -104,6 +104,10 @@ public: bool readback ) = 0; + virtual void write_uart(boost::uint8_t dev, const uhd::byte_vector_t &buf) = 0; + + virtual uhd::byte_vector_t read_uart(boost::uint8_t dev, size_t num_bytes) = 0; + /*! * Set the hardware revision number. Also selects the proper register set for the device. * \param rev the 16-bit revision -- cgit v1.2.3