Closed alessandrolucco closed 2 years ago
For means of completion. In RC 1.2.0 AGC can be enabled via _use_agc
boolean flag in SdrReader.h
We should add this as a config parameter, assigning this to myself
Implemented in #34 closing this issue. Please let me know in case you run into any issues.
Describe the bug We have noticed that using the BaldeRF SDR, the AGC is disabled when the modem process is started. We cannot understand if it is a bug or if it is used for other SDRs. We tried to enable it changing false to true in the following line: https://github.com/5G-MAG/rt-mbms-modem/blob/b42aea935be136325f7798e94fa959269705d8c7/src/SdrReader.cpp#L152 Recompiling the code we see that the SDR card adjusts the gain following the input level
To Reproduce Steps to reproduce the behavior:
Desktop:
Additional context We noticed that this feature is only available on BladeRF. We tested the same code (with the modified instruction) on the HackRF board: the gain remains fixed, but the process works correctly.