#pragma once #include #include namespace backend { struct DevVIDPID { uint16_t vid; uint16_t pid; }; extern const std::vector AIRSPY_VIDPIDS; extern const std::vector AIRSPYHF_VIDPIDS; extern const std::vector HACKRF_VIDPIDS; extern const std::vector RTL_SDR_VIDPIDS; int getDeviceFD(int& vid, int& pid, const std::vector& allowedVidPids); }