Commit graph

472 commits

Author SHA1 Message Date
DJ2LS
ee79695449
Merge branch 'main' into ls-gui 2023-01-26 14:26:54 +01:00
DJ2LS
eb92db174d fixed ping dxcallsign 2023-01-25 20:43:00 +01:00
DJ2LS
fd49dfd629 keep tnc-message simple for transmit worker 2023-01-25 15:35:49 +01:00
DJ2LS
a03db31c61 fixed list index error 2023-01-25 14:17:41 +01:00
DJ2LS
88993a41af fixed list index error 2023-01-25 14:17:09 +01:00
DJ2LS
cd4a6b586f improved logging 2023-01-25 13:23:09 +01:00
DJ2LS
0aff7dad2d wait with command processing if already in arq state 2023-01-25 13:22:02 +01:00
DJ2LS
c0c68fce42 wait with command processing if already in arq state 2023-01-25 13:20:57 +01:00
DJ2LS
41d785f236 from random import randrange 2023-01-25 12:47:18 +01:00
DJ2LS
d40a018da3 added compression factor to tnc-message 2023-01-25 12:35:29 +01:00
DJ2LS
73fdabcbfc small code cleanup 2023-01-25 12:33:35 +01:00
DJ2LS
2e78c851e4 replacing dxgrid with spaces where no valid data available #340 2023-01-25 12:30:07 +01:00
Mashintime
532548771e Handle Bpm and Compression factor in tnc-message 2023-01-22 22:31:13 -05:00
DJ2LS
0ee9671a7d avoid double entris in speed chart list 2023-01-16 10:11:45 +01:00
dj2ls
6dcfe17c5f first version transmission chart 2023-01-13 00:14:42 +01:00
dj2ls
4904c5e7df arq session fixes 2023-01-11 16:18:29 +01:00
DJ2LS
32b181b3b0 if received ping, set dxgrid placeholder instead of default grid for avoiding wrong distance calculation 2023-01-09 18:37:00 +01:00
dj2ls
034577144b fixed test frame 2023-01-06 17:02:21 +01:00
dj2ls
9497d323c8 improved timeout reset 2023-01-06 15:50:25 +01:00
dj2ls
4a76e5fc1e display frame type when sending 2023-01-06 15:08:58 +01:00
dj2ls
3727c59584 display frame type when sending 2023-01-06 15:03:05 +01:00
dj2ls
aba556a996 fixed timeouts starting too early 2023-01-06 14:41:15 +01:00
dj2ls
252fe73d68 don't stop connecting when busy 2023-01-04 11:23:30 +01:00
dj2ls
b1f4dadcc6 possible fix of timeout bug 2023-01-04 11:04:10 +01:00
DJ2LS
501ccd9de3 possible quick and dirty fix for solving wrong byteorder problem 2023-01-01 16:41:27 +01:00
DJ2LS
dc4ea2c5dd possible quick and dirty fix for solving wrong byteorder problem 2023-01-01 10:56:09 +01:00
DJ2LS
250943f63f Merge remote-tracking branch 'origin/ls-arq' into ls-arq 2022-12-31 16:05:24 +01:00
DJ2LS
4264f7d9bb print raw data on tx 2022-12-31 16:05:08 +01:00
dj2ls
bdc407aff9 some more fixes to time 2022-12-31 13:22:34 +01:00
dj2ls
7831cdaa16 some more fixes to time 2022-12-31 13:16:10 +01:00
dj2ls
a43d90f7d8 calculate timeleft for transmission until finished 2022-12-31 12:38:46 +01:00
dj2ls
28e8aaa595 if frame NACK, show received data 2022-12-31 11:55:41 +01:00
dj2ls
36f80a5b0a reverted search area mode change 2022-12-31 11:53:24 +01:00
dj2ls
5c19d6f90e adjust search area to mode - this might avoid false positives when searching for already received data 2022-12-30 23:24:31 +01:00
dj2ls
d2dc5c98d4 reduced channel busy timeouts 2022-12-30 21:29:22 +01:00
dj2ls
1bd1781dd5 adjustment to session opener while connected 2022-12-29 23:27:16 +01:00
dj2ls
2cb7ee7893 attempt avoiding connecting while already connected 2022-12-29 19:16:47 +01:00
dj2ls
ab44e18e3e check channel busy state for ack/nack 2022-12-29 17:57:55 +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
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
76522db082 process rigctld response only if needed 2022-12-27 18:17:12 +01:00
DJ2LS
d572772df3 use busy detection while opening a channel 2022-12-27 17:11:46 +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
f896dd84c5 reduced connection attempts to 10 2022-12-25 14:24:39 +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
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
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
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
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
f2dd278bce reduced minimum SNR for datac1 2022-12-09 14:55:09 +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
c3f198fda9 make sure RX_BUFFER.maxsize is always int 2022-12-07 15:41:37 +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
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
8b2412de96 added respond to call 2022-12-04 16:56:12 +01:00
DJ2LS
45a5e60b2b small comment improvement 2022-12-04 16:12:56 +01:00
DJ2LS
37da268547 changed mycallsign / dxcallsign order for network-messages 2022-12-04 13:04:29 +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
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
df52b15e0f reduced arq session timer again for avoiding disconnection problems 2022-12-01 12:15:52 +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
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
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
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
41d3c7fc82 disabled session-close double call and increase N disconnect frames 2022-11-20 16:39:42 +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
7d99f89911 improved channel busy detection 2022-11-18 00:03:18 +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
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
b761471ec3 snr fix 2022-11-09 20:47:46 +01:00
DJ2LS
508fbe05af removed add to heard station when disconnecting closes #278 2022-11-09 12:19:56 +01:00
DJ2LS
37c69031da moved randbytes to np.random.bytes for python3.7 compatibility 2022-11-07 15:14:20 +01:00
dj2ls
58dd443325 added sig1 naming 2022-11-02 22:48:50 +01:00
dj2ls
6bb9932ce6 some pep8 changes 2022-11-02 15:29:22 +01:00
dj2ls
65dde27e6b small pep8 improvement 2022-10-28 11:11:47 +02:00
dj2ls
58e44a2dbb inline comment 2022-10-28 11:03:15 +02:00
dj2ls
4ce36dba5e inline comment 2022-10-28 11:02:23 +02:00
dj2ls
eea9ff9919 adjusted enqueue tx frame for N>1 frames and send ident frame after disconenct 2022-10-28 10:55:50 +02:00
dj2ls
5acdc338ba improved session disconnect inline documentation 2022-10-26 09:05:47 +02:00
dj2ls
7b0535193d improved session disconnect to avoid heartbeat toggle 2022-10-26 08:56:55 +02:00
dj2ls
9e312b3b3a increased waiting time for ARQ SESSION file transfer 2022-10-26 08:25:47 +02:00
Paul Kronenwetter
cf25cadc3c Suggested identification frame 2022-10-21 15:59:26 -04:00
dj2ls
616fb214d2 improved file transfer during arq session 2022-10-12 13:01:20 +02:00
dj2ls
5553009d74 improved file transfer during arq session 2022-10-12 12:54:37 +02:00
dj2ls
d98358b6ce first fixed connection session 2022-10-12 07:40:39 +02:00
dj2ls
dee94b0acb additional timeout logging 2022-10-10 10:20:56 +02:00
dj2ls
3600516a0b additional tx mode options when sending sig 2022-10-10 09:39:26 +02:00
dj2ls
b0e3d2286e enable sig modes only when needed 2022-10-10 09:00:45 +02:00
dj2ls
dad9230f3d dirty fix of stopping transmission 2022-10-06 11:57:54 +02:00