1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-08-11 05:53:45 -04:00
Commit Graph

6508 Commits

Author SHA1 Message Date
Jon Beniston d8f3d447c8 Disable sorting and fix memory leak 2026-07-31 17:22:18 +01:00
Jon Beniston ee7067bbc4 Check notifications on unsorted list 2026-07-31 17:21:49 +01:00
Jon Beniston fe5d1ba155 Fix BCH error correction 2026-07-31 16:49:10 +01:00
Jon Beniston 874c0b9ffb Add alpha and numeric notification matching 2026-07-31 16:48:06 +01:00
Jon Beniston ef3995cc26 Initialise m_centerFrequency 2026-07-31 16:33:53 +01:00
Jon Beniston 7842075090 Fix potential crash in server mode. 2026-07-31 16:26:54 +01:00
Jon Beniston 36994dfe0b Fix reference to adsb settings. 2026-07-31 16:26:16 +01:00
Jon Beniston 0be50d4156 Wrap slot at end of frame 2026-07-31 15:57:26 +01:00
Jon Beniston 13f9fe4cd7 Remove unused variables and support port 65535. 2026-07-31 15:57:06 +01:00
Jon Beniston 5271173997 Add missing label offsets. Fix bounded so tug 3 is used. 2026-07-31 15:49:54 +01:00
Jon Beniston ee3b8c14a3 Remove unused variable. 2026-07-31 15:48:18 +01:00
Jon Beniston d6ddad8b83 Handle less columns being supplied than we have. 2026-07-31 15:47:58 +01:00
Jon Beniston e03dbb3e3c Add default UDP address. Allow port 65535. 2026-07-31 15:46:20 +01:00
Jon Beniston 7e182a80cf Remove unused variable 2026-07-31 15:45:21 +01:00
Jon Beniston 2951d4444e Remove reverseAPIKeys as unused, initialise m_centerFrequency. 2026-07-31 15:45:01 +01:00
Jon Beniston 2c791b16ad Check received CRC bytes, to avoid out of range access. 2026-07-31 14:42:02 +01:00
Jon Beniston c44ab1f852 Use baud rate macro 2026-07-31 14:41:35 +01:00
Jon Beniston 068b7c376f Increase AISDEMOD_MAX_BYTES to 160, to support max sized frame and stuffing bits. 2026-07-31 02:14:17 +01:00
Jon Beniston 18ae2368bb Fix setting UdpFormat via API 2026-07-31 02:08:40 +01:00
Jon Beniston 6373df9f8a Fix memory leak 2026-07-31 02:05:35 +01:00
Jon Beniston 81c33f656a Fix possible crash in server mode. 2026-07-31 02:05:14 +01:00
Jon Beniston 6f732293ec Fix formatting 2026-07-31 01:36:56 +01:00
Jon Beniston 3e986af4bc Fix a few decoding errors and small memory leaks. 2026-07-31 00:55:40 +01:00
Jon Beniston 84e7304d05 Fix encoding of + 2026-07-30 22:59:14 +01:00
Jon Beniston 9dfd11b2f5 Use latest settings when forced. 2026-07-30 22:56:44 +01:00
Jon Beniston 26f18e7402 Support OpenSky OAuth authentication. 2026-07-30 18:59:01 +01:00
Jon Beniston e27d41da1a Use stored mode-S identity. 2026-07-30 18:36:45 +01:00
Jon Beniston 703a1b6a29 Fix MSB of beast timestamp. 2026-07-30 18:30:32 +01:00
Jon Beniston 6287e4ac18 Add support for Mode-S short frames to Beast output 2026-07-30 18:29:54 +01:00
Jon Beniston 0e070d9881 Use latest settings when calculating interpolation filter 2026-07-30 18:29:18 +01:00
Jon Beniston a92c944c2c Fix opensky groundspeed and vertical rate. 2026-07-30 18:17:58 +01:00
Jon Beniston ea7571b31f m_exportServerPort is an int not a bool 2026-07-30 18:10:46 +01:00
Edouard Griffiths db89bd9b64 Merge pull request #2857 from rgetz/rgetz-cleanup-printf-format-specifiers
cleanup printf format specifiers
2026-07-28 13:11:21 +02:00
Edouard Griffiths 82ce7487fb Merge pull request #2855 from rgetz/rgetz-fix-same-expression-on-both-sides
chirpchat: Fix FT8 message type 0.4 reply detection
2026-07-27 18:39:28 +02:00
Edouard Griffiths a7969d1c8a Merge pull request #2852 from rgetz/rgetz-reduce-vlas-dvbs2
continue to reduce (eliminate) VLA usage from leansdr
2026-07-27 12:42:33 +02:00
Edouard Griffiths 6efccde2e3 Merge pull request #2851 from rgetz/rgetz-fix-incorrect-iterator
ADSB Demod: Fix incorrect iterator range when restoring column sizes
2026-07-27 11:56:44 +02:00
Robin Getz 655841008e leansdr: Fix unsigned printf format specifiers
Replace signed %ld format specifiers with unsigned %lu conversions when
printing values stored as unsigned long.

The previous format strings passed unsigned values to signed printf
conversions, which could result in undefined behavior due to variadic
argument type mismatches. These issues were identified by cppcheck
invalidPrintfArgType_sint warnings.

Use format specifiers matching the actual argument types to ensure
correct and portable printf usage.

Signed-off-by: Robin Getz <rgetz503@gmail.com>
2026-07-26 18:43:36 -04:00
Robin Getz b6c9ed2057 chirpchat: Fix FT8 message type 0.4 reply detection
Fix a copy/paste error in decodeSymbols() where FT8 message type
0.3 was checked twice, preventing type 0.4 messages from being
recognized as replies.

FT8::Packing supports both 0.3 and 0.4 message types using the same
reply bit location.

Detected by cppcheck as a redundant condition.

Signed-off-by: Robin Getz <rgetz503@gmail.com>
2026-07-26 16:46:11 -04:00
Edouard Griffiths 7ade66e467 Merge pull request #2845 from rgetz/rgetz-fix-boolean-bitwise
Fix UDP port validation boolean operations
2026-07-26 21:40:09 +02:00
Robin Getz f57e6d3568 DATV: Replace DVB-S2 pilot VLA buffers with std::vector
Replace variable-length arrays used for DVB-S2 pilot symbol matching with
std::vector allocations.

Use vector::data() when passing buffers to the existing pointer-based
match_ph_amp() function. This removes non-standard VLA usage and improves
C++ portability without changing behavior.

Signed-off-by: Robin Getz <rgetz503@gmail.com>
2026-07-26 14:54:12 -04:00
Robin Getz def0a877db DATV: Replace DVB-S2 pilot VLA buffers with std::vector
Replace variable-length arrays used for DVB-S2 pilot symbol matching with
std::vector allocations.

Use vector::data() when passing buffers to the existing pointer-based
match_ph_amp() function. This removes additional non-standard VLA usage and
improves C++ portability without changing behavior.

Signed-off-by: Robin Getz <rgetz503@gmail.com>
2026-07-26 14:50:25 -04:00
Robin Getz 1e72e94bb5 DATV: Replace DVB-S2 SOF VLA buffer with std::vector
Replace the variable-length array used for SOF symbol buffering in the
DVB-S2 frame receiver with a std::vector allocation.

Use vector::data() when passing the buffer to the existing pointer-based
conjugate product function. This removes another non-standard VLA usage and
improves C++ portability without changing behavior.

Signed-off-by: Robin Getz <rgetz503@gmail.com>
2026-07-26 14:45:38 -04:00
Robin Getz 16ab693062 DATV: Replace DVB-S2 VLA buffers with std::vector
Replace non-standard variable-length arrays used for PLHEADER symbol
processing with std::vector allocations. Update buffer copies and pointer
interfaces accordingly while preserving existing behavior.

This removes VLA compiler/static analysis warnings and improves C++
portability.

Signed-off-by: Robin Getz <rgetz503@gmail.com>
2026-07-26 14:38:53 -04:00
Robin Getz 60dbed7fc3 dvbs2.h : remove tabs, replace with spaces
to match style

Signed-off-by: Robin Getz <rgetz503@gmail.com>
2026-07-26 14:33:38 -04:00
Edouard Griffiths 31197025b4 Merge pull request #2844 from rgetz/rgetz-fix-testmi
testmi: Fix missing m_title copy in TestMISettings
2026-07-26 20:21:35 +02:00
Robin Getz 66d28efcc1 ADSB Demod: Fix incorrect iterator range when restoring column sizes
cppcheck reported that the std::copy() call used iterators from different
containers when restoring ADSB demod table column sizes.

The copy operation used settings.m_columnSizes as the source start iterator
but settings.m_columnIndexes as the source end iterator. This was likely a
copy/paste error and resulted in an invalid iterator range.

Use settings.m_columnSizes for both source iterators so column size settings
are restored correctly.

Signed-off-by: Robin Getz <rgetz503@gmail.com>
2026-07-26 13:44:02 -04:00
Edouard Griffiths e01381996d Merge pull request #2842 from rgetz/rgetz-leansdr-fail-fatal
DATV: Convert leansdr fail and fatal errors into C++ exceptions
2026-07-26 13:30:01 +02:00
Edouard Griffiths 148ca3870e Merge pull request #2841 from rgetz/rgetz-reduce-vla-ldpctool-algorithms
step2 : reduce vlas
2026-07-26 09:59:50 +02:00
Robin Getz 0ee3237db5 Fix UDP port validation boolean operations
cppcheck reported boolean expressions being used in bitwise operations
when validating UDP ports. Replace accidental '&' operators with logical
'&&' operators.

Also replace hard-coded port range limits with UINT16_MAX to make the
valid UDP port range explicit and keep UDP source/sink validation
consistent.

No functional change.

Signed-off-by: Robin Getz <rgetz503@gmail.com>
2026-07-25 20:11:59 -04:00
Robin Getz 5c359aa0a4 testmi: Fix missing m_title copy in TestMISettings
cppcheck reported that the TestMISettings copy constructor did not
initialize member variable m_title:
  Member variable 'TestMISettings::m_title' is not assigned in the copy
  constructor. Should it be copied?

m_title is part of the serialized settings state, so ensure copied
TestMISettings instances preserve the configured title value.

Signed-off-by: Robin Getz <rgetz503@gmail.com>
2026-07-25 19:51:39 -04:00