Commit Graph

78 Commits

Author SHA1 Message Date
Daniele Forsi 8c3f7e3775 Remove unused includes and use more direct includes 2024-04-11 23:31:34 +02: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
Andreas Baulig 94ab1bb438
Use shared_ptr to keep track of DeviceScan across multiple collections
Fixes #681.

Relying on memory allocated by `std::vector` via direct pointers is dangerous,
as vectors may move buffers during resize. This fix puts the `DeviceScan`
allocation into a `str::shared_ptr`, which 1) allocates the memory on heap and
2) keeps track of the memory through reference counting. Thus it is safe to
store the `shared_ptr` across different vectors/maps.
2021-05-30 09:34:46 +00:00
f4exb 94d037aa16 PlutoSDR MIMO: fixed MO thread and att setting in GUI 2021-05-04 17:01:48 +02:00
f4exb 38d2a19338 PlutoSDR MIMO: recognize user defined MIMO devices 2021-05-04 17:01:48 +02:00
f4exb 672c0b8a5b PlutoSDR MIMO: base implementation 2021-05-04 17:01:48 +02:00
f4exb 54222ff016 PlutoSDRBox: use channels registered at contruction time 2021-05-04 17:01:47 +02:00
Christoph Berg 0d6a3a4f47 Fix some typos spotted by lintian 2021-01-19 12:36:56 +01:00
f4exb 41f0fec4f6 sdrbase cmake: restored Boost_INCLUDE_DIRS 2020-11-05 20:41:33 +01:00
Kacper Michajłow 70434765d7 Add support for VS2019 and Ninja
- Specify byproducts in external projects
- Use external Boost
- Remove hacky Qt detection
- Fix CRT mismatch in external projects (fixes SoapySDR on Windows)
- Minor fixes
2020-11-04 10:40:17 +01:00
f4exb 0c04560b3c
Merge pull request #605 from ubfx/plutosdr_iq_sampling
Fix libiio channel handling for IQ sampling with plutosdr
2020-08-19 13:13:45 +02:00
Felix Schneider c4ccb59e95 Clean up iq sampling fix 2020-08-19 10:02:50 +02:00
Felix Schneider 7848b01987 Open both I and Q channels on plutosdr and change the inputthread accordingly 2020-08-19 09:11:20 +02:00
f4exb 843c67a5b0 PlutoSDR: emit critical log message if context cannot be created 2020-08-17 13:58:26 +02:00
f4exb e79e11546c PlutoSDR: fixed handling of open device status. Fixes issue #510 2020-05-20 11:23:51 +02:00
Sergei I. Korolev d9ea8d4abc Added more flexible build options 2020-05-02 17:57:00 +03:00
f4exb d0858f21fb Added possibility to specify devices that cannot be discovered automatically. This implements #445 2019-12-16 01:03:47 +01:00
f4exb 3b74153ec6 SampleSourceFifo refactoring and Tx code reorganization 2019-11-15 01:05:32 +01:00
f4exb ee3313dc82 Plugins device enumeration optimization: factorization of common code for Rx/Tx devices 2019-10-09 07:39:52 +02:00
f4exb 1255784b7f PlutoSDR input: implement control of hardware DC and IQ corrections 2019-07-25 13:57:24 +02:00
f4exb 4e1bee09e3 Build: MSVC build introduction 2019-06-24 18:25:53 +02:00
f4exb 8a5ffe6b1f Build: Linux: added libiio external library 2019-06-02 23:55:59 +02:00
Davide Gerhard 94d03f9004
remove useless CMAKE_CURRENT_BINARY_DIR 2019-05-21 20:19:30 +02:00
Davide Gerhard d82752fcfb
ICONV: back to internal cmake module; plutodevice require on macOS 2019-05-21 20:19:29 +02:00
Davide Gerhard dcfb7f6c97
cmake: full refactor to remove qmake and use cmake on all platforms 2019-05-21 20:19:25 +02:00
f4exb 89e53cf179 Single DeviceAPI interface (1) 2019-05-08 22:11:53 +02:00
f4exb fbb29ba9cd Fixed some compiler warnings 2019-04-21 00:13:14 +02:00
Davide Gerhard 9b1c24ee3d
plutosdr device: fix warning
warning: format specifies type 'long' but the argument has type 'int64_t' (aka 'long long') [-Wformat]
2019-04-15 16:17:36 +02:00
f4exb ef15157a50 Fixed incomplete copyright headers (1) 2019-04-11 06:39:30 +02:00
Sebastian Weiss af2cb5462c implement networked PlutoSDR 2019-03-02 17:47:00 +01:00
Robin Getz 95edff4985 plutosdr: grab the RF bandwidth range from the device
This will use the RF bandwidth from the device, which is different
between AD9363 and AD9364.

Things are now managed like the device likes - analog low pass bandwidth
is RF (complex) bandwidth, not baseband single I or Q bandwidth.

Signed-off-by: Robin Getz <robin.getz@analog.com>
2019-02-01 16:42:08 -05: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
Robin Getz 333273b3cb pluto: Get LO range from device
When updating firmware, the devices which have AD9364s on them, get
reset to the default of a AD9363 (tuning range of 325 to 3800 MHz).
SDRAngel assumes a AD9364, and the GUI allows you to set LO settings
that the firmware doesn't support.

This ensures that does not happen, by going out to the hardware, and
querying the device to set the min/max limits on LO.

Signed-off-by: Robin Getz <robin.getz@analog.com>
2019-01-03 12:46:40 -05:00
f4exb 4a69a7d39f Adaptation of cmake files to MSVC 2018-12-02 03:06:04 +01:00
f4exb f96978d196 Windows MSVC2017: PlutoSDR support 2018-11-28 18:30:11 +01:00
f4exb 72e29fd3f8 Moved export.h file to root of exports directory and removed util 2018-03-20 13:49:21 +01:00
f4exb 28e9df5fe8 Clang clean compile 2018-03-04 01:47:51 +01:00
f4exb c22d146376 Adapt to MSVC linker 2018-03-03 20:23:38 +01:00
f4exb 2b846f5d28 PVS-Studio static analysis corrections (2) issue #137 2018-02-22 03:04:42 +01:00
f4exb f01b90094b PVS-Studio static analysis corrections (1) issue #137 2018-02-21 18:54:59 +01:00
f4exb 2ddcb8c358 Differentiate Rx and Tx DSP sample sizes 2018-01-22 08:46:05 +01:00
f4exb 491b8a6d33 Replaced hardcoded bit scaling literals by defines 2018-01-21 10:57:04 +01:00
f4exb d110a3749d Moved logger to QtApplication level. Corrections to some messages 2017-11-11 11:11:44 +01:00
f4exb 4536680adf PlutoSDR device handling: fixed Tx channels 2017-10-29 03:01:44 +01:00
f4exb e87ee16302 PlutoSDR input: display actual gain value returned from device 2017-10-09 02:18:04 +02:00
f4exb ca48070c84 PlutoSDR: print error string from libiio in console message 2017-10-09 00:12:15 +02:00
f4exb 9ba88b396b PlutoSDR: remove from device enumeration if device is not accessible (allocate context fails) 2017-09-23 03:42:58 +02:00
f4exb d1061a3c2f LimeSDR: Rx/Tx interaction 2017-09-20 18:25:54 +02:00
f4exb 73d9cfec6e PlutoSDR: added message to send to other buddy for synchronization 2017-09-20 08:43:44 +02:00
f4exb e4c1892930 PlutoSDR: clear the device scan list before (re)scanning 2017-09-19 23:11:03 +02:00