1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-07-25 19:44:12 -04:00
Commit Graph

12 Commits

Author SHA1 Message Date
Robin Getz 72d612d986 plutosdr: Update RX gain limits dynamically from hardware
Query the PlutoSDR hardware for the current RX gain range and use it
to configure the GUI gain control dynamically.

The AD936x gain limits vary with LO frequency. Previously the GUI used
a fixed gain range, allowing users to select values that the hardware
would reject after changing bands. The gain slider now refreshes its
minimum, maximum, and step size whenever the device center frequency is
updated.

Also change the gain setting serialization to use a signed integer so
negative gain values are preserved for operating modes that support
them.

Changes include:
- Add DevicePlutoSDRBox::getGainRange() to read
  in_voltage0_hardwaregain_available.
- Expose gain range through PlutoSDRInput.
- Refresh GUI gain limits when the device frequency changes.
- Avoid unnecessary widget updates when limits are unchanged.
- Store/restore gain as a signed value.
- Add default RX gain limit constants for fallback when the device
  cannot provide its range.

Signed-off-by: Robin Getz <rgetz503@gmail.com>
2026-07-19 17:48:53 -04:00
f4exb b120f9cb01 Rewriting of copyright notices for all but plugins (done), sdrbase, sdrgui. Part of #1893 2023-11-19 13:43:10 +01:00
f4exb ef15157a50 Fixed incomplete copyright headers (1) 2019-04-11 06:39:30 +02:00
f4exb b5a7425f1e PlutoSDR: some minor changes to pull request #269 (Get LO range from device) and get Tx LO range also from device 2019-01-04 11:23:54 +01:00
f4exb f30b049546 PlutoSDR: FIR filter calculation: allow normalized BW down to 0.05 and use Hamming window below 0.2 2017-09-12 18:49:12 +02:00
f4exb a088f2d30e PlutoSDR input: set FIR bandwidth limits and sample rate limits dynamically 2017-09-10 19:37:23 +02:00
f4exb 04d06085fe PlutoSDR: debug (3) 2017-09-10 10:16:23 +02:00
f4exb ceb304cb9f Downgraded to version 3.6.2 2017-09-09 15:34:04 +02:00
f4exb aa047c77cc PluoSDR: debug (1) 2017-09-09 03:09:17 +02:00
f4exb a24236a300 LimeSDR input: GUI fixes 2017-09-05 23:51:03 +02:00
f4exb b411ba5420 PlutoSDR input: use constants for frequency limits 2017-09-05 14:11:25 +02:00
f4exb a8b318de62 PlutoSDR: added PlutoSDR common device classes 2017-09-02 04:35:17 +02:00