2010-10-04 23:34:24 +00:00
|
|
|
//
|
2011-02-25 00:35:29 +00:00
|
|
|
// Copyright 2010-2011 Ettus Research LLC
|
2010-10-04 23:34:24 +00:00
|
|
|
//
|
|
|
|
|
// This program is free software: you can redistribute it and/or modify
|
|
|
|
|
// it under the terms of the GNU General Public License as published by
|
|
|
|
|
// the Free Software Foundation, either version 3 of the License, or
|
|
|
|
|
// (at your option) any later version.
|
|
|
|
|
//
|
|
|
|
|
// This program is distributed in the hope that it will be useful,
|
|
|
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
|
// GNU General Public License for more details.
|
|
|
|
|
//
|
|
|
|
|
// You should have received a copy of the GNU General Public License
|
|
|
|
|
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
//
|
|
|
|
|
|
|
|
|
|
#include <uhd/transport/usb_device_handle.hpp>
|
|
|
|
|
#include <uhd/transport/usb_control.hpp>
|
|
|
|
|
#include <uhd/transport/usb_zero_copy.hpp>
|
2011-02-24 22:18:52 +00:00
|
|
|
#include <uhd/exception.hpp>
|
2010-10-04 23:34:24 +00:00
|
|
|
|
2010-10-05 17:30:28 +00:00
|
|
|
using namespace uhd;
|
2010-10-04 23:34:24 +00:00
|
|
|
using namespace uhd::transport;
|
|
|
|
|
|
|
|
|
|
std::vector<usb_device_handle::sptr> usb_device_handle::get_device_list(boost::uint16_t, boost::uint16_t){
|
|
|
|
|
return std::vector<usb_device_handle::sptr>(); //empty list
|
|
|
|
|
}
|
|
|
|
|
|
2011-09-19 23:14:12 +00:00
|
|
|
usb_control::sptr usb_control::make(usb_device_handle::sptr, const size_t){
|
2011-02-25 00:35:29 +00:00
|
|
|
throw uhd::not_implemented_error("no usb support -> usb_control::make not implemented");
|
2010-10-04 23:34:24 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
usb_zero_copy::sptr usb_zero_copy::make(
|
2011-09-19 23:14:12 +00:00
|
|
|
usb_device_handle::sptr, const size_t, const size_t, const size_t, const size_t, const device_addr_t &
|
2010-10-04 23:34:24 +00:00
|
|
|
){
|
2011-02-25 00:35:29 +00:00
|
|
|
throw uhd::not_implemented_error("no usb support -> usb_zero_copy::make not implemented");
|
2010-10-04 23:34:24 +00:00
|
|
|
}
|