diff options
Diffstat (limited to 'Radio/Utils/TestBladeRF')
-rw-r--r-- | Radio/Utils/TestBladeRF/main.swift | 17 |
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)") + + |