Commit graph

142 commits

Author SHA1 Message Date
Paul Kronenwetter 98c1030c24 Incorporate some changes from pep8_improvements.
Simplify structlog calls.
Other refactoring.
2022-05-25 21:23:30 -04:00
Paul Kronenwetter 87ebea6c52 Remove annoying debug message. 2022-05-23 21:22:54 -04: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
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 107daa1b47 increased disconnect bursts
lets see if this improves
#173
2022-04-24 16:11:36 +02:00
dj2ls 2daafd183a removed some info lines 2022-04-16 16:28:04 +02:00
DJ2LS faefd84ae5 Revert "black code formatting"
This reverts commit 92cfa367f3.
2022-04-11 11:10:32 +02:00
dj2ls 92cfa367f3 black code formatting 2022-04-11 11:03:54 +02:00
dj2ls c89e4beebf fixed audio device list
audio device list not complete when init after multiprocessing init. #153
2022-04-08 11:35:13 +02:00
dj2ls a2552be843 repeat frame ack and fixed repeat transmission from gui 2022-04-06 10:15:14 +02:00
dj2ls b6cf6e7c17 optimized FSK mode and chat 2022-04-03 15:26:24 +02:00
dj2ls 8f3f046655 improved logging and chat 2022-04-02 18:40:12 +02:00
dj2ls 3f35a01b94 adjust volume level on TX 2022-03-31 21:13:30 +02:00
dj2ls d3ee911186 enable/disable fsk mode 2022-03-31 12:45:44 +02:00
dj2ls d2f6c7a062 fixed audio device selection 2022-03-30 21:32:25 +02:00
dj2ls a65a677f49 updated sounddevice setup routine
this possible fixes -9998 channel errors
2022-03-30 17:53:35 +02:00
dj2ls 15217b2521 moved to sounddevice
changed audio library, changed ssid behavior, minor chat changed
2022-03-24 20:49:13 +01:00
dj2ls 3d24d47ee5 first test with FSK_LDPC
highly experimental, not working yet
2022-03-20 14:51:30 +01:00
dj2ls 4b296a48df added tuning range selector 2022-03-19 12:42:10 +01:00
dj2ls fed075451a first release of chat
several bug fixes
2022-03-14 20:21:15 +01:00
dj2ls f5f7060672 different changes
network fixes, chat fixes, gui fixes...
2022-03-12 15:06:49 +01:00
dj2ls 52310ffd4e moved beacon into own thread
this should avoid blocking states caused by the beacon
2022-03-10 20:46:34 +01:00
dj2ls d0f6686899 optimized audio processing
moved from queue to deque, decode only when not transmitting.
2022-03-08 21:00:43 +01:00
dj2ls 1519c22358 connection mode, documentation, ...
changes in all areas
2022-03-04 16:50:32 +01:00
dj2ls 25392303e4 increased callsign length and added ssid
this now more compatible to VARA to avoid confusion. Callsign length now 7 char + 1 ssid
2022-02-21 12:20:36 +01:00
dj2ls 34cf0a4b05 cleanup 2022-02-19 20:45:57 +01:00
dj2ls 406518503a fix multiprocessing support on windows 2022-02-17 14:25:22 +01:00
dj2ls 30bbf75521 fixed unclean closing
closing application now by signals closes #133
2022-02-16 09:11:32 +01:00
dj2ls d21532d0b5 busy detection & updated github action 2022-02-15 18:10:14 +01:00
dj2ls 196b18393f hamlib/settings
re-enabled hamlib thread, added a settings menu, updated package.json file
2022-02-10 14:38:55 +01:00
dj2ls 8384bf8d12 protocol/network/gui/..
changed protocol so IRS is now the speed-level master / send ptt state via network / introduced no rig mode / disable scatter and waterfall in gui and tnc/ increased network chunk size / ...
2022-02-02 21:12:16 +01:00
dj2ls 459e39daea updated socket commands and changed rx buffer behavior
..and some other changes to the gui so its compatible again with the latest socket commands. The rx buffer has now a unique id, and new structure. Also all messages and files will be saved to the same buffer. All commands which will be sent to the tnc or dameon are now written in lowercase
2022-01-28 20:07:39 +01:00
dj2ls 77adabf450 mod out locking state
an attempt with a locking state for the mod_out queue so we can process audio only, if we finished filling our mod_out queue. Possibly this solves the problems #99 #127
2022-01-23 07:10:04 +01:00
dj2ls 805a8450c5 socket non-block design
new design for non blocking network socket. Sock is now streaming status information without need for requesting it.
2022-01-20 20:38:56 +01:00
dj2ls 10d3d5c53e support for different ways controlling the radio
#121 direct, rigctl (for windows), rigctld. Highly experimental. Just to save data.
2022-01-18 19:38:05 +01:00
dj2ls 19cbaa0f11 buffer overflow counter
count while an ongoing file transfer #106
2022-01-15 20:17:19 +01:00
dj2ls a4eeea8a03 decode only if needed
this should reduce cpu load when in idle state and reduce it also when sending in specific mode. This is not yet working for AUTO mode selection. #106
2022-01-15 19:23:28 +01:00
dj2ls 28c9c673fa detect app path when running in pyinstaller
pyinstaller creates a temporary app environment
2022-01-12 07:27:42 +01:00
dj2ls 306f202c5e avoid buffer overflow #106
this is not a solution, but increases app stability beacuse we are going to a void a buffer overflow. Maybe we need to think about a mode preseelction before transmission starts
2022-01-07 13:13:18 +01:00
dj2ls e81795b45b waiting while transmission 2022-01-07 12:55:03 +01:00
dj2ls 92087da49f arq class and fifo queue processing
moved to a much more clear app design. Huge change, so problems and bugs are no surprise.
2022-01-07 11:25:28 +01:00
DJ2LS 71be19ecc4
Merge branch 'main' into ls-hamlib-test 2022-01-05 11:54:31 +01:00