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/TestBladeRF/main.swift | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Radio/Utils/TestBladeRF/main.swift (limited to 'Radio/Utils/TestBladeRF') diff --git a/Radio/Utils/TestBladeRF/main.swift b/Radio/Utils/TestBladeRF/main.swift new file mode 100644 index 0000000..f728832 --- /dev/null +++ b/Radio/Utils/TestBladeRF/main.swift @@ -0,0 +1,17 @@ +// +// main.swift +// TestBladeRF +// +// Created by Jacky Jack on 01/11/2024. +// + +import Foundation +import libbladerf + +print("Hello, World!") + +var version:bladerf_version = bladerf_version() +bladerf_version(&version) +print("BladeRF version: \(version.major) \(version.minor) \(version.patch) \(version.describe)") + + -- cgit v1.2.3