Commit graph

1548 commits

Author SHA1 Message Date
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
Paul Kronenwetter
5c6cee1c21
Enhance tests (#185)
* Initial attempt to create unit tests for DATA class (tnc).

* Completed initial set of tests.

* Adding pytest to install packages.

* Corrects issue #173 fix

I didn't look carefully enough at `helpers.check_callsign` to see that it returns a list. The first element of the list is `True`/`False`.

* Making check_callsign evaluation more consistent.

* Update .gitignore

this is more a test commit to see if GitHub Client for MacOS is working,

* mkfifo test prototype

First partially working prototype for testing the full tnc with mkfifo named pipes.

* single tnc test file

moved to a single file for running tnc tests

* fixed typo

* Added parameters to tests.

Make other minor tweaks and documentation.

* Clean up two existing tests.

Adapted both tests to pytest and maintained
compatibility with existing ctest method.
Tweaked CMakeLists.txt .

* Adding pure python  highsnr_stdio_P_P_multi test.

Intended to replace highsnr_stdio_P_P_multi which uses POSIX shell.

* Adding pure python  highsnr_stdio_P_P_datac0 test.

Intended to replace highsnr_stdio_P_P_datac0 which uses POSIX shell.

* Parameterize recent tests.

Renamed datac0 to datacx after including all data codecs in test.

* Parameterize mode as well.

Add ability to run tests from main directory as well as within test/.

* Add list of tests and brief descriptions.

* Add more native python tests conversions.

* Update README with new tests.

* Tweak README again.

* Rename test to be findable by pytest.

* Rename test for ctest.

* Update correct file this time.

* Minor test tweaks.

* Add modem test proof-of-concept.

* Adjustment to ARQ short test.

* Various refactorings.

Type hints, trailing backslash, range usage, etc.

* Ignore unknown arguments in argparse.

* Minor cleanups.

* Update test/README.md.

* Update test_pa to quiet pylint.

* Give up trying to suppress structlog output.

* Correct module comments.

* Remove excess trailing spaces.

* Remove excess newlines.

* Various refactorings.

Type hints, trailing backslash, range usage, etc.

* mkfifo test prototype

First partially working prototype for testing the full tnc with mkfifo named pipes.

* Update test_tnc and tweak IRS/ISS.

* Correct test_modem to detect failures.

* Trying to be less dependent on env variables.

* Add IRS/ISS tests to ctests

* Pin codec2 revision to v1.0.3.

* Correcting git mistake.

* Pin codec2 revision to master.

This should be a specific release, that implements freedv_set_tuning_range.

Co-authored-by: DJ2LS <75909252+DJ2LS@users.noreply.github.com>
2022-05-21 23:04:17 +00:00
DJ2LS
fa7fe909a0
Merge pull request #198 from DJ2LS/fix_tnc_issue188_189 2022-05-20 15:03:58 +02:00
dj2ls
b62aa05dbe removed nested state check 2022-05-20 14:38:43 +02:00
dj2ls
18d4cd3cb4 print error message for debugging #190 2022-05-20 11:12:22 +02:00
dj2ls
522a1d3d53 increased alpha version information as we still fix bugs caused by initial v0.4.0 release. 2022-05-20 11:09:53 +02: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
5317c8081a fixed speed level 2022-05-19 22:37:27 +02:00
dj2ls
1f66f54f5f first attempt of fixing #189 2022-05-19 22:15:24 +02:00
DJ2LS
a1c09c7fd9
Merge pull request #195 from DJ2LS/ls-fix-139
fixed #139
2022-05-19 16:52:39 +02:00
dj2ls
2f767a0cf3 fixed #139 2022-05-19 16:48:21 +02:00
dj2ls
9f8f17b633 reduced amount of buttons needed for file transfer 2022-05-19 13:01:37 +02:00
dj2ls
9e7850e1bc enabled old file transfer
we need this for supporting raspberry pi until #181 is fixed
2022-05-19 12:05:43 +02:00
dj2ls
f65f96c75f version update 2022-05-19 07:20:29 +02:00
dj2ls
3eca209b85 hamlib typo 2022-05-19 07:19:51 +02:00
Paul Kronenwetter
8b00199356 Updating version. 2022-05-18 20:05:28 -04:00
Paul Kronenwetter
4ce0fb4de9 Pyinstaller 5.1 breaks our build. 2022-05-18 18:33:54 -04: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
DJ2LS
2a109844e3
Merge pull request #187 from DJ2LS/refactor_N2KIQ_202205
Refactor TNC modules
2022-05-15 20:45:33 +02:00
Paul Kronenwetter
8a5e290a30 Various refactorings.
Type hints, trailing backslash, range usage, etc.
2022-05-15 11:07:56 -04:00
Paul Kronenwetter
3a70b87e21 Remove excess newlines. 2022-05-15 11:06:14 -04:00
Paul Kronenwetter
9753735c40 Remove excess trailing spaces. 2022-05-15 11:06:07 -04:00
DJ2LS
f2ef3f7ea2
Merge pull request #184 from DJ2LS/issue-173-patch2 2022-05-04 07:08:00 +02:00
Paul Kronenwetter
6e17caf3cf Making check_callsign evaluation more consistent. 2022-05-03 20:08:26 -04:00
Paul Kronenwetter
bcc15287c9
Corrects issue #173 fix
I didn't look carefully enough at `helpers.check_callsign` to see that it returns a list. The first element of the list is `True`/`False`.
2022-05-02 00:39:27 +00:00
dj2ls
c42be2e1d0 protocol hot fix 2022-05-01 17:52:28 +02:00
DJ2LS
e375cee792
Merge pull request #183 from DJ2LS/issue173_fix
Implements TODO from #173 .
2022-05-01 17:45:09 +02:00
Paul Kronenwetter
0e43f65bc2 Add function docstring to received_session_close. 2022-05-01 11:41:40 -04:00
Paul Kronenwetter
d2e38b77eb Implements another TODO from #173 .
Corrects previous fix as well.
2022-05-01 11:34:31 -04:00
Paul Kronenwetter
7b4f75f66c Implements TODO from #173 . 2022-05-01 11:07:54 -04:00
dj2ls
0e8e3d1b67 fixed file transfer for 24bit crc 2022-05-01 11:19:59 +02:00
dj2ls
4f3aa711ae fixed progress bar for failing transmission
also adjusted displaying and colors of progress bar
2022-05-01 10:55:56 +02:00
dj2ls
a2df7db3f9 improved updating process
we need to kill every freedata binary before closing or updating the tnc
2022-05-01 09:44:30 +02:00
dj2ls
69c3ccd86c updater hotfix
also fixed beacon select box beeing too small
2022-04-30 15:59:34 +02:00
DJ2LS
32b0866c8d
Merge pull request #172 from DJ2LS/v0.4.0
v0.4.0
2022-04-30 13:10:51 +02:00
dj2ls
ffff256623 arq disconnect improvement
this should fix and closes #173
2022-04-30 13:03:24 +02:00
dj2ls
ea133f054d moved simple test from pyaudio to sounddevice
thisis just a test as I'm not happy with the overall way we are dong tests. This has been great during first steps with the tnc ( virtual audio devices ) but now we should to a more reliable way with named pipes for example
2022-04-30 12:27:14 +02:00
Paul Kronenwetter
e4b901adad Adding callsign for ID after stop transmission. 2022-04-24 18:43:50 -04:00
Paul Kronenwetter
6d0d231dc7 Limit daemon and TNC error messages from GUI. 2022-04-24 18:43:30 -04:00
Paul Kronenwetter
aefee60bad Initial attempt to fix issue #179. 2022-04-24 13:30:43 -04:00
dj2ls
107daa1b47 increased disconnect bursts
lets see if this improves
#173
2022-04-24 16:11:36 +02:00
dj2ls
8b2d1ca9b2 possible fix of DOM text reinterpreted as HTML 2022-04-24 16:07:30 +02:00
dj2ls
701d01b8a7 display own callsign in app title
as wished by #176 @dk5sm
2022-04-24 15:53:51 +02:00
dj2ls
6790f18e3d updated updater
removed updaet information toasts and moved to a more clean update dialog
2022-04-24 15:34:59 +02:00
dj2ls
57e4af83af first test with 24bit crc
moved from 16bit crc to 24bit crc...First test for ping and file transfer seems to be working... This has been too easy... 🤔
2022-04-19 11:09:11 +02:00
dj2ls
42240a6ac7 removed chunk html file 2022-04-18 17:19:07 +02:00
dj2ls
a90abb122f enable/disable cq response
Enable and disable CQ response via GUI. Also moved settings to settings modal - with a small redesign. Auto updater still WIP
2022-04-18 17:17:53 +02:00
dj2ls
b1cebf0905 WIP Settings and Updater
updater not yet working, moved settings to settings modal and started working on new updater
2022-04-18 11:13:53 +02:00
dj2ls
88149830df first test with 6bit gridsquare encoding
same for grid as call - we should think about saving the callsign and gridsquare as string and not as bytes. Also increased disconnect burst number where a toggle loop occured...
2022-04-17 22:30:15 +02:00