summaryrefslogtreecommitdiff
path: root/Radio/HW/AirSpy
diff options
context:
space:
mode:
authorArturs Artamonovs <arturs.artamonovs@protonmail.com>2024-11-03 15:56:55 +0000
committerArturs Artamonovs <arturs.artamonovs@protonmail.com>2024-11-03 15:56:55 +0000
commitcf4444e7390365df43ecbd3d130015c1e06ef88f (patch)
tree8a6eb114135a04d5efd5af213577b4fac47532ae /Radio/HW/AirSpy
parentca50c0f64f1b2fce46b4cb83ed111854bac13852 (diff)
downloadPrySDR-cf4444e7390365df43ecbd3d130015c1e06ef88f.tar.gz
PrySDR-cf4444e7390365df43ecbd3d130015c1e06ef88f.zip
BladeRF library compiles
Diffstat (limited to 'Radio/HW/AirSpy')
-rw-r--r--Radio/HW/AirSpy/AirSpy.swift5
-rw-r--r--Radio/HW/AirSpy/src/libairspy-Bridging-Header.h5
-rw-r--r--Radio/HW/AirSpy/src/test.swift9
3 files changed, 18 insertions, 1 deletions
diff --git a/Radio/HW/AirSpy/AirSpy.swift b/Radio/HW/AirSpy/AirSpy.swift
index 1db0cd6..5b1b109 100644
--- a/Radio/HW/AirSpy/AirSpy.swift
+++ b/Radio/HW/AirSpy/AirSpy.swift
@@ -4,8 +4,11 @@
//
// Created by Jacky Jack on 25/10/2024.
//
+import libairspy
/// Wrapper for libairspy library
class AirSpy {
-
+ init() {
+ airspy_init()
+ }
}
diff --git a/Radio/HW/AirSpy/src/libairspy-Bridging-Header.h b/Radio/HW/AirSpy/src/libairspy-Bridging-Header.h
new file mode 100644
index 0000000..7c8b17a
--- /dev/null
+++ b/Radio/HW/AirSpy/src/libairspy-Bridging-Header.h
@@ -0,0 +1,5 @@
+//
+// Use this file to import your target's public headers that you would like to expose to Swift.
+//
+
+#include "./airspy.h"
diff --git a/Radio/HW/AirSpy/src/test.swift b/Radio/HW/AirSpy/src/test.swift
new file mode 100644
index 0000000..b839902
--- /dev/null
+++ b/Radio/HW/AirSpy/src/test.swift
@@ -0,0 +1,9 @@
+//
+// test.swift
+// PrySDR
+//
+// Created by Jacky Jack on 01/11/2024.
+//
+
+import Foundation
+