summaryrefslogtreecommitdiff
path: root/Radio/Utils/TestBladeRF
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/Utils/TestBladeRF
parentca50c0f64f1b2fce46b4cb83ed111854bac13852 (diff)
downloadPrySDR-cf4444e7390365df43ecbd3d130015c1e06ef88f.tar.gz
PrySDR-cf4444e7390365df43ecbd3d130015c1e06ef88f.zip
BladeRF library compiles
Diffstat (limited to 'Radio/Utils/TestBladeRF')
-rw-r--r--Radio/Utils/TestBladeRF/main.swift17
1 files changed, 17 insertions, 0 deletions
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)")
+
+