Commit graph

283 commits

Author SHA1 Message Date
DJ2LS
cc3b7b16c9 cleanup and better logging 2023-02-21 12:03:47 +01:00
DJ2LS
755e5efec1 first tci rx audio stream 2023-02-21 11:57:14 +01:00
DJ2LS
fbdf556eba small fix to stats crc check 2023-02-17 21:11:27 +01:00
DJ2LS
18741229cd tci adjustments 2023-02-17 09:37:58 +01:00
DJ2LS
b6a74c680b network support for tci 2023-02-14 22:02:30 +01:00
Sourcery AI
6fa49e2060 'Refactored by Sourcery' 2023-02-14 20:30:37 +00:00
DJ2LS
4c8a259e67 placeholder for TCI support 2023-02-14 21:28:53 +01:00
DJ2LS
4b83838eb9 adjusted alc tuning 2023-02-09 21:49:52 +01:00
DJ2LS
eaff3210ed adjusted alc tuning 2023-02-09 21:48:55 +01:00
DJ2LS
d17b77e323 big cleanup 2023-02-02 23:49:52 +01:00
DJ2LS
83aa838c5a make auto tune option available in socket and daemon config 2023-02-01 16:11:07 +01:00
DJ2LS
2c2c0bf6a3 another alc level adjustment 2023-02-01 15:33:21 +01:00
DJ2LS
021d6fd79a increase audio level if too low for ALC 2023-02-01 15:06:26 +01:00
DJ2LS
54dcccb687 use audio tune only if alc > 0.0 2023-02-01 14:03:12 +01:00
DJ2LS
3544318f54 HAMLIB_ALC fix 2023-02-01 13:53:31 +01:00
DJ2LS
5970cdc2a8 get alc only while transmitting 2023-02-01 13:39:18 +01:00
DJ2LS
bda51d127b first attempt with auto tune feature 2023-02-01 13:08:15 +01:00
DJ2LS
5dbc3d8de1 adjusted rigctld 2023-01-31 17:44:46 +01:00
DJ2LS
62792e75bb moved from meter to strength 2023-01-30 12:31:34 +01:00
DJ2LS
87fb4382a4 moved from snr to meter 2023-01-30 12:28:02 +01:00
DJ2LS
d54416fc8d first test with additional radio parameters 2023-01-30 12:08:45 +01:00
DJ2LS
b94ee6b494 don't run IS_CODEC2_TRAFFIC detection if in TESTMODE 2023-01-29 13:26:02 +01:00
DJ2LS
e072d48fd7 increased timeouts on channel opening 2023-01-29 13:11:38 +01:00
DJ2LS
4f753e911e release IS_CODEC2_TRAFFIC if not rx_status 2023-01-29 12:58:46 +01:00
DJ2LS
e6e2319f43 only set IS_CODEC2_TRAFFIC if not TESTMODE 2023-01-29 12:51:06 +01:00
DJ2LS
0dee69b671 renamed IS_CODEC2_SIG_TRAFFIC to IS_CODEC2_TRAFFIC 2023-01-29 12:36:39 +01:00
DJ2LS
9db54a2a51 introduce IS_CODEC2_SIG_TRAFFIC 2023-01-29 12:26:54 +01:00
dj2ls
da1309a335 release channel busy state when receiving FreeDATA signals 2023-01-08 13:18:54 +01:00
dj2ls
41a45a9cd9 reduced busy counter release time 2023-01-06 15:42:34 +01:00
dj2ls
d54f3dcb31 updated input frequency 2023-01-04 20:47:00 +01:00
dj2ls
53697af6e2 set mode from gui 2023-01-04 20:12:03 +01:00
dj2ls
ee4528bf79 set frequency from gui - needed for better remote testing 2023-01-04 19:26:11 +01:00
dj2ls
5d8b8a4bde adjusted logging for debugging byteorder error 2023-01-02 16:13:29 +01:00
DJ2LS
03705a041c removed decoding twice fix - seems its not a LDPC related error 2023-01-01 17:00:45 +01:00
DJ2LS
501ccd9de3 possible quick and dirty fix for solving wrong byteorder problem 2023-01-01 16:41:27 +01:00
dj2ls
5be2a88fd0 catch fft division by zero error 2022-12-29 17:49:13 +01:00
DJ2LS
3dc06510c1 moving from raw to wave file format 2022-12-27 21:13:08 +01:00
DJ2LS
76522db082 process rigctld response only if needed 2022-12-27 18:17:12 +01:00
DJ2LS
fd402d9bc2 catch error in dbfs calculation 2022-12-27 11:41:00 +01:00
DJ2LS
7ed43fb3f9 moved utf8 encoding from entire data to just chat message 2022-12-27 09:53:21 +01:00
DJ2LS
62309d608d improved audio callback modout queue 2022-12-26 17:14:23 +01:00
DJ2LS
4d8b8f7f46 accepted some sourcery suggestions 2022-12-26 12:49:01 +01:00
DJ2LS
c0e4f14da0 record audio 2022-12-26 12:11:59 +01:00
DJ2LS
9ef19b7c51 moved ptt to audio callback 2022-12-25 15:20:46 +01:00
DJ2LS
914e2065b5 later ptt toggle test 2022-12-25 14:28:21 +01:00
DJ2LS
f12bf7919d modem testings with disabled monitoring protection 2022-12-25 12:57:47 +01:00
DJ2LS
c143c87d64 fixing #305 2022-12-23 21:06:42 +01:00
DJ2LS
12d1477c36 another adjustments to cli tools 2022-12-16 17:09:48 +01:00
DJ2LS
db9c5b60b9 reuse codec2 mode init for transmission 2022-12-15 13:45:57 +01:00
DJ2LS
50bbcfd7ff increased frame timeouts and better logging for debugging protocol error 2022-12-13 08:59:10 +01:00
DJ2LS
5d8b4f2d67 re-enable early error detection 2022-12-12 18:24:40 +01:00
DJ2LS
6e3edb5b30 attempt using threading.Event().wait() instead of time.sleep() 2022-12-12 12:28:52 +01:00
DJ2LS
2cdea7eaa9 adjusted search range for rx buffer 2022-12-12 10:06:45 +01:00
DJ2LS
11512d76bf reduced logging and added transmit queue size for debugging purposes 2022-12-11 11:57:37 +01:00
DJ2LS
d5a0464fd9 first attempt with catching modem error states for early NACK 2022-12-05 15:23:03 +01:00
DJ2LS
65cfd52d81 introduced static.LISTEN state 2022-12-01 10:05:24 +01:00
DJ2LS
65cab5fa3c fixed crash if audio volume has wrong type 2022-11-29 08:45:14 +01:00
DJ2LS
bf1c630977 catching audio error when closing headless tnc 2022-11-29 07:42:14 +01:00
DJ2LS
93f90f2345 updated dBFS from mean to max value 2022-11-23 13:46:42 +01:00
DJ2LS
cf1f8aa078 disabled rig and rigctl usage 2022-11-19 10:54:10 +01:00
DJ2LS
8e2fb9aea3 deleted hamlib subfolder 2022-11-19 10:50:23 +01:00
DJ2LS
0e2d23c5b9 improved rigctld output 2022-11-19 09:51:48 +01:00
DJ2LS
85d2f36e36 small fft fix which caused problems with waterfall view 2022-11-19 09:40:57 +01:00
DJ2LS
55e87840f8 moved from rms to dbFS 2022-11-18 15:19:41 +01:00
DJ2LS
d3ca7dbf6c moved from rms to dbFS 2022-11-18 14:23:13 +01:00
DJ2LS
4c18a843fc busy state fine tuning 2022-11-18 13:32:04 +01:00
DJ2LS
5774c642ec added hamlib connection state indicator 2022-11-18 13:08:37 +01:00
DJ2LS
70bdd59847 increased chanel busy releasing time 2022-11-18 11:48:01 +01:00
DJ2LS
ce32d589ab increased channel busy counter 2022-11-17 22:41:46 +01:00
DJ2LS
0cafb600b3 fft float to int for reducing size and defining busy state detection area in correlation with mode bandwidth 2022-11-17 21:58:17 +01:00
DJ2LS
b761471ec3 snr fix 2022-11-09 20:47:46 +01:00
dj2ls
392e0bf930 moved from sum to mean 2022-10-12 12:33:35 +02:00
dj2ls
7d2168a0e7 another attempt with rms 2022-10-12 11:32:09 +02:00
dj2ls
b41430fc43 another attempt with rms 2022-10-12 11:05:49 +02:00
dj2ls
f096c7f3f9 possible scatter fix 2022-10-12 10:45:17 +02:00
dj2ls
cdb12861a5 fix with enable/disable sig0/1 2022-10-10 09:46:29 +02:00
dj2ls
b0e3d2286e enable sig modes only when needed 2022-10-10 09:00:45 +02:00
dj2ls
56ee05186c improved codec2 mode init 2022-10-05 23:02:45 +02:00
dj2ls
2ed79df2be improved codec2 mode init 2022-10-05 22:42:48 +02:00
dj2ls
c9bcfcbc04 added on air time measurement for easier time debugging 2022-09-08 10:19:07 +02:00
Paul Kronenwetter
7f649f98df Extract queues from data_handler and modem.
Eliminates a cyclical import identified by pylint.
2022-07-03 13:41:06 -04:00
dj2ls
debe742081 audio tuning level hotfix 2022-06-15 15:03:54 +02:00
Paul Kronenwetter
eeb8532651 Change modem from PR comments. 2022-05-31 19:45:25 -04:00
Paul Kronenwetter
e4ad7bbb1b Remove extra assignment. 2022-05-28 15:43:25 -04:00
Paul Kronenwetter
6a565ffe41 Merge branch 'main' into refactor_N2KIQ-202205-2 2022-05-28 11:52:05 -04:00
DJ2LS
adf800b822 changed bandwith typo --> this could break some things.. 2022-05-28 14:08:33 +02:00
Paul Kronenwetter
2fa9aead44 Another round of formatting changes.
Implement class-level logging in places.
2022-05-27 22:17:15 -04:00
Paul Kronenwetter
98c1030c24 Incorporate some changes from pep8_improvements.
Simplify structlog calls.
Other refactoring.
2022-05-25 21:23:30 -04:00
Paul Kronenwetter
08202bbaec Prefer double- over single-quote.
Other minor fixes.
2022-05-25 18:27:33 -04:00
Paul Kronenwetter
87ebea6c52 Remove annoying debug message. 2022-05-23 21:22:54 -04:00
DJ2LS
7a530175f8 Accepted some Sourcery solutions 2022-05-23 14:02:22 +02:00
DJ2LS
1bab085ca8 Merge remote-tracking branch 'origin/pep8_improvements' into pep8_improvements 2022-05-23 13:12:24 +02:00
DJ2LS
d992fd8dc0 Second run reducing number of problems 2022-05-23 13:11:16 +02:00
Paul Kronenwetter
bcdc7193a5 Collapse repeated code to a loop.
Add function return types. Start using FREEDV_MODE enum in places where
a raw number or string were used.
2022-05-22 15:58:05 -04:00
Paul Kronenwetter
e0f96ffabe Refactor FIFO callback. 2022-05-22 14:20:03 -04:00
Paul Kronenwetter
9ad1e22470 Fix bandwidth spelling for hamlib. 2022-05-22 13:05:47 -04:00
Paul Kronenwetter
6eafb081a1 Refactor audio demodulation routines.
Reformatted file & sorted imports per PEP8.
2022-05-22 12:38:56 -04:00
dj2ls
0db0fcc27e changed clip range for snr to -128/128 instead of 0/255
This possibly fixes the SNR problem, but needs to be tested carefully as we had a reason for using np.clip()
2022-05-20 09:26:01 +02:00
dj2ls
3eca209b85 hamlib typo 2022-05-19 07:19:51 +02:00
Paul Kronenwetter
8e92504a45
Fix for issue #181.
Typo of `HAMLIB_RGICTLD_IP` was fixed on the wrong branch.
2022-05-18 22:14:47 +00:00