Commit Graph

724 Commits

Author SHA1 Message Date
Kyle Reed
37386c29cb
Oversample (#1336)
* WIP Oversample cleanup

* WIP

* WIP

* WIP dynamic interpolation

* WIP cleanup

* Fix math errors

* Add some optional assertions

* Add support for x32 interpolation

* Update proc_replay.cpp

Typo
2023-08-02 21:59:26 +02:00
Mark Thompson
002ef720ee
Fixed waterfall frequency scale in Replay app (#1337)
* Fix waterfall frequency scale in Replay

* Fix waterfall frequency scale in Replay
2023-08-01 20:20:19 +02:00
Kyle Reed
d24ff7b3bc
Oversample capturing for low bandwidths (#1332)
* draft_low_bit_rate_solution_Capture_App

* second_draft_dynamic_decim

* Add support for Oversample Rate to capture.

---------

Co-authored-by: Brumi-2021 <ea3hqj@gmail.com>
2023-07-31 17:46:07 +02:00
Kyle Reed
7bd370b5bc
Fix baseband thread init order bug for all procs. (#1293) 2023-07-23 08:54:17 +02:00
Kyle Reed
47e95c0c47
Workaround for Capture startup hang (#1285)
* Attempt to fix Capture startup hang

* Pump baseband_queue on M4 startup

* Synchronization experiment

* Moved SpectrumCapture member, better hang detection for M0

* Prevent execute from working on members until class has been initialized.

* Formatting

* Remove workaround.

* Rebase on next
2023-07-22 10:06:55 -07:00
Mark Thompson
d6b0173e7a
C8 capture support (#1286)
* C8 conversion

* C8 conversion

* C8 support

* C8 support

* C8 support

* C8 support

* Don't auto-convert GPS C8 files

* C8 support

* C8 support

* C8 support

* Remove hang workaround (different PR)

* Comment change

* Clang

* Clang

* Clang

* Merged change from PR #1287

* C8 support

* C8 support

* Improve bandwidth display

* Merged minor optimization from PR 1289

* Merge change from PR 1289

* Use complex types for C8/C16 conversion

* C8 support

* C8 support

* C8 support

* C8 support

* Roll back changes

* Roll back C8 changes

* C8 support

* C8 support

* C8 support

* C8 support

* C8 support

* Don't transmit samples past EOF

* Don't transmit samples past EOF

* Clang

* Clang attempt

* Clang attempt

* C8 support

* Clang
2023-07-22 02:20:56 -05:00
Mark Thompson
8eafe27955
Minor Replay & GPS baseband optimizations (#1289)
* No need to scale progress now that widget is fixed
* Use memcpy vs byte copy, elim progress scaling, correct comments
* Minor optimization in C16->C8 conversion
* Only copy bytes actually read from file
2023-07-21 18:50:00 +02:00
Mark Thompson
80c769b97d
Display CTCSS tone freq in Audio, Recon, and Level apps (#1231)
* Generate CTCSS messages at fixed rate regardless of tone freq

* Generate CTCSS messages at fixed rate regardless of tone freq

* Function for generating CTCSS description strings

* Function for generating CTCSS description strings

* Increase width of CTCSS text to include tone freq

* Increase width of CTCSS text field to include frequency

* Use CTCSS tone freq when saving HAM freqs to freq file

* Use function in tone_key.cpp for displaying CTCSS string

* Use function in tone_key.cpp for CTCSS descr strings

* Use function in tone_key.cpp for CTCSS descr strings

* Clang test

* Clang

* Clang

* Support for reading CTCSS tones from FreqMan file

* Clang

* Clean up and eliminate floating point

* Clean up and eliminate floating point

* Corrected CTCSS field length

* Corrected CTCSS field length

* Clang
2023-07-02 16:53:51 -07:00
Mark Thompson
4e128e8930
Fixed CTCSS tone detection (#1226)
* Fixed erroneous rounding code

* Fixed CTCSS tone detection

* Correct tone index for XZ/WZ and sort table by tone freq
2023-07-01 15:36:07 +02:00
Kyle Reed
3b41d73ddd
Remove LTO, minor UI tweaks (#1216) 2023-06-30 07:33:33 +02:00
gullradriel
830fea63ed
Optimize compilation flags (#1206)
* restoring -O3 on baseband, activating lto on cpp parts
2023-06-28 21:46:49 +02:00
gullradriel
5cd9c377d2
Recon record (#1182)
* added auto record checbox and functions (audio and raw)
* Changed baseband compile option from -O3 to -O2. Trying lower gave unexpeted and crashing results.
* added 650k SPEC bw
* fix hang if wait is -100
* fixing no SPEC support in scanner
2023-06-25 08:16:49 +02:00
E.T
a2e5e03f07
Gcc12 related fixes (#1138)
* GCC12 related fixes but still compiles on GCC9

* Suppress warnings about volatile +=

* Enable c++20 if supported by the compiler

On gcc12 we need to use -std=c++20 since constexpr .c_str() on std::string is only officially available since c++20 and the new gcc wouldnt let us use it with older standard

* code format

---------

Co-authored-by: Eisenberger Tamas <e.tamas@iwstudio.hu>
2023-06-10 07:50:42 +12:00
gullradriel
5a5445e980
Dsp fatfs fix (#1118)
* fixing overflow by one in ../firmware/baseband/dsp_goertzel.cpp by expanding the original array size
* fix underflow by -1 if seq is not stopping the loop
2023-06-07 11:25:35 +02:00
E.T
2fd3bf0136
Sd over usb macos (#1096)
* sd over usb works at least up to intel + big sur, not yet on m1 + ventura
* style
2023-06-02 12:20:11 +02:00
Bernd Herzog
cf07428a5d
changed the vendor id of sd to usb (#1082) 2023-05-27 21:39:04 +12:00
E.T
35b381ae77
Fix SD over USB (#1081)
Remove clkin_detect_init() from cpu_clock_init() mirroring upstream change from the hackrf repo

Co-authored-by: Eisenberger Tamas <e.tamas@iwstudio.hu>
2023-05-27 11:06:05 +12:00
jLynx
033c4e9a5b
Formatted code (#1007)
* Updated style

* Updated files

* fixed new line

* Updated spacing

* File fix WIP

* Updated to clang 13

* updated comment style

* Removed old comment code
2023-05-19 08:16:05 +12:00
Bernd Herzog
b4da86d491
New app: Spectrum Painter (#988)
* added spectrum painter app
2023-05-14 23:09:43 +02:00
gullradriel
415d8cfa54
fixing indent (#982)
resolving conversations in #968
2023-05-13 08:56:29 +02:00
gullradriel
9a22a760ad
Record button remove (#968)
* removed unused debug and record buttons
* added log checkbox
* changed ignore and log to false at app start for pocsag
* fixed warning: suggest parentheses around arithmetic in operand of '^' proc signal
* ui comsetic fix
2023-05-10 14:12:49 +02:00
Brumi-2021
5a336d5e71 Compact with unique, best Noise Gererator option. 2023-05-03 13:49:50 +02:00
Brumi-2021
d77102426a Finally Noise Signal with best option 16 bit LFSR 2023-05-02 21:29:35 +02:00
Brumi-2021
d5f20c45b9 Adding 16 bit LFSR , to Noise Signal Generator App 2023-05-02 17:19:23 +02:00
Brumi-2021
ee53b28e60 Solving Noise generation in Signal gen App 2023-04-30 18:03:40 +02:00
GullCode
54e4230191 indentation 2023-04-27 16:07:57 +02:00
GullCode
f069383c2a Fix unused warnings in ssb_execute 2023-04-27 16:06:47 +02:00
gullradriel
15c9a76536
Merge pull request #924 from bernd-herzog/dfu_menu
added frame drop rate for m4 signal processing
2023-04-27 15:41:46 +02:00
Bernd Herzog
50e5bc60ee added frame miss rate for m4 signal processing 2023-04-26 22:28:14 +02:00
Mark Thompson
509f86c1f7
Merge branch 'eried:next' into next 2023-04-26 01:25:46 -05:00
Bernd Herzog
4ff92be23b refactoring 2023-04-24 13:04:59 +02:00
Bernd Herzog
948d8d947e improved stability of cpu usage calculation 2023-04-24 13:00:34 +02:00
Bernd Herzog
29b7a5ee56 improved m4 m0 communication 2023-04-23 23:48:20 +02:00
Bernd Herzog
2ef9ebd7bd implemented M4 stats 2023-04-23 21:48:45 +02:00
Mark Thompson
44b2e5ea61
Support for ERT SCM+ meter protocol 2023-04-23 01:34:56 -05:00
Mark Thompson
48ed7b1b1a
Support for ERT SCM+ meter protocol 2023-04-23 01:33:42 -05:00
Bernd Herzog
5a6f6e8db0
Revert "fixed hackrf mode for portapacks with TQFP100 CPLD" 2023-04-07 12:53:26 +02:00
Bernd Herzog
cd2d810c31 fixed hackrf mode for portapacks with TQFP100 CPLD 2023-04-06 14:09:50 +02:00
Bernd Herzog
a8f0c8eac9 refactoring 2023-04-01 19:24:13 +02:00
Bernd Herzog
8d8d457da2 refactoring 2023-04-01 18:57:53 +02:00
Bernd Herzog
893df7272f refactoring 2023-04-01 18:36:57 +02:00
Bernd Herzog
bb90fdc5fc Implemented write 2023-04-01 17:39:08 +02:00
Bernd Herzog
50859171f4 implemented msd read 2023-04-01 17:21:57 +02:00
Bernd Herzog
fc1b676ce6 implemented rest of scsi stack 2023-03-31 22:34:55 +02:00
Bernd Herzog
776ac652a8 implemented scsi inquiry 2023-03-31 19:18:39 +02:00
Bernd Herzog
a6eb430830 integrated usb stack 2023-03-30 11:46:36 +02:00
Bernd Herzog
8dd68a0811 added copy of hackrf usb stack 2023-03-29 17:05:11 +02:00
Bernd Herzog
f5d4fce945 added flash utility 2023-03-28 14:39:00 +02:00
Bernd Herzog
7b3ab64930 fixed data packing 2023-03-21 21:27:32 +01:00
Bernd Herzog
b856b047cc added compression of baseband images 2023-03-21 19:18:38 +01:00
Bernd Herzog
b83f43793c improved runtime error handling 2023-03-18 23:19:23 +01:00
Bernd Herzog
b6011a777b added runtime error details to guru meditation 2023-03-13 15:04:00 +01:00
heurist1
778111d466 Updates to put the multiple aircraft on the map
Also manage the CPU in on the one second tick to keep GUI responsive
Some other small edits that fix minor problems from my previous checkins
2023-02-28 20:19:23 +00:00
phil-stumpy
66ba6442b1 Adding support for HackRF One R9, as per https://github.com/sharebrained/portapack-hackrf/pull/187 2023-02-16 12:10:26 +00:00
lujji
362c208078 fix ook app and 1527 encoder; add scan encoding 2023-02-02 17:54:36 +02:00
gullradriel
efbcd2aa9b
Merge pull request #752 from lujji/fix-ook-bug
Fix OOK repeat bug
2022-12-17 12:44:19 +01:00
lujji
0631f5d5ab implement ook scan 2022-12-05 16:51:23 +02:00
lujji
8986b65f94 fix ook repeat bug 2022-11-30 10:59:24 +02:00
Brumi-2021
6b75249b0a Finalised all Mic Boost(WM) and Mic ALC(AK) 2022-10-02 00:51:12 +02:00
Brumi-2021
745574d3c4 Ak4951-ALC_base adding WM8731-boost OFF options 2022-09-28 22:42:33 +02:00
Brumi-2021
1027e80d53
Recovered lost ctcss/roger beep/correct mic gain in mic app from 1.5.1 without ALC (Auto mic Limit Control-AK) (#633)
* Update spectrum_collector.cpp

lower case correction

* Update spectrum_collector.cpp

Description changed , better explanation.

* Revert "Update spectrum_collector.cpp"

This reverts commit 4a6fc35384.

* Revert "Update spectrum_collector.cpp"

This reverts commit 35cece1cb0.

* Revert "Solving Compile error on gcc10 . Keeping same safety protection about the size of the array ,but with slightly different sintax."

This reverts commit f4db4e2b53.

* Recovered CTCSS-Roger_beep-MIC-GAIN from 1.5.1

* Temporary removing ALC-( for AK4951 platorm)
2022-05-07 11:43:14 +12:00
Erwin Ried
a91bbe6a2e
Merge pull request #596 from GullCode/proc-adsbrx-warning-fix
Fix for warning: comparison of integer expressions of different signedness
2022-04-22 10:00:05 +02:00
Erwin Ried
a5a9bc85f8
Merge pull request #597 from GullCode/proc-aprsrx-warning-fix
Fix for proc_aprsrx and aprs_packet warnings, they are related
2022-04-22 09:59:31 +02:00
Erwin Ried
6467e5e7e6
Merge pull request #599 from GullCode/proc_mictx-warning-fix
Fix for warning: 'MicTXProcessor::modulator' should be initialized
2022-04-22 09:59:08 +02:00
GullCode
3fa190324b Fix warning for proc_pocsag 2022-04-21 23:25:58 +02:00
GullCode
f13d1f8b9c Fix for warning: 'MicTXProcessor::modulator' should be initialized 2022-04-21 21:46:55 +02:00
GullCode
2108ea53fa Fix for proc_aprsrx and aprs_packet warnings, they are related 2022-04-21 17:38:49 +02:00
GullCode
90d38af705 Fix for warning: comparison of integer expressions of different signedness 2022-04-21 17:29:42 +02:00
GullCode
048b254354 Fixed uninitialized class members 2022-04-18 22:45:16 +02:00
Brumi-2021
f4403121a1 Minor improvementes to the previous PR #329 AM-SSB-DSB Mic Functionality App 2022-01-01 12:26:35 +01:00
Erwin Ried
0d1d703ba9
Merge pull request #426 from heurist1/update_pocsag_decoder
Update pocsag decoder
2021-11-24 12:32:33 +01:00
Erwin Ried
dc06950a94
Merge pull request #419 from Brumi-2021/Final_correction_GCC_10_Compile_error_#199_with_sharebrained_feedback
Final correction gcc 10 compile error #199 with sharebrained feedback
2021-11-24 12:31:29 +01:00
heurist1
40654aba55 moved extract frame back into proc_pocsag 2021-11-07 09:00:00 +00:00
heurist1
a571e40c59 Changed amp to integer 2021-11-06 10:15:17 +00:00
heurist1
79b24ebe13 Improve output 2021-11-01 22:51:06 +00:00
heurist1
8a4564f6f5 Slow down redraw
Combine improvements and slow down refresh.
2021-11-01 20:37:27 +00:00
heurist1
1a21e06bbe Improved overlap packet detection
Improved overlap detection and reduced the threshold
2021-11-01 19:28:56 +00:00
heurist1
0d51e3569f Improved decode of type 17 at expense of others
Reject all non type 17 packets
2021-10-31 13:23:48 +00:00
heurist1
0d7bbac6a1 Added switching message length
Improves detections in test file from 77 to 80
2021-10-30 00:53:29 +01:00
heurist1
b499380448 Keep items with loc above those without
Removed fixsbt and added a new state of signal without position. Positions stay higher than non positions.
2021-10-29 16:59:52 +01:00
Brumi-2021
ab8f93805d Small correction,of previous PR , about New_Feature_GCC_10_Compile_errors_#199 (based on sharebrained indications) 2021-10-25 18:11:31 +02:00
Brumi-2021
f4db4e2b53 Solving Compile error on gcc10 . Keeping same safety protection about the size of the array ,but with slightly different sintax. 2021-10-23 22:17:18 +02:00
heurist1
318720f364 Removed all traces of the parameters on the POGSAG config message
Left in the message for the moment, because there are likely to be parameters needed at some point.
2021-10-22 18:11:50 +01:00
heurist1
be01ca6da1 Significantly improved adsb demod
Change preamble detection, reduce cpu load
2021-10-15 14:26:33 +01:00
heurist1
ab364ca497 POCSAG before reformat
This is the POCSAG code before reformat to put smooth and extract packets in the correct place
2021-10-10 09:15:42 +01:00
teixeluis
8aff0bb4d8 Improved tone generator for proper frequency control. Also
features a square wave mode.
Added proportional beep duration based on the RSSI as well.
Now reading the current radiosonde frequency from the
battery backed RAM instead starting with the same frequency
all the time.
2021-06-16 23:23:47 +01:00
teixeluis
a80d91fb1e More improvements to the rssi tone. Added saving of the tuned frequency
to the radio model persistent store.
2021-06-13 23:35:33 +01:00
teixeluis
c2dc7d1cf5 Slight improvement of the tone generator. 2021-06-11 00:13:56 +01:00
teixeluis
edcd780402 Improved the pitch RSSI. Still looking for better approach. 2021-06-10 12:10:24 +01:00
teixeluis
c85e6a4d52 Now getting rssi events.Pitch changes still to be improved. 2021-06-09 09:10:01 +01:00
teixeluis
9040e780bc Added beep on radiosonde packet decoding, and volume widget to control its level. 2021-06-08 23:07:37 +01:00
Arjan Onwezen
c307e9d5ae proc_aprsrx.cpp compile warning fix 2021-05-12 08:09:04 +02:00
Arjan Onwezen
a2e4a15229 dsp.modulelate.cpp compiler warning fix 2021-05-10 19:31:48 +02:00
eried
57ed3ebb43 Merge branch 'pr/325' into next 2021-04-14 09:30:53 +02:00
DESKTOP-R56EVJP\Alex
f65852ff05 Rebased code from new eried repo commits. Changed to to reflect strijar implementation. Fixed previous issue with old ssb-am-tx ui_mictx code. 2021-03-21 20:21:50 -05:00
Erwin Ried
9d437aee6a
Merge pull request #278 from GullCode/tv_collector_warning_fix
removed unused variables
2021-03-15 11:45:50 +01:00
East2West
f15cf78101
Add APRS Receiving App 2021-03-11 22:27:19 -06:00
Erwin Ried
aea807e1f4
Merge pull request #280 from GullCode/proc_am_audio_warning_fix
Quoted out unused variable
2021-02-16 09:11:20 +01:00
Erwin Ried
8807ab179b
Merge pull request #283 from GullCode/proc_btlerx_warning_fix
Quoted CRC calculus as it's unused, voided message
2021-02-16 09:10:42 +01:00
Erwin Ried
d59b0d44d3
Merge pull request #282 from GullCode/proc_am_tv_warning_fix
Quoted unused vars and voided one
2021-02-03 22:09:06 +01:00