Commit Graph
56 Commits
Author SHA1 Message Date
Robin Getz 953391c171 repo wide : Name SDRangel-owned threads for debugging
Assign descriptive names to SDRangel threads so thread activity can be
identified when investigating multi-threaded behavior, including crashes,
leaks, and synchronization issues in debuggers and others tools.

Use compact names to fit platform thread-name limits (14 chars) while
retaining the component and thread role where possible.

Signed-off-by: Robin Getz <rgetz503@gmail.com>
2026-09-26 20:26:27 -04:00
Jon Beniston a0918b5785 Map API names to setting names.
Fix API settings with spelling mistakes.
2026-09-13 12:09:20 +01:00
Jon BenistonandClaude Opus 5 d7bc4a94e4 TestSource: period and duty cycle for the P1 and P2 patterns
The sawtooth and square patterns had a fixed 1000 sample pulse width. Both
now take a period, and the square pattern a duty cycle, from the GUI, a
preset or the web API, with the period shown in seconds beside the sample
count.

A period of zero divides by zero in the sawtooth and wraps the unsigned
sample counter in the square pattern, giving a cycle of four billion
samples, so it is refused at every entrance: a minimum of one on the spin
box, a clamp when an older or hand edited preset is read, a clamp on the
web API, and a clamp in the worker for anything that reaches it another
way. The duty cycle is held to 0 to 100 the same way.

Also fixes the worker's timer. It is now parented to the worker so that it
moves to the worker thread with it, and it runs between startWork and
stopWork rather than from construction. TestSourceInput::stop() runs in
another thread, and Qt will not stop a timer from one, so the stop is
asked of the worker and waited for. The m_running flag it replaces is
gone, along with the test of it in every tick.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-11 19:42:07 +01:00
f4exb 63348eeee1 Make device title editable in the basic device settings. Fixes #2292 2026-01-28 03:05:39 +01:00
f4exb 585d806ef8 All device plugins: make sure start and stop are effective once only. PArt of #2159 2024-08-27 09:54:09 +02:00
Mykola Dvornik 15337cac66 Fix bug that prevents settings changes updates via reverse API
Most plugins that use reverse API to PATCH settings updates to remote
server only do so when `useReverseAPI` is toggled, but not when the
relevant settings are being updated. So lets fix the precondition to
use the `m_useReverseAPI` flag instead.
2024-04-14 18:58:12 +02:00
Daniele Forsi 8c3f7e3775 Remove unused includes and use more direct includes 2024-04-11 23:31:34 +02:00
f4exb b6c4d10b62 Rewriting of copyright notices for plugins/samplesource. Part of #1893 2023-11-18 10:07:41 +01:00
f4exb 46db55f1db Removed unncecessary call to updateChannels in VORLocalizer and DemodAnalyzer. Fixes #1572 2023-02-03 02:13:54 +01:00
f4exb 922cfc695e Test source: Make settings assignments atomic. Part of #1329 2022-10-29 21:55:52 +02:00
f4exb c6496b11f9 TestSource: new threading model. Part of #1346 2022-10-08 23:50:12 +02:00
f4exb 1c75f8d326 TestSource: moved thread start and quit/wait to start and stop methods respectively 2022-10-08 23:29:42 +02:00
f4exb 4111c967e9 Fixed some signal/slot connects. Removed unnecessary m_channelMessageQueue in ChannelAPI. Fixes #1185 2022-03-23 22:32:23 +01:00
f4exb 053e4a31cd Add label to SampleSinkFifo to mention controlling component in error messages 2022-03-18 21:53:53 +01:00
f4exb f9f70d91e3 Test Source: fixed worker lifecycle. Fixes issue #626 2020-09-11 00:27:53 +02:00
f4exb e6e7ece46c Removed file recording function from device plugins 2020-08-09 00:47:06 +02:00
f4exb b8681d59a9 TestSource: refactored Thread to Worker object moved to thread. Equivalent to FileInput changes 2020-07-12 02:39:29 +02:00
f4exb 323e75cddd REST API device and channel actions: extension of record action: implementation 2020-03-10 19:44:27 +01:00
f4exb 246ff824af Corrected network manager process memory leaks (Rx side) 2019-11-12 18:46:45 +01:00
f4exb a078239685 REST API: config: GET (11). Support of the rest of devices 2019-08-04 20:24:44 +02:00
f4exb 06dea9b29f PVS-Studio analys fixes: core package serious issues 2019-06-14 16:58:09 +02:00
f4exb b01c4e2477 Device API: added a number of source and sink streams and update it from the plugins 2019-05-21 00:27:08 +02:00
f4exb 89e53cf179 Single DeviceAPI interface (1) 2019-05-08 22:11:53 +02:00
f4exb 54e46837dd REST API: changed binary tx parameter to ternary direction parameter (0: rx, 1: tx, 2: any) 2019-05-07 14:43:38 +02:00
f4exb 4bb0f4f51a Fixed incomplete copyright headers (2): plugins/samplesource 2019-04-11 06:57:41 +02:00
f4exb e2ac286458 Series of shifted decimators matching shifted interpolators. Applied to HackRF input 2019-04-02 01:10:03 +02:00
f4exb 546d8dca5e Reverse API originator information: implemented for start/stop in RTL-SDR and TestSource 2019-03-25 15:10:31 +01:00
f4exb 9b30d602c3 Reverse API originator information: implemented in all source plugins 2019-03-25 13:41:38 +01:00
f4exb 68e109193f Test source: fixed reverse API address update from REST API 2019-01-10 15:45:03 +01:00
f4exb 7c4b4bc795 Reverse API: format updates 2018-12-19 22:01:26 +01:00
f4exb c02b9a270a Reverse API: added content type when request has JSON body 2018-12-19 08:52:50 +01:00
f4exb 442f23ca91 Reverse API: RTL-SDR (4) and Test Source (2) input changes 2018-12-18 21:46:03 +01:00
f4exb 1dc8ca3a98 Reverse API: network reply error message enhancement. Added Q_OBJECT to test source and RTL-SDR input definitions to handle network reply correctly. 2018-12-18 06:14:18 +01:00
f4exb 35538ab9c1 Reverse API: Test Source changes (1) 2018-12-17 18:39:09 +01:00
f4exb 7574cb23d4 Windows: MSVC2017: fixed more attribute unused cases (2) 2018-11-13 08:51:14 +01:00
f4exb f43c07b9e5 Test source: added a square pattern 2018-10-25 13:53:58 +02:00
f4exb faf428ed3d Test source: added sawtooth pattern 2018-10-24 00:10:12 +02:00
f4exb 67f523e629 TestSource: make it more robust 2018-09-06 14:29:14 +02:00
f4exb c0b5c86d88 SDRdaemon: first working version 2018-08-22 00:40:01 +02:00
f4exb b174e6b7ad Test Source: fixed glitches 2018-08-06 22:46:48 +02:00
f4exb f5bcbf2e9e Test source: implemeted WEB API 2018-05-27 22:25:01 +02:00
beta-tester 15078c9c07 modified unique file name 2018-05-11 09:08:20 +02:00
f4exb 4bb749ce65 Inf/Sup frequency shift scheme change to set bandwidth closer to device center frequency 2018-05-10 22:17:39 +02:00
f4exb de2e018e42 Test source: rework of center frequency setting 2018-05-10 13:16:27 +02:00
f4exb 775b2a270d File record default file name fix (2) 2018-05-09 17:39:48 +02:00
f4exb 0981d04904 File record default file name fix (1) 2018-05-08 11:03:09 +02:00
f4exb 5b7cbdf0e5 Multiple audio support: transfer start/stop audio to audio FIFO management in AudioDeviceManager 2018-03-24 04:18:58 +01:00
f4exb 2e5cfcafee PVS-Studio static analysis corrections (3) issue #137 2018-02-24 10:29:27 +01:00
f4exb 2b846f5d28 PVS-Studio static analysis corrections (2) issue #137 2018-02-22 03:04:42 +01:00
f4exb 1d9ab62a4a Test source: added AM and FM modulations 2018-02-11 13:48:17 +01:00