Functions | |
bool | isSoapySDRDeviceName (const std::string &deviceName) |
Checks if a given device name is a SoapySDR device name. | |
const std::vector< std::map< std::string, std::string > > & | findAllSoapySDRCompatibleDevices () |
Finds all compatible SoapySDR devices. | |
const std::map< std::string, std::map< std::string, std::string > > & | soapySDRDeviceNamingMap () |
Gets a map of SoapySDR device names to their information. | |
const std::vector< std::string > & | getPicoScenesDeviceNames4AllSoapySDRDevice () |
Gets the names of all PicoScenes devices for SoapySDR. | |
std::optional< std::map< std::string, std::string > > | getDeviceInformation (const std::string &deviceName) |
Gets information about a specific device. | |
std::optional< std::array< uint8_t, 6 > > | resolveMACAddress (const std::string &deviceName) |
Resolves the MAC address of a device. | |
std::string | determineTransferType (const SoapySDR::Device *sdr) |
Determines the transfer type for a given SoapySDR device. | |
std::string SoapySDRUtils::determineTransferType | ( | const SoapySDR::Device * | sdr | ) |
Determines the transfer type for a given SoapySDR device.
sdr | A pointer to the SoapySDR device. |
std::runtime_error | if the transfer types for Tx and Rx are different. |
const std::vector< std::map< std::string, std::string > > & SoapySDRUtils::findAllSoapySDRCompatibleDevices | ( | ) |
Finds all compatible SoapySDR devices.
std::optional< std::map< std::string, std::string > > SoapySDRUtils::getDeviceInformation | ( | const std::string & | deviceName | ) |
Gets information about a specific device.
deviceName | The name of the device. |
const std::vector< std::string > & SoapySDRUtils::getPicoScenesDeviceNames4AllSoapySDRDevice | ( | ) |
Gets the names of all PicoScenes devices for SoapySDR.
bool SoapySDRUtils::isSoapySDRDeviceName | ( | const std::string & | deviceName | ) |
Checks if a given device name is a SoapySDR device name.
deviceName | The name of the device to check. |
std::optional< std::array< uint8_t, 6 > > SoapySDRUtils::resolveMACAddress | ( | const std::string & | deviceName | ) |
Resolves the MAC address of a device.
deviceName | The name of the device. |
const std::map< std::string, std::map< std::string, std::string > > & SoapySDRUtils::soapySDRDeviceNamingMap | ( | ) |
Gets a map of SoapySDR device names to their information.