summaryrefslogtreecommitdiff
path: root/Radio/Utils
diff options
context:
space:
mode:
Diffstat (limited to 'Radio/Utils')
-rw-r--r--Radio/Utils/TestAirSpy.swift7
-rw-r--r--Radio/Utils/TestAirSpyHF.swift7
-rw-r--r--Radio/Utils/TestBladeRF.swift7
-rw-r--r--Radio/Utils/TestRtlSdr/main.swift16
4 files changed, 37 insertions, 0 deletions
diff --git a/Radio/Utils/TestAirSpy.swift b/Radio/Utils/TestAirSpy.swift
new file mode 100644
index 0000000..2a60862
--- /dev/null
+++ b/Radio/Utils/TestAirSpy.swift
@@ -0,0 +1,7 @@
+//
+// TestAirSpy.swift
+// PrySDR
+//
+// Created by Jacky Jack on 25/10/2024.
+//
+
diff --git a/Radio/Utils/TestAirSpyHF.swift b/Radio/Utils/TestAirSpyHF.swift
new file mode 100644
index 0000000..86d093c
--- /dev/null
+++ b/Radio/Utils/TestAirSpyHF.swift
@@ -0,0 +1,7 @@
+//
+// TestAirSpyHF.swift
+// PrySDR
+//
+// Created by Jacky Jack on 25/10/2024.
+//
+
diff --git a/Radio/Utils/TestBladeRF.swift b/Radio/Utils/TestBladeRF.swift
new file mode 100644
index 0000000..b71b5b0
--- /dev/null
+++ b/Radio/Utils/TestBladeRF.swift
@@ -0,0 +1,7 @@
+//
+// TestBladeRF.swift
+// PrySDR
+//
+// Created by Jacky Jack on 25/10/2024.
+//
+
diff --git a/Radio/Utils/TestRtlSdr/main.swift b/Radio/Utils/TestRtlSdr/main.swift
new file mode 100644
index 0000000..86a66ee
--- /dev/null
+++ b/Radio/Utils/TestRtlSdr/main.swift
@@ -0,0 +1,16 @@
+//
+// main.swift
+// TestRtlSdr
+//
+// Created by Jacky Jack on 01/11/2024.
+//
+
+import Foundation
+import libr820
+
+
+let rtldev = R820Tuner()
+let count = rtldev.getDeviceCount()
+rtldev.open(index: 0)
+rtldev.close()
+