diff options
author | Arturs Artamonovs <arturs.artamonovs@protonmail.com> | 2025-02-03 22:31:45 +0000 |
---|---|---|
committer | Arturs Artamonovs <arturs.artamonovs@protonmail.com> | 2025-02-03 22:31:45 +0000 |
commit | 972a6d3e4d3b684fbadeb5cd046a8634ec24eb8c (patch) | |
tree | e96c4ce2d649558cc0b7b452d7a64fbe980b65c0 /PrySDR/main.swift | |
parent | 1e096e55ca30dc80c3faa8d1ea36de13bc90cc6a (diff) | |
download | PrySDR-972a6d3e4d3b684fbadeb5cd046a8634ec24eb8c.tar.gz PrySDR-972a6d3e4d3b684fbadeb5cd046a8634ec24eb8c.zip |
iqconvert: converts from u8 to f32 without issuesmain
Diffstat (limited to 'PrySDR/main.swift')
-rw-r--r-- | PrySDR/main.swift | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/PrySDR/main.swift b/PrySDR/main.swift index 74f3f67..c3b70d6 100644 --- a/PrySDR/main.swift +++ b/PrySDR/main.swift @@ -15,3 +15,17 @@ 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") |