Commit graph

788 commits

Author SHA1 Message Date
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
dj2ls
fadd3d9b78 hotfix: increased explorer pull interval 2022-11-06 17:36:33 +01:00
dj2ls
97183ecd8e updated version 2022-11-06 17:10:57 +01:00
dj2ls
30c1844ce4 increased publising interval 2022-11-05 22:32:37 +01:00
dj2ls
fc876c014a small cleanup 2022-11-05 22:32:04 +01:00
dj2ls
826a39ca4d first version with freedata explorer 2022-11-05 22:27:33 +01:00
dj2ls
a69badc88c version update 2022-11-03 09:47:38 +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
5c041161e6 revert increase protocol and app version 2022-10-26 12:11:39 +02:00
dj2ls
b3726cfae5 increase protocol and app version 2022-10-26 09:42:18 +02:00
dj2ls
0e28e2e3a2 resolve merge conflict 2022-10-26 09:38:42 +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
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
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
cdb12861a5 fix with enable/disable sig0/1 2022-10-10 09:46:29 +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
dj2ls
d365255a95 arq cleanup after sending close frames 2022-10-06 11:47:19 +02:00
dj2ls
d865edcfe7 removed delay between repeated frames 2022-10-06 11:36:14 +02:00
dj2ls
47f6e54b6d first working arq transmission with session id 2022-10-06 11:35:12 +02:00
dj2ls
1db840e1f4 attempt to fix rx data 2022-10-06 11:21:36 +02:00
dj2ls
775bcc0015 removed unused variable 2022-10-06 10:12:46 +02:00
dj2ls
54285c1c69 another attempt fixing audio problems 2022-10-06 10:12:46 +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
0ab0f444a2 simplified session id check 2022-10-05 20:28:47 +02:00
dj2ls
7a682219cc several pep improvements 2022-10-05 20:27:38 +02:00
dj2ls
3d044189ac move to session id instead of crc 2022-10-05 19:24:50 +02:00
DJ2LS
6d97dc2ebe
Merge pull request #253 from DJ2LS/ls-gui
WIP: new rigctld control interface
2022-10-04 09:35:52 +02:00
DJ2LS
8c6652aad2
Merge pull request #254 from DJ2LS/ls-config-file 2022-10-04 08:01:11 +02:00
Paul Kronenwetter
bb2fe37e54 Add more (all) device data to checksum 2022-09-20 19:26:33 -04:00
Paul Kronenwetter
3e704d5015 Add CRC to audio device names 2022-09-20 19:26:33 -04:00
Paul Kronenwetter
2f84a1b235 Move logging up a level 2022-09-20 19:26:33 -04:00
dj2ls
57908105d3 fix for additional parameters not covered by gui 2022-09-20 12:23:28 +02:00
dj2ls
cd8a2d73e5 updated logging 2022-09-20 11:36:11 +02:00
dj2ls
4f199744bd first config file attempt 2022-09-20 11:34:28 +02:00
Paul Kronenwetter
d9310d9473 Correct logging information 2022-09-19 19:05:35 -04:00
Paul Kronenwetter
93de50b0a4 Additional logging 2022-09-19 19:05:35 -04:00
Paul Kronenwetter
3c287b63a7 Add logging. 2022-09-19 19:05:35 -04:00
Paul Kronenwetter
e5eee0b3b2 Move comment to appropriate place. 2022-09-19 19:05:35 -04:00
Paul Kronenwetter
eb71b6ba88 Capture KeyError without printing anything 2022-09-19 19:05:35 -04:00
Paul Kronenwetter
1614e8b18a Alternate method.
Use set rather than list in fetch_devices.
Has the intended effect vs. the previous commit.
2022-09-19 19:05:35 -04:00
Paul Kronenwetter
ea1fa38ecc Create get_audio_devices list from set.
This eliminates duplicates without a lot of gyrations.
2022-09-19 19:05:35 -04:00
dj2ls
0bc136099c 4 carrier test 2022-09-16 17:28:00 +02:00
dj2ls
c0588f758a 3 carrier test 2022-09-16 17:07:58 +02:00
dj2ls
f8c72d2b6b upload app bundle artifacts and version increment 2022-09-12 09:16:28 +02:00
dj2ls
dba7f63de8 cleanup and improved logging 2022-09-08 15:47:23 +02:00
dj2ls
b3595fb033 cleanup and improved logging 2022-09-08 15:36:53 +02:00
dj2ls
f19381a6e5 first working SNR measured data channel 2022-09-08 15:21:45 +02:00
dj2ls
5f18c7a37b first test with SNR measurement on initial opening a data channel 2022-09-08 14:54:39 +02:00
dj2ls
cb37f39b66 increased connection attempts and reduced interval time 2022-09-08 11:18:50 +02:00
dj2ls
c9bcfcbc04 added on air time measurement for easier time debugging 2022-09-08 10:19:07 +02:00
dj2ls
1924189bdc minor fix with different channel constellation 2022-09-08 10:18:47 +02:00
dj2ls
863444c010 change buffer size via gui, some small buffer improvements 2022-09-05 11:54:50 +02:00
dj2ls
42560fda6f buffer size as startup argment for tnc. Not yet changeable via GUI 2022-09-05 10:47:03 +02:00
dj2ls
830b62583b first version with RX_BUFFER as queue #233 2022-09-05 10:37:50 +02:00
dj2ls
dbffd1f01d removed mode 255 from mode list 2022-09-05 09:04:35 +02:00
dj2ls
073f26ace8 hotfix for #240 and failing GitHub action 2022-09-04 19:45:15 +02:00
DJ2LS
6e079bcdb9
Merge pull request #237 from DJ2LS/update_github_action
Update GithubAction
2022-07-14 08:54:46 +02:00
DJ2LS
a4af8f37e2 GithubAction build test 2022-07-06 15:40:57 +02:00
Paul Kronenwetter
c84a4a29a1 Remove unused received_mycall_crc 2022-07-04 17:27:35 -04:00
Paul Kronenwetter
cd00eaa851 Restore Python 3.6 compatibility 2022-07-04 17:18:10 -04:00
Paul Kronenwetter
4a50c9c9d0 Remove compression factor calculation.
This is done in arq_transmit and should not be needed here.
2022-07-03 14:06:01 -04: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
Paul Kronenwetter
9b7056a774 Misc additions. 2022-07-02 16:20:51 -04:00
Paul Kronenwetter
953e981e18 Avoid setting global / class state for unrelated frame. 2022-07-02 16:20:14 -04:00
Paul Kronenwetter
06c11e0537 Remove unnecessary callsign checks.
Add notes.
2022-07-02 16:19:33 -04:00
Paul Kronenwetter
ee82cfe967 Use dispatcher for command and received frame handling. 2022-07-02 16:14:05 -04:00
Paul Kronenwetter
805b85dadf Correct typo from errant paste. 2022-06-24 15:22:16 -04:00
Paul Kronenwetter
5619a71340 Add information to sock logs.
Minor formatting changes.
Other minor log changes.
2022-06-24 14:55:59 -04:00
Paul Kronenwetter
5922c722ad
Merge branch 'main' into refactor_N2KIQ_data_enums 2022-06-24 10:03:42 -04:00
Paul Kronenwetter
1d760d61af Rename ACK to BURST_ACK. 2022-06-24 09:48:50 -04:00
Paul Kronenwetter
efc9950090 Remove manual mode. 2022-06-24 09:42:13 -04:00
Paul Kronenwetter
62cfdea72b Add FREEDV_MODE enum usage in test frame. 2022-06-24 09:39:56 -04:00
Paul Kronenwetter
d16e98f4cd Remove datac0 from high/low bandwidth mode lists.
Datac0 causes frame CRC errors, removing from mode lists.
Shorten codec2.FREEDV_MODE by import alias.
Use FREEDV_MODE enum in logs for easier debugging.
Minor reformatting.
2022-06-24 09:22:46 -04:00
Paul Kronenwetter
275e017a05 Restore a section errantly removed. 2022-06-23 18:16:32 -04:00
Paul Kronenwetter
4a23984360 Remove allmodes (255) option from TNC.
First attempt.
2022-06-21 18:47:18 -04:00
Paul Kronenwetter
55e229c62a Use FRAME_TYPE enum instead of plain int.
Update FRAME_TYPE enum for missing items.
2022-06-21 18:33:55 -04:00
Paul Kronenwetter
ac6ec55c5c Bump module to 0.4.3-alpha 2022-06-20 20:11:07 -04:00
Paul Kronenwetter
1deed67bfb
Merge pull request #219 from DJ2LS/issue_218_fix_with_test
Issue 218 fix with test
2022-06-20 20:02:14 -04:00
Paul Kronenwetter
9cb2cebddd Merge remote-tracking branch 'origin/main' into issue_205_ping_no_call 2022-06-19 17:11:21 -04:00
Paul Kronenwetter
71bc562189 Fix for issue #218. 2022-06-19 16:45:06 -04:00
Paul Kronenwetter
e190ac3569 Merge remote-tracking branch 'origin/main' into tests_N2KIQ_202206 2022-06-19 10:09:13 -04:00
Paul Kronenwetter
4a8f9ce6d0 Correct merge omission 2022-06-19 08:47:56 -04:00
Paul Kronenwetter
8a5eea4dd5
Make log_handler a little more flexible. (#215) 2022-06-19 12:33:37 +00:00
Paul Kronenwetter
8242f61309
Add FRAME_TYPE enum to static (#216)
* Add FRAME_TYPE enum to static

* Add SESSION_ to three values.
2022-06-19 12:33:10 +00:00
Paul Kronenwetter
292754af2d Initial cut of fix for issue #206. 2022-06-17 19:48:47 -04:00
Paul Kronenwetter
f1b4f33eed Merge branch 'main' into tests_N2KIQ_202206 2022-06-17 06:45:03 -04:00
Paul Kronenwetter
b8ac18bc54
Merge branch 'main' into bugfix_issue_207 2022-06-15 20:06:31 -04:00
Paul Kronenwetter
c15b11fe7b Fix tests and tnc after merge. 2022-06-15 19:42:12 -04:00
Paul Kronenwetter
f695e6e2af Collapse repeated code to a function.
Add function parameter and return types.
Move logging to a class variable.
Extended use of FREEDV_MODE enum.
Moved TESTING check to arq_cleanup.
2022-06-15 19:40:14 -04:00
Paul Kronenwetter
2d5ebd5846 Minor reworking of the source Pythonness. 2022-06-15 19:40:14 -04:00