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/Utils/TestAirSpyHF/main.swift | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Radio/Utils/TestAirSpyHF/main.swift (limited to 'Radio/Utils/TestAirSpyHF/main.swift') diff --git a/Radio/Utils/TestAirSpyHF/main.swift b/Radio/Utils/TestAirSpyHF/main.swift new file mode 100644 index 0000000..24a74f8 --- /dev/null +++ b/Radio/Utils/TestAirSpyHF/main.swift @@ -0,0 +1,15 @@ +// +// main.swift +// TestAirSpyHF +// +// Created by Jacky Jack on 01/11/2024. +// + +import Foundation +import libairspyhf + +print("Hello, World!") +var libersion:airspyhf_lib_version_t = airspyhf_lib_version_t() + +airspyhf_lib_version(&libersion) +print("\(libersion.major_version)") -- cgit v1.2.3