Commit graph

153 commits

Author SHA1 Message Date
DJ2LS
adf800b822 changed bandwith typo --> this could break some things.. 2022-05-28 14:08:33 +02:00
Paul Kronenwetter
2fa9aead44 Another round of formatting changes.
Implement class-level logging in places.
2022-05-27 22:17:15 -04:00
Paul Kronenwetter
98c1030c24 Incorporate some changes from pep8_improvements.
Simplify structlog calls.
Other refactoring.
2022-05-25 21:23:30 -04:00
Paul Kronenwetter
08202bbaec Prefer double- over single-quote.
Other minor fixes.
2022-05-25 18:27:33 -04:00
DJ2LS
e05bc262ad and some more typos and whitespace correction.. 2022-05-23 14:26:14 +02:00
DJ2LS
7a530175f8 Accepted some Sourcery solutions 2022-05-23 14:02:22 +02:00
DJ2LS
d992fd8dc0 Second run reducing number of problems 2022-05-23 13:11:16 +02:00
Paul Kronenwetter
9ad1e22470 Fix bandwidth spelling for hamlib. 2022-05-22 13:05:47 -04: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
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
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
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
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
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
f190afa94a additional arq session state information 2022-03-11 20:38:28 +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
958991aff8 added command responses
every network command will be acknowleded now
2022-03-08 08:44:19 +01:00
dj2ls
7134361267 improved rigctld network integration 2022-03-06 17:23:04 +01:00
dj2ls
1519c22358 connection mode, documentation, ...
changes in all areas
2022-03-04 16:50:32 +01:00
dj2ls
326391ccd8 moved to native bootstrap-icon usage
also introduced a speed level field for tnc_state
2022-02-22 21:05:48 +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
2d3a3735ec fixed multiprocessing issue with audio devices
usage of data manager between multiprocessing communication
2022-02-17 16:52:11 +01:00
dj2ls
efc700b1f7 possible fix for #132
it seems, pyaudio isnt terminated correctly. running it within a subprocess which will be closed after execution, pyaudio seems to be terminated and not causing a problem anymore on raspberry pi. Yay
2022-02-17 10:11:12 +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
35d95bbb14 500hz mode, protocol improvements....
...and a lot of different changes. Also deactivated single mode transmission. This needs to be optimised another day...Time is the missing ressource...
2022-02-08 15:27:34 +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
3835e19c4a updated command stack
also fixed a problem with receiving data within GUI #129
2022-01-30 14:16:08 +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
1e109da2e4 rigctld port fix and stuck in re opening data channel
data channel stuck in opening process when opening datachannel failed
2022-01-24 23:29:34 +01:00
dj2ls
43aa469633 hotfix for rigctld
fixing wrong ip and improved error handling so rigctld is hopefully not crashing for the early testers out there
2022-01-24 22:01:01 +01:00
dj2ls
5bdd6c569e increased CRC
increased crc for callsigns to CRC16 and for data to CRC32
2022-01-24 19:42:59 +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
2c57923c11 new daemon
non blocking and multi client support also attempt of fixing #129
2022-01-22 20:39:37 +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
53aefc0f80 send end of transmission frame
closes #113
2022-01-10 18:09:38 +01:00
dj2ls
0a9b7febfe fixed message transfer 2022-01-07 18:25:38 +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
63d73b63f3 small network improvements
tests with fifo queue where not that successfull. This is a part we need to look later on closes #107 and closes #105
2022-01-06 22:15:14 +01:00
dj2ls
982569fa1a moved callsign and grid to daemon settings
closes #101
2022-01-05 14:15:59 +01:00
DJ2LS
71be19ecc4
Merge branch 'main' into ls-hamlib-test 2022-01-05 11:54:31 +01:00
dj2ls
2bf2f8b3ff cleanup, stopping transmission, modem timing...
I changed some parts which are R&D as well
2022-01-04 11:55:55 +01:00
dj2ls
1f6c53ecf0 improved rx stats 2022-01-03 00:27:05 +01:00
dj2ls
0f5f5fe719 added compression
lets see how it performs
2021-12-30 12:41:41 +01:00
dj2ls
033dbf08fb first version ARQv2 2021-12-29 20:54:22 +01:00
dj2ls
e4d36e5f21 first rigctl fallback thanks Franco 2021-12-28 17:05:48 +01:00
dj2ls
3c09b1d5e1 removed BER
not needed
2021-12-27 13:25:31 +01:00
dj2ls
b0448ee7ce decreased data frame header size
reduced header size 10%
2021-12-26 17:04:59 +01:00
dj2ls
c5d8f5a259 changed deviceid to devicename
this improves readability
2021-12-26 09:20:58 +01:00
dj2ls
4b73f9c19f start of modem rewriting 2021-12-25 17:05:38 +01:00
dj2ls
5c4667d97d beacon mode
a first working beacon mode so we can use it for first real hf tests....
2021-12-06 20:16:14 +01:00
dj2ls
82ddb6a297 modem tests
updated the modem and codec2 integration. However, this is the old modem. Maybe we need to stay at this point. Lets see how this version performs...hmpf...
2021-12-05 20:11:38 +01:00
DJ2LS
5218eb3909 chat message test 2021-11-19 17:30:17 +01:00
DJ2LS
f8cc8c58c8 new logging
still not finished....
2021-11-18 19:40:22 +01:00
DJ2LS
df38ee01ba gui & tnc improvements
displaying now frequency offset and frequency in heard stations. Decreased size of receiving audio buffer, which seems to optimize RX
2021-10-24 14:44:55 +02:00
DJ2LS
b2ac19a1a3 fixed typos #51 2021-10-17 17:22:07 +02:00
DJ2LS
5bfd745747 data_handler ready for chat messages
data handler is now ready for chat messages. I updated the data frame with an additional information -datatype- so we can determine if we received a file or a message. Each datatype will be saved into an own buffer. The gui has been updated as well, so we can forward data directly to a future chat module...
2021-10-17 16:59:15 +02:00
DJ2LS
82f307cf1f introduced info toasts #80
first attempt with info toasts which seems to work fine. Next step will be adding more detailed information to them like a progress bar and specific closing
2021-10-07 21:04:23 +02:00
DJ2LS
2d18767fe6 bug fix closes #78 and network optimization 2021-10-05 21:03:15 +02:00
DJ2LS
8b08cc6e6b stop transmission
first attempt with stopping a transmission after the processing the current burst. Logging is a little bit ugly at this point, because it looks like a frame got lost. However, the transmission stops. CLI output is only visible for people interested in debugging...
2021-10-02 11:29:08 +02:00
DJ2LS
794f8b221a code cleanup
gute code clean up with much less global variables now. ARQ beahvior has also been cut down. There can be done even more...
2021-09-27 17:33:59 +02:00
DJ2LS
e435e6e835 redesign of arq handler 2021-09-26 17:51:11 +02:00
DJ2LS
5c7e05ef70 better pep8 conformity 2021-09-25 15:24:25 +02:00
DJ2LS
c478b9cbbf serveral stability improvements
moved hamlib polling into own thread. testing with smaller socket chunks
2021-09-24 17:16:38 +02:00
DJ2LS
98f52dfa2e improved socket
only read one line to avoid decoding errors
2021-09-24 10:09:47 +02:00
DJ2LS
b813e8562c minor modem change
problems can occur. changed modem to simultaneous decoding. socket now multithreaded. huge code cleanup neccesary
2021-09-23 17:49:45 +02:00
DJ2LS
ea9b91df9b git cli test - 2 2021-09-16 17:19:45 +02:00
DJ2LS
f52d0ea452
updated transfer calculation 2021-09-11 09:21:22 +02:00
DJ2LS
b921c1b33b
updated logging: save to file 2021-09-10 17:59:01 +02:00
DJ2LS
68d0e70a61
reset sock connection on decoding error 2021-09-08 18:23:26 +02:00
DJ2LS
efc6bc8ea5
small improvements 2021-09-08 18:04:21 +02:00
DJ2LS
32762703c9
improved transfer rate calculation 2021-09-06 20:31:12 +02:00
DJ2LS
ee188b882a
moved to ujson 2021-08-23 18:14:00 +02:00
DJ2LS
a15fa7b416
typo 2021-08-23 15:56:05 +02:00
DJ2LS
e70fa50bb1
typo 2021-08-23 15:23:43 +02:00
DJ2LS
63b68c479e
Add files via upload 2021-08-18 20:03:38 +02:00
DJ2LS
e8ab2740b8
optimized json output RXBUFFER 2021-08-17 20:00:57 +02:00
DJ2LS
43c3f0c626
preparing for rx buffer 2021-08-16 19:41:20 +02:00
DJ2LS
2700a0fffa
update to frame for sending data 2021-08-15 18:32:25 +02:00
DJ2LS
041dee89c7
updated data frame 2021-08-15 18:15:08 +02:00
DJ2LS
74addad65a
code cleanup 2021-08-15 17:28:35 +02:00
DJ2LS
5efe491881
transmission progress 2021-08-14 20:00:32 +02:00
DJ2LS
cf5813e876
small socket improvement 2021-08-08 12:07:26 +02:00
DJ2LS
38df869fe1
small socket improvement 2021-08-08 12:06:09 +02:00
DJ2LS
5a9f603c46
time of execution 2021-08-08 11:43:09 +02:00
DJ2LS
fc5fea3b4e
better error handling 2021-08-08 11:08:34 +02:00
DJ2LS
2c79093d67
attempt to get all data from one command 2021-08-07 19:57:21 +02:00
DJ2LS
59404404b8
less terminal output 2021-08-07 11:14:49 +02:00
DJ2LS
c0ec0c1853
scatter plott support 2021-08-06 22:09:16 +02:00
DJ2LS
29345a7797
added SNR to heard stations 2021-07-28 18:43:41 +02:00
DJ2LS
4ac984cd21
updated heard stations 2021-07-25 18:00:18 +02:00
DJ2LS
2ec1f7ead7
select serial speed 2021-07-25 16:34:28 +02:00