35 lines
588 B
C++
35 lines
588 B
C++
#include "libusbwrap/UsbDevice.hpp"
|
|
|
|
#include "libusbwrap/interface/IUsbDevice.hpp"
|
|
|
|
namespace libusbwrap {
|
|
UsbDevice::UsbDevice() {}
|
|
|
|
UsbDevice::~UsbDevice() {}
|
|
|
|
Error UsbDevice::open() {
|
|
return Error::SUCCESS;
|
|
}
|
|
|
|
void UsbDevice::close() {}
|
|
|
|
const uint16_t UsbDevice::getVid() {
|
|
return 0x0000;
|
|
}
|
|
|
|
const uint16_t UsbDevice::getPid() {
|
|
return 0x0000;
|
|
}
|
|
|
|
const device::Speed UsbDevice::getSpeed() {
|
|
return device::Speed::FULL;
|
|
}
|
|
|
|
const uint8_t UsbDevice::getBusNumber() {
|
|
return 0;
|
|
}
|
|
|
|
const uint8_t UsbDevice::getPortNumber() {
|
|
return 0;
|
|
}
|
|
} // namespace libusbwrap
|