mirror of
https://github.com/davidgiven/fluxengine.git
synced 2025-10-31 11:17:01 -07:00
19 lines
315 B
C++
19 lines
315 B
C++
#ifndef USBSERIAL_H
|
|
#define USBSERIAL_H
|
|
|
|
#include "libusbp_config.h"
|
|
#include "libusbp.hpp"
|
|
|
|
struct CandidateDevice
|
|
{
|
|
libusbp::device device;
|
|
uint32_t id;
|
|
std::string serial;
|
|
std::string serialPort;
|
|
};
|
|
|
|
extern std::vector<std::unique_ptr<CandidateDevice>> findUsbDevices(const std::set<uint32_t>& id);
|
|
|
|
#endif
|
|
|