Commit graph

894 commits

Author SHA1 Message Date
dj2ls
ab44e18e3e check channel busy state for ack/nack 2022-12-29 17:57:55 +01:00
dj2ls
e05577b492 return failed callsign check with bytes instead of str 2022-12-29 17:49:30 +01:00
dj2ls
5be2a88fd0 catch fft division by zero error 2022-12-29 17:49:13 +01:00
DJ2LS
a3f9dd6f45 updated version information 2022-12-29 12:55:03 +01:00
DJ2LS
9c57cc9eb7 updated version information 2022-12-29 09:39:41 +01:00
DJ2LS
71051fd3fa send disconnect frame on version missmatch 2022-12-29 09:19:35 +01:00
DJ2LS
4d2d0b93ac fix slice crashing nuitka 2022-12-28 23:47:13 +01:00
DJ2LS
3b8236826c fix slice crashing nuitka 2022-12-28 23:21:39 +01:00
DJ2LS
00d007b9b7 handle split char false positive 2022-12-28 18:03:05 +01:00
DJ2LS
2392ff3b53 handle split char false positive 2022-12-28 17:37:50 +01:00
DJ2LS
17977b5281 break connection attempts when version missmatch 2022-12-28 17:22:17 +01:00
DJ2LS
8717629b91 increased protocol version 2022-12-28 17:06:55 +01:00
DJ2LS
751e43eddb changing split char and split char order 2022-12-28 12:40:10 +01:00
DJ2LS
37267ac679 changing split char and split char order 2022-12-28 12:27:09 +01:00
DJ2LS
f2e5a11348 changing split char and split char order 2022-12-28 11:59:00 +01:00
DJ2LS
efd92cdd72 changing split char and split char order 2022-12-28 11:32:33 +01:00
DJ2LS
4cce8aec5c added total bytes to rx message 2022-12-27 23:32:52 +01:00
DJ2LS
58342b975f more crc check improvements 2022-12-27 23:30:15 +01:00
DJ2LS
c6d99f8866 typo fix 2022-12-27 23:04:57 +01:00
DJ2LS
c8eb9bbf92 fix upper lower case 2022-12-27 23:02:52 +01:00
DJ2LS
c5a9229207 first attempt with message checksum 2022-12-27 22:58:18 +01:00
DJ2LS
b637b917bc first attempt with message checksum 2022-12-27 22:57:54 +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
d6df3007db process rigctld response only if needed 2022-12-27 18:04:29 +01:00
DJ2LS
5a0a766aa0 process rigctld response only if needed 2022-12-27 17:57:04 +01:00
DJ2LS
eaa16ed50b process rigctld response only if needed 2022-12-27 17:49:49 +01:00
DJ2LS
281731d890 process rigctld response only if needed 2022-12-27 17:48:06 +01:00
DJ2LS
d572772df3 use busy detection while opening a channel 2022-12-27 17:11:46 +01:00
DJ2LS
9dad094e47 reduced rigctld connection chunk size - attempt fixing the ptt delay problem 2022-12-27 13:13:11 +01:00
DJ2LS
cb78ed984a reduced rigctld connection chunk size - attempt fixing the ptt delay problem 2022-12-27 13:02:01 +01:00
DJ2LS
fd402d9bc2 catch error in dbfs calculation 2022-12-27 11:41:00 +01:00
DJ2LS
9a4401082c catching explorer type error 2022-12-27 11:33:16 +01:00
DJ2LS
d78fcba4fb catching explorer type error 2022-12-27 10:37:34 +01:00
DJ2LS
7ed43fb3f9 moved utf8 encoding from entire data to just chat message 2022-12-27 09:53:21 +01:00
DJ2LS
f5a30e33e3 publish last heard stations to explorer 2022-12-26 21:14:23 +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
7691ba09ac record audio update 2022-12-26 12:27:13 +01:00
DJ2LS
c0e4f14da0 record audio 2022-12-26 12:11:59 +01:00
DJ2LS
424384c7ed 3nd test run with saving data from tnc 2022-12-26 10:49:37 +01:00
DJ2LS
e2d4b58e30 2nd test run with saving data from tnc 2022-12-26 10:35:58 +01:00
DJ2LS
76f24f2b31 first test run with saving data from tnc 2022-12-26 10:25:50 +01:00
DJ2LS
af851d15f3 beacon now with full grid 2022-12-25 17:08:20 +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
f896dd84c5 reduced connection attempts to 10 2022-12-25 14:24:39 +01:00
DJ2LS
f12bf7919d modem testings with disabled monitoring protection 2022-12-25 12:57:47 +01:00
DJ2LS
dcec4a4d17 attempt avoiding false positives for session id 2022-12-25 12:55:52 +01:00
DJ2LS
a946ca6555 dont send beacon when busy 2022-12-25 09:19:55 +01:00
DJ2LS
443d7931b7 small ctest adjustments 2022-12-24 23:13:21 +01:00
DJ2LS
33e0c2d497 disabled updating last received timestamp when sending nack 2022-12-24 18:39:51 +01:00
DJ2LS
af7c9cbafb reduced amount of n max retries per burst to fit which fits more to 180s timeout 2022-12-24 18:07:49 +01:00
DJ2LS
a546f0f387 better logging for debugging data received when in wrong tnc state 2022-12-24 17:55:31 +01:00
DJ2LS
6b60fd4275 increased protocol version 2022-12-24 11:27:56 +01:00
DJ2LS
c143c87d64 fixing #305 2022-12-23 21:06:42 +01:00
DJ2LS
f979fb3d7b increased logging for finding reason for failing ctest 2022-12-23 10:30:32 +01:00
DJ2LS
934bb20010
attempt fixing disconnect 2022-12-19 21:57:57 +01:00
DJ2LS
9d26472607 dxsnr for cq/qrv 2022-12-19 16:46:18 +01:00
DJ2LS
847c3928df some ssid fixes 2022-12-19 16:04:30 +01:00
DJ2LS
f64c4ff0dd some ssid fixes 2022-12-19 16:00:47 +01:00
DJ2LS
1937606526 some ssid fixes 2022-12-19 15:42:48 +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
179f4f7265 increased protocol version because of lzma compression 2022-12-13 09:17:42 +01:00
DJ2LS
dfa07f9e77 increased frame timeouts and better logging for debugging protocol error 2022-12-13 09:10:40 +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
819832127e attempt using lzma instead of zlib 2022-12-12 15:02:57 +01:00
DJ2LS
6e3edb5b30 attempt using threading.Event().wait() instead of time.sleep() 2022-12-12 12:28:52 +01:00
DJ2LS
10b925d70b fixed bug in listening state machine which caused high CPU load 2022-12-12 11:43:42 +01:00
DJ2LS
2cdea7eaa9 adjusted search range for rx buffer 2022-12-12 10:06:45 +01:00
DJ2LS
19bcde01b0 increased logging for frame nack 2022-12-11 13:07:56 +01:00
DJ2LS
2e12b2ed92 increase amount of NACK frames for failed data frame 2022-12-11 12:23:37 +01:00
DJ2LS
bdeba55f8e updated config.ini 2022-12-11 12:08:34 +01:00
DJ2LS
11512d76bf reduced logging and added transmit queue size for debugging purposes 2022-12-11 11:57:37 +01:00
DJ2LS
d9a7d392ce attempt with reduced transmission timeout to 180s 2022-12-11 11:13:55 +01:00
DJ2LS
8c0c13f227 attempt with increased data frame ACK 2022-12-11 11:00:58 +01:00
DJ2LS
ddf6cb0ee0 report IRS SNR for Ping 2022-12-10 20:46:17 +01:00
DJ2LS
3d6bf72633 define individual name for config file 2022-12-10 13:34:26 +01:00
DJ2LS
f2dd278bce reduced minimum SNR for datac1 2022-12-09 14:55:09 +01:00
DJ2LS
af889f9460 fixed config for bool value 2022-12-09 14:49:43 +01:00
DJ2LS
c499a6a524 make sure own ssid is always part of ssid list 2022-12-08 18:46:19 +01:00
DJ2LS
9dcf0959b4 make sure own ssid is always part of ssid list 2022-12-08 18:44:29 +01:00
DJ2LS
d0d853d72b make sure own ssid is always part of ssid list 2022-12-08 18:17:01 +01:00
DJ2LS
85b16c7935 fixing config file when starting from daemon.py 2022-12-08 18:09:13 +01:00
DJ2LS
b543c914a0 fixing config file when starting from daemon.py 2022-12-08 16:26:33 +01:00
DJ2LS
4c69b748d5 fixing config file when starting from daemon.py 2022-12-08 16:14:59 +01:00
DJ2LS
83b3f6a71c process disconnect frame only while not disconnected 2022-12-07 17:02:24 +01:00
DJ2LS
12933e96b7 process disconnect frame only while not disconnected 2022-12-07 16:54:00 +01:00
DJ2LS
90c4bf9360 optimised ping and connection ssid 2022-12-07 16:30:59 +01:00
DJ2LS
29c1d0ad72 make sure RX_BUFFER.maxsize is always int 2022-12-07 15:52:22 +01:00
DJ2LS
c3f198fda9 make sure RX_BUFFER.maxsize is always int 2022-12-07 15:41:37 +01:00
DJ2LS
eeffb8c6e4 fft enabled by default 2022-12-05 17:37:09 +01:00
DJ2LS
9468ceb6fc fixed a bug in callsign parsing 2022-12-05 16:57:45 +01:00
DJ2LS
02c08a71a8 better logging for modem_error_state 2022-12-05 15:49:10 +01:00
DJ2LS
ac62fe4448 more logging for TypeError when saving data 2022-12-05 15:46:57 +01:00
DJ2LS
d5a0464fd9 first attempt with catching modem error states for early NACK 2022-12-05 15:23:03 +01:00
DJ2LS
a2fd010198 sample config file 2022-12-05 13:02:43 +01:00
DJ2LS
ea1b6cb27c sample config file 2022-12-05 13:01:49 +01:00
DJ2LS
fa7360f1f3 catch python error for possible bug 2022-12-05 08:43:19 +01:00
DJ2LS
9941c7ea4d arq cleanup improvements 2022-12-05 08:23:18 +01:00
DJ2LS
6ea653c5aa changed config, moved to default enabled FFT 2022-12-05 07:44:51 +01:00
DJ2LS
8251b35ebb added respond to call 2022-12-04 16:56:32 +01:00
DJ2LS
8b2412de96 added respond to call 2022-12-04 16:56:12 +01:00
DJ2LS
4b5622647e improved config file error handling 2022-12-04 16:43:50 +01:00
DJ2LS
7cd01e1e74 check if selecting audio devicename by string or id 2022-12-04 16:22:11 +01:00
DJ2LS
45a5e60b2b small comment improvement 2022-12-04 16:12:56 +01:00
DJ2LS
bc72e5f3ba set audio device by name 2022-12-04 16:12:43 +01:00
DJ2LS
ca955b1ff2 catch harmless RuntimeError: Set changed size during iteration 2022-12-04 15:35:41 +01:00
DJ2LS
37da268547 changed mycallsign / dxcallsign order for network-messages 2022-12-04 13:04:29 +01:00
DJ2LS
cf4b3bf9cd first version overriding own callsign ssid 2022-12-04 13:01:09 +01:00
DJ2LS
564f4c106e first version overriding own callsign ssid 2022-12-04 12:52:25 +01:00
DJ2LS
cd2b0dc133 fixed send raw callsign override 2022-12-04 12:22:35 +01:00
DJ2LS
03d4cce4a7 attempt fixing ctests 2022-12-04 09:43:32 +01:00
DJ2LS
966198a9c3 handle foreign pings 2022-12-03 14:05:39 +01:00
DJ2LS
913bce2ea5 handle foreign pings 2022-12-03 14:04:09 +01:00
DJ2LS
048b5c85b5 introduced self.dxcallsign 2022-12-03 13:59:05 +01:00
DJ2LS
5099981472 increased version 2022-12-01 17:52:18 +01:00
DJ2LS
df52b15e0f reduced arq session timer again for avoiding disconnection problems 2022-12-01 12:15:52 +01:00
DJ2LS
d03b15b99e fixed rigctld bandwidth toggle 2022-12-01 11:46:30 +01:00
DJ2LS
9295b8e8ed reduced timeouts - another attempt 2022-12-01 11:15:49 +01:00
DJ2LS
93e5d301cd increased arq timeout again to avoid timing issues 2022-12-01 10:14:52 +01:00
DJ2LS
f3defd8600 fixed network message 2022-12-01 10:09:44 +01:00
DJ2LS
65cfd52d81 introduced static.LISTEN state 2022-12-01 10:05:24 +01:00
DJ2LS
b57fb299b4 improved network info messages for arq session, also increased heartbeat timer 2022-12-01 09:50:44 +01:00
DJ2LS
a25ff279ad better logging of network messages 2022-12-01 09:06:28 +01:00
DJ2LS
9314e680c9 small fix adding callsigns to network info messages 2022-12-01 09:04:11 +01:00
DJ2LS
f8b551ceb1 shorter rigctld error message 2022-12-01 08:56:21 +01:00
DJ2LS
af1fc99e23 improved logging for increasing speed level 2022-12-01 08:51:21 +01:00
DJ2LS
4cf35381c0 add mycallsign and dxcallsign to network message if they not exist 2022-11-30 19:35:23 +01:00
DJ2LS
f4c120bc37 added snr check before increasing speed level 2022-11-30 17:58:50 +01:00
DJ2LS
e1d4bfa899 version update 2022-11-29 08:59:12 +01:00
DJ2LS
ff3ee7b3cf disabled not needed config parameters. TODO: Need to remove them if not crashing 2022-11-29 08:50:00 +01:00
DJ2LS
f426964bdf added ssid to config 2022-11-29 08:46:11 +01:00
DJ2LS
65cab5fa3c fixed crash if audio volume has wrong type 2022-11-29 08:45:14 +01:00
DJ2LS
1c00fcd13b fixed ssid list parameter 2022-11-29 07:45:17 +01:00
DJ2LS
bf1c630977 catching audio error when closing headless tnc 2022-11-29 07:42:14 +01:00
DJ2LS
f9b0fc7da8 added respond to cq command via network 2022-11-29 07:28:28 +01:00
DJ2LS
8e6e464bfc version update 2022-11-25 17:02:04 +01:00
DJ2LS
a322e949c0 hotfix attempt for not allowing artifact uploads when testing 2022-11-25 16:01:15 +01:00
DJ2LS
0d49340d7e hotfix attempt for not allowing artifact uploads when testing 2022-11-25 15:59:07 +01:00
DJ2LS
b5708b2e01 fixes and closes #108 2022-11-25 14:34:26 +01:00
DJ2LS
93f90f2345 updated dBFS from mean to max value 2022-11-23 13:46:42 +01:00
DJ2LS
1279ef20e0 small fix for rigdummy 2022-11-20 22:13:57 +01:00
DJ2LS
71c49c1336 added PyAudio for Python 3.11 2022-11-20 21:11:00 +01:00
DJ2LS
aab4fdf17f adjusted logging #289 2022-11-20 18:38:48 +01:00
DJ2LS
1811e4a02e adjusted logging #289 2022-11-20 18:37:44 +01:00
DJ2LS
4c877357f7 adjusted logging 2022-11-20 18:34:45 +01:00
DJ2LS
bd198d7c67 disallow disconnect when disconnected, disconnecting, failed #289 2022-11-20 18:19:56 +01:00
DJ2LS
41d3c7fc82 disabled session-close double call and increase N disconnect frames 2022-11-20 16:39:42 +01:00
DJ2LS
a901944268 updated rigdummy 2022-11-20 13:52:00 +01:00
DJ2LS
d3f64ec60d added failed state to connect white list #289 2022-11-20 12:54:59 +01:00
DJ2LS
89369f8208 small fixes for #288 2022-11-20 12:03:45 +01:00
DJ2LS
ccff03705d small fixes for #288 2022-11-20 12:02:53 +01:00
DJ2LS
ea599f51e3 first test run with overriding connection attempts #288 2022-11-20 11:58:15 +01:00
DJ2LS
a8a643f15a first test run with overriding connection attempts #288 2022-11-20 11:54:43 +01:00
DJ2LS
38281ec06c first test run with overriding connection attempts #288 2022-11-20 11:44:29 +01:00
DJ2LS
03987de194 make arq connection behavior more simple #285 2022-11-20 00:20:32 +01:00
DJ2LS
87c08652b8 updated pybuilder spec file 2022-11-19 11:00:55 +01:00
DJ2LS
1b75947581 disabled rig and rigctl usage 2022-11-19 10:54:52 +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
2a4f6c950f small rigctld fix 2022-11-19 10:14:59 +01:00
DJ2LS
f3bdddd644 small cleanup 2022-11-19 10:11:08 +01:00
DJ2LS
5e91a874f0 improved rigctld output 2022-11-19 10:05:17 +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
8b9cd83c71 added hamlib connection state indicator 2022-11-18 13:10:26 +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
ffe249da3f another session connect fix 2022-11-18 10:29:20 +01:00
DJ2LS
b29df86339 fixed err logging 2022-11-18 10:22:45 +01:00
DJ2LS
5f6ee51fac first attempt with improved session connect #285 2022-11-18 10:09:16 +01:00
DJ2LS
7d99f89911 improved channel busy detection 2022-11-18 00:03:18 +01:00
DJ2LS
ce32d589ab increased channel busy counter 2022-11-17 22:41:46 +01:00
DJ2LS
503fa52696 arq waiting modal if channel busy 2022-11-17 22:17:50 +01:00
DJ2LS
d71fb3c640 wait with arq transmission if channel busy 2022-11-17 22:09:16 +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
cd9b8e5173 interrupt arq session while opening 2022-11-17 14:55:20 +01:00
DJ2LS
0326cf612a fixes #281 2022-11-12 12:40:32 +01:00
DJ2LS
61c813f141 first irs snr test 2022-11-11 12:57:14 +01:00
DJ2LS
51f70b27d6 updated import 2022-11-11 11:18:07 +01:00
DJ2LS
b761471ec3 snr fix 2022-11-09 20:47:46 +01:00
DJ2LS
553013cbb4 catch config file reading error closes #273 2022-11-09 12:23:59 +01:00
DJ2LS
508fbe05af removed add to heard station when disconnecting closes #278 2022-11-09 12:19:56 +01:00
DJ2LS
e30ea05671 hotfix for fixing gui error 2022-11-09 09:14:38 +01:00
DJ2LS
93994610a8 hotfix for fixing gui error 2022-11-09 08:40:32 +01:00
DJ2LS
0f6685b0e2 updated version 2022-11-08 20:06:37 +01:00
DJ2LS
0fdcc40511 version update 2022-11-08 09:51:46 +01:00
DJ2LS
9c0e27e478 reduced logging 2022-11-08 09:45:26 +01:00
DJ2LS
77bfe28e2d added beacon state to explorer 2022-11-08 09:22:17 +01:00
DJ2LS
3c0e0b150d added hostapi name to audio device 2022-11-08 09:08:44 +01:00
DJ2LS
37c69031da moved randbytes to np.random.bytes for python3.7 compatibility 2022-11-07 15:14:20 +01:00
dj2ls
ce69f2c34d hotfix: updated build step 2022-11-06 19:26:47 +01:00
dj2ls
576c9f94f8 hotfix: disabled selftest 2022-11-06 18:37:47 +01:00
dj2ls
33e6a6784a hotfix: version update 2022-11-06 18:26:52 +01:00