// // main.swift // PrySDR // // Created by Jacky Jack on 20/10/2024. // import Foundation import ArgumentParser import libr820 import libairspy import libairspyhf import libbladerf print("PrySDR") print("We will start soon on exploring things \(software_version)") print("Detect RtlSdr") let countRtlSdr = getDeviceCount() print("Found \(countRtlSdr) r820 devices") print("Detect AirSpy") print("Detect AirSpyHF") let countAirSpyHF = airspyhf_list_devices(nil, 0) print("Found \(countAirSpyHF) AirSpyHF devices") if countAirSpyHF < 0 { exit(0) } print("Detect BladeRF")