From d60788b6ad5eabd617ba7ae47f1c3dc9706038a8 Mon Sep 17 00:00:00 2001 From: Thomas Kolb Date: Tue, 28 May 2024 20:00:46 +0200 Subject: [PATCH] Config changes known to work with two directly connected HackRFs --- impl/src/config.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/impl/src/config.h b/impl/src/config.h index 59df874..d72ac55 100644 --- a/impl/src/config.h +++ b/impl/src/config.h @@ -43,18 +43,18 @@ // actually transmitted or received signal frequencies, NOT the SDR center frequency. #define SDR_TX_FREQ 434.100e6f -#define SDR_RX_FREQ 434.115e6f +#define SDR_RX_FREQ 434.100e6f // shift applied in the baseband, to get rid of SDR DC peak. If the value here // is not 0, software mixing will be done on the received signal. -#define SDR_TX_IF_SHIFT 0.000e6f +#define SDR_TX_IF_SHIFT 0.150e6f #define SDR_RX_IF_SHIFT 0.150e6f // NOTE: the SDR center frequency will be SDR_RX_FREQ - SDR_RX_IF_SHIFT. // gain configuration #define SDR_GAIN_TX_AMP 0.0f // extra power amplifier. Set to 14.0f to activate. -#define SDR_GAIN_TX_VGA 0.0f // normal variable gain amplifier. +#define SDR_GAIN_TX_VGA 16.0f // normal variable gain amplifier. #define SDR_GAIN_RX_AMP 0.0f // extra input amplifier. Set to 14.0f to activate. #define SDR_GAIN_RX_LNA 30.0f // RF variable gain amplifier.