5#ifndef PICOSCENES_PLATFORM_SOAPYSDRUTILS_HXX
6#define PICOSCENES_PLATFORM_SOAPYSDRUTILS_HXX
10#include <SoapySDR/Device.hpp>
11#include <SoapySDR/Types.hpp>
SoapySDRType
Enum representing different types of SoapySDR devices.
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.
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::optional< std::map< std::string, std::string > > getDeviceInformation(const std::string &deviceName)
Gets information about a specific device.
bool isSoapySDRDeviceName(const std::string &deviceName)
Checks if a given device name is a SoapySDR device name.
const std::vector< std::string > & getPicoScenesDeviceNames4AllSoapySDRDevice()
Gets the names of all PicoScenes devices for SoapySDR.
Struct for identifying SoapySDR devices.
std::string name
The name of the device.
std::string resource
The resource identifier of the device.
std::string typeString
The type of the device as a string.
std::string serialNumber
The serial number of the device.
std::string ipAddress
The IP address of the device.
std::map< std::string, std::string > inverseMap
A map for additional device information.
SoapySDRType type
The type of the device.