From cf4444e7390365df43ecbd3d130015c1e06ef88f Mon Sep 17 00:00:00 2001 From: Arturs Artamonovs Date: Sun, 3 Nov 2024 15:56:55 +0000 Subject: BladeRF library compiles --- Radio/HW/AirSpyHF/AirSpyHF.swift | 6 +++++- Radio/HW/AirSpyHF/src/libairspyhf-Bridging-Header.h | 5 +++++ Radio/HW/AirSpyHF/src/test.swift | 10 ++++++++++ 3 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 Radio/HW/AirSpyHF/src/libairspyhf-Bridging-Header.h create mode 100644 Radio/HW/AirSpyHF/src/test.swift (limited to 'Radio/HW/AirSpyHF') diff --git a/Radio/HW/AirSpyHF/AirSpyHF.swift b/Radio/HW/AirSpyHF/AirSpyHF.swift index e399d24..3affcff 100644 --- a/Radio/HW/AirSpyHF/AirSpyHF.swift +++ b/Radio/HW/AirSpyHF/AirSpyHF.swift @@ -5,7 +5,11 @@ // Created by Jacky Jack on 25/10/2024. // +import libairspyhf + /// Wrapper for libairspyhf library class AirSpyHF { - + init() { + //airspyhf_ + } } diff --git a/Radio/HW/AirSpyHF/src/libairspyhf-Bridging-Header.h b/Radio/HW/AirSpyHF/src/libairspyhf-Bridging-Header.h new file mode 100644 index 0000000..d3fdf9e --- /dev/null +++ b/Radio/HW/AirSpyHF/src/libairspyhf-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 "./airspyhf.h" diff --git a/Radio/HW/AirSpyHF/src/test.swift b/Radio/HW/AirSpyHF/src/test.swift new file mode 100644 index 0000000..56d1a45 --- /dev/null +++ b/Radio/HW/AirSpyHF/src/test.swift @@ -0,0 +1,10 @@ +// +// test.swift +// PrySDR +// +// Created by Jacky Jack on 01/11/2024. +// + +import Foundation + + -- cgit v1.2.3