summaryrefslogtreecommitdiff
path: root/Radio/Utils/AirSpyIQ/main.swift
diff options
context:
space:
mode:
authorArturs Artamonovs <arturs.artamonovs@protonmail.com>2024-12-22 09:45:59 +0000
committerArturs Artamonovs <arturs.artamonovs@protonmail.com>2024-12-22 09:45:59 +0000
commitb999f85d83728bd7034e85f2e038bb9a6454b16a (patch)
tree9a680554c7b89dc3f939b8082bee1eb0ccf7ebee /Radio/Utils/AirSpyIQ/main.swift
parent4a489b2f306c179e303567908a26e7e79ef5c0dd (diff)
downloadPrySDR-b999f85d83728bd7034e85f2e038bb9a6454b16a.tar.gz
PrySDR-b999f85d83728bd7034e85f2e038bb9a6454b16a.zip
BladeRF: seems to receive datamain
Diffstat (limited to 'Radio/Utils/AirSpyIQ/main.swift')
-rw-r--r--Radio/Utils/AirSpyIQ/main.swift2
1 files changed, 2 insertions, 0 deletions
diff --git a/Radio/Utils/AirSpyIQ/main.swift b/Radio/Utils/AirSpyIQ/main.swift
index a643d5f..5cfb048 100644
--- a/Radio/Utils/AirSpyIQ/main.swift
+++ b/Radio/Utils/AirSpyIQ/main.swift
@@ -111,7 +111,9 @@ func rf_callback(_ transffer: UnsafeMutablePointer<airspy_transfer_t>?) -> Int32
}
let _ = device?.VGAGain(5)
+
let _ = device?.mixerGain(5)
+
let _ = device?.lnaGain(1)
let _ = device?.startRx(rf_callback)