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

21 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 63348eeee1 Make device title editable in the basic device settings. Fixes #2292 2026-01-28 03:05:39 +01:00
f4exb b6c4d10b62 Rewriting of copyright notices for plugins/samplesource. Part of #1893 2023-11-18 10:07:41 +01:00
f4exb 94a465b210 PlutoSDR input: Make settings assignments atomic. Part of #1329 2022-10-24 00:57:41 +02:00
f4exb e6e7ece46c Removed file recording function from device plugins 2020-08-09 00:47:06 +02:00
f4exb cc5d614f67 IQ swap: initial implementation in plugins 2020-06-23 19:29:58 +02:00
f4exb 1255784b7f PlutoSDR input: implement control of hardware DC and IQ corrections 2019-07-25 13:57:24 +02:00
f4exb 4bb0f4f51a Fixed incomplete copyright headers (2): plugins/samplesource 2019-04-11 06:57:41 +02:00
f4exb fc3f6d1711 Reverse API: PlutoSDR input 2018-12-26 16:39:48 +01:00
f4exb 775b2a270d File record default file name fix (2) 2018-05-09 17:39:48 +02:00
f4exb 324aaa86b6 Plugins: cppcheck corrections 2017-12-29 03:22:04 +01:00
f4exb 24413bfb7d PlutoSDR input: implemented transverter feature 2017-09-24 13:03:08 +02:00
f4exb f38e7704ad PlutoSDR input: debug (2) 2017-09-09 10:44:42 +02:00
f4exb aa047c77cc PluoSDR: debug (1) 2017-09-09 03:09:17 +02:00
f4exb 868cac90f0 PlutoSDR input: implemented the rest of apply settings 2017-09-07 23:27:24 +02:00
f4exb 11b657a841 PlutoSDR: set FIR filter (2) 2017-09-07 18:41:55 +02:00
f4exb 5a05cf14bb PlutoSDR input: implemented input class interim state (2) 2017-09-07 06:15:39 +02:00
f4exb 7b437e41ba PlutoSDR input: implemented input class interim state (1) 2017-09-06 18:48:58 +02:00
f4exb 1261ab2bc0 PlutoSDR input: completed settings 2017-09-04 17:52:54 +02:00
f4exb 75a6040f40 PlutoSDRInput: added rudimentary core class 2017-09-04 13:32:31 +02:00
f4exb f0de558fd9 PlutoSDR: very basic PlutoSDR input plugin 2017-09-02 05:39:55 +02:00