not1mm 24.4.25__tar.gz → 24.4.25.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {not1mm-24.4.25 → not1mm-24.4.25.1}/PKG-INFO +2 -1
- {not1mm-24.4.25 → not1mm-24.4.25.1}/README.md +1 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/__main__.py +47 -45
- not1mm-24.4.25.1/not1mm/lib/version.py +3 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/radio.py +17 -1
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm.egg-info/PKG-INFO +2 -1
- {not1mm-24.4.25 → not1mm-24.4.25.1}/pyproject.toml +1 -1
- not1mm-24.4.25/not1mm/lib/version.py +0 -3
- {not1mm-24.4.25 → not1mm-24.4.25.1}/LICENSE +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/__init__.py +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/bandmap.py +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/checkwindow.py +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/data/JetBrainsMono-Regular.ttf +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/data/MASTER.SCP +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/data/about.ui +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/data/alpha bravo charlie delta.txt +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/data/bandmap.ui +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/data/check.png +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/data/checkwindow.ui +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/data/configuration.ui +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/data/contests.sql +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/data/cty.json +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/data/cwmacros.txt +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/data/donors.html +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/data/editcontact.ui +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/data/editmacro.ui +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/data/greendot.png +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/data/k6gte-not1mm.desktop +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/data/k6gte.not1mm-128.png +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/data/k6gte.not1mm-32.png +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/data/k6gte.not1mm-64.png +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/data/logwindow.ui +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/data/logwindowx.ui +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/data/main.ui +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/data/new_contest.ui +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/data/not1mm.html +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/data/opon.ui +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/data/phonetics/0.wav +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/data/phonetics/1.wav +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/data/phonetics/2.wav +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/data/phonetics/3.wav +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/data/phonetics/4.wav +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/data/phonetics/5.wav +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/data/phonetics/6.wav +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/data/phonetics/7.wav +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/data/phonetics/73.wav +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/data/phonetics/8.wav +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/data/phonetics/9.wav +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/data/phonetics/a.wav +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/data/phonetics/again.wav +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/data/phonetics/b.wav +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/data/phonetics/c.wav +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/data/phonetics/contest.wav +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/data/phonetics/cq.wav +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/data/phonetics/d.wav +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/data/phonetics/e.wav +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/data/phonetics/f.wav +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/data/phonetics/g.wav +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/data/phonetics/h.wav +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/data/phonetics/i.wav +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/data/phonetics/j.wav +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/data/phonetics/k.wav +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/data/phonetics/k6gte.wav +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/data/phonetics/l.wav +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/data/phonetics/m.wav +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/data/phonetics/mynumber.wav +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/data/phonetics/n.wav +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/data/phonetics/nil.wav +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/data/phonetics/o.wav +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/data/phonetics/p.wav +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/data/phonetics/q.wav +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/data/phonetics/r.wav +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/data/phonetics/roger.wav +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/data/phonetics/s.wav +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/data/phonetics/space.wav +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/data/phonetics/t.wav +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/data/phonetics/thankyou.wav +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/data/phonetics/thankyouqrz.wav +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/data/phonetics/u.wav +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/data/phonetics/v.wav +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/data/phonetics/w.wav +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/data/phonetics/x.wav +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/data/phonetics/y.wav +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/data/phonetics/yourcall.wav +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/data/phonetics/z.wav +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/data/pickcontest.ui +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/data/radio_green.png +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/data/radio_grey.png +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/data/radio_red.png +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/data/reddot.png +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/data/settings.ui +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/data/ssbmacros.txt +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/data/vfo.ui +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/fsutils.py +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/lib/__init__.py +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/lib/about.py +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/lib/cat_interface.py +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/lib/cwinterface.py +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/lib/database.py +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/lib/edit_contact.py +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/lib/edit_macro.py +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/lib/edit_opon.py +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/lib/edit_station.py +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/lib/ft8_watcher.py +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/lib/ham_utility.py +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/lib/lookup.py +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/lib/multicast.py +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/lib/n1mm.py +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/lib/new_contest.py +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/lib/plugin_common.py +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/lib/select_contest.py +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/lib/settings.py +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/lib/super_check_partial.py +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/lib/versiontest.py +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/logwindow.py +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/plugins/10_10_fall_cw.py +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/plugins/10_10_spring_cw.py +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/plugins/10_10_summer_phone.py +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/plugins/10_10_winter_phone.py +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/plugins/__init__.py +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/plugins/arrl_10m.py +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/plugins/arrl_dx_cw.py +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/plugins/arrl_dx_ssb.py +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/plugins/arrl_field_day.py +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/plugins/arrl_rtty_ru.py +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/plugins/arrl_ss_cw.py +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/plugins/arrl_ss_phone.py +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/plugins/arrl_vhf_jan.py +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/plugins/arrl_vhf_jun.py +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/plugins/arrl_vhf_sep.py +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/plugins/canada_day.py +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/plugins/cq_160_cw.py +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/plugins/cq_160_ssb.py +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/plugins/cq_wpx_cw.py +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/plugins/cq_wpx_ssb.py +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/plugins/cq_ww_cw.py +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/plugins/cq_ww_ssb.py +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/plugins/cwt.py +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/plugins/general_logging.py +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/plugins/iaru_hf.py +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/plugins/jidx_cw.py +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/plugins/jidx_ph.py +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/plugins/naqp_cw.py +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/plugins/naqp_ssb.py +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/plugins/phone_weekly_test.py +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/plugins/stew_perry_topband.py +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/plugins/winter_field_day.py +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm/vfo.py +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm.egg-info/SOURCES.txt +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm.egg-info/dependency_links.txt +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm.egg-info/entry_points.txt +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm.egg-info/requires.txt +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/not1mm.egg-info/top_level.txt +0 -0
- {not1mm-24.4.25 → not1mm-24.4.25.1}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: not1mm
|
3
|
-
Version: 24.4.25
|
3
|
+
Version: 24.4.25.1
|
4
4
|
Summary: NOT1MM Logger
|
5
5
|
Author-email: Michael Bridak <michael.bridak@gmail.com>
|
6
6
|
Project-URL: Homepage, https://github.com/mbridak/not1mm
|
@@ -177,6 +177,7 @@ I wish to thank those who've contributed to the project.
|
|
177
177
|
|
178
178
|
## Recent Changes
|
179
179
|
|
180
|
+
- [24-4-25-1] Reduce delta time to poll. Reorder poll_radio callback. Remove unused CAT lib from main.
|
180
181
|
- [24-4-25] Limited loop in radio.py, reducing clock cycles used. Moved Log window to the top of the logger.
|
181
182
|
- [24-4-24] Placed CAT control into a thread so disconnecting the radio wouldn't lock up the interface.
|
182
183
|
- [24-4-17] Trap OSError if no sound device. Stop fsutils/appdata from creating useless .not1mm and .username folder structures on Linux platforms.
|
@@ -145,6 +145,7 @@ I wish to thank those who've contributed to the project.
|
|
145
145
|
|
146
146
|
## Recent Changes
|
147
147
|
|
148
|
+
- [24-4-25-1] Reduce delta time to poll. Reorder poll_radio callback. Remove unused CAT lib from main.
|
148
149
|
- [24-4-25] Limited loop in radio.py, reducing clock cycles used. Moved Log window to the top of the logger.
|
149
150
|
- [24-4-24] Placed CAT control into a thread so disconnecting the radio wouldn't lock up the interface.
|
150
151
|
- [24-4-17] Trap OSError if no sound device. Stop fsutils/appdata from creating useless .not1mm and .username folder structures on Linux platforms.
|
@@ -42,7 +42,6 @@ from PyQt6.QtGui import QFontDatabase, QColorConstants
|
|
42
42
|
from PyQt6.QtWidgets import QFileDialog
|
43
43
|
|
44
44
|
from not1mm.lib.about import About
|
45
|
-
from not1mm.lib.cat_interface import CAT
|
46
45
|
from not1mm.lib.cwinterface import CW
|
47
46
|
from not1mm.lib.database import DataBase
|
48
47
|
from not1mm.lib.edit_macro import EditMacro
|
@@ -3197,9 +3196,12 @@ class MainWindow(QtWidgets.QMainWindow):
|
|
3197
3196
|
destination_file.write_bytes(child.read_bytes())
|
3198
3197
|
|
3199
3198
|
def poll_radio(self, the_dict):
|
3200
|
-
"""
|
3199
|
+
"""
|
3200
|
+
Gets called by thread worker radio.py
|
3201
|
+
Passing in a dictionary object with the
|
3202
|
+
vfo freq, mode, bandwidth, and online state of the radio.
|
3203
|
+
"""
|
3201
3204
|
self.set_radio_icon(0)
|
3202
|
-
print(f"{the_dict=}")
|
3203
3205
|
info_dirty = False
|
3204
3206
|
vfo = the_dict.get("vfoa", "")
|
3205
3207
|
mode = the_dict.get("mode", "")
|
@@ -3211,52 +3213,52 @@ class MainWindow(QtWidgets.QMainWindow):
|
|
3211
3213
|
else:
|
3212
3214
|
self.set_radio_icon(2)
|
3213
3215
|
|
3214
|
-
|
3215
|
-
|
3216
|
-
|
3217
|
-
|
3218
|
-
|
3219
|
-
|
3216
|
+
if vfo == "":
|
3217
|
+
return
|
3218
|
+
if self.radio_state.get("vfoa") != vfo:
|
3219
|
+
info_dirty = True
|
3220
|
+
self.radio_state["vfoa"] = vfo
|
3221
|
+
band = getband(str(vfo))
|
3222
|
+
self.radio_state["band"] = band
|
3223
|
+
self.contact["Band"] = get_logged_band(str(vfo))
|
3224
|
+
self.set_band_indicator(band)
|
3220
3225
|
|
3221
|
-
|
3222
|
-
|
3223
|
-
|
3224
|
-
info_dirty = True
|
3225
|
-
self.radio_state["vfoa"] = vfo
|
3226
|
-
band = getband(str(vfo))
|
3227
|
-
self.radio_state["band"] = band
|
3228
|
-
self.contact["Band"] = get_logged_band(str(vfo))
|
3229
|
-
self.set_band_indicator(band)
|
3226
|
+
if self.radio_state.get("mode") != mode:
|
3227
|
+
info_dirty = True
|
3228
|
+
self.radio_state["mode"] = mode
|
3230
3229
|
|
3231
|
-
|
3232
|
-
|
3233
|
-
|
3230
|
+
if self.radio_state.get("bw") != bw:
|
3231
|
+
info_dirty = True
|
3232
|
+
self.radio_state["bw"] = bw
|
3234
3233
|
|
3235
|
-
|
3236
|
-
|
3237
|
-
|
3234
|
+
if mode == "CW":
|
3235
|
+
self.setmode(mode)
|
3236
|
+
if mode == "LSB" or mode == "USB":
|
3237
|
+
self.setmode("SSB")
|
3238
|
+
if mode == "RTTY":
|
3239
|
+
self.setmode("RTTY")
|
3238
3240
|
|
3239
|
-
|
3240
|
-
|
3241
|
-
|
3242
|
-
|
3243
|
-
|
3244
|
-
|
3245
|
-
|
3246
|
-
|
3247
|
-
|
3248
|
-
|
3249
|
-
|
3250
|
-
|
3251
|
-
|
3252
|
-
|
3253
|
-
|
3254
|
-
|
3255
|
-
|
3256
|
-
|
3257
|
-
|
3258
|
-
|
3259
|
-
|
3241
|
+
if info_dirty:
|
3242
|
+
logger.debug("VFO: %s MODE: %s BW: %s", vfo, mode, bw)
|
3243
|
+
self.set_window_title()
|
3244
|
+
cmd = {}
|
3245
|
+
cmd["cmd"] = "RADIO_STATE"
|
3246
|
+
cmd["station"] = platform.node()
|
3247
|
+
cmd["band"] = band
|
3248
|
+
cmd["vfoa"] = vfo
|
3249
|
+
cmd["mode"] = mode
|
3250
|
+
cmd["bw"] = bw
|
3251
|
+
self.multicast_interface.send_as_json(cmd)
|
3252
|
+
if self.n1mm:
|
3253
|
+
if self.n1mm.send_radio_packets:
|
3254
|
+
self.n1mm.radio_info["Freq"] = vfo[:-1]
|
3255
|
+
self.n1mm.radio_info["TXFreq"] = vfo[:-1]
|
3256
|
+
self.n1mm.radio_info["Mode"] = mode
|
3257
|
+
self.n1mm.radio_info["OpCall"] = self.current_op
|
3258
|
+
self.n1mm.radio_info["IsRunning"] = str(
|
3259
|
+
self.pref.get("run_state", False)
|
3260
|
+
)
|
3261
|
+
self.n1mm.send_radio()
|
3260
3262
|
|
3261
3263
|
def edit_cw_macros(self) -> None:
|
3262
3264
|
"""
|
@@ -24,7 +24,7 @@ class Radio(QObject):
|
|
24
24
|
vfoa = "14030000"
|
25
25
|
mode = "CW"
|
26
26
|
bw = "500"
|
27
|
-
delta =
|
27
|
+
delta = 1
|
28
28
|
poll_time = datetime.datetime.now() + datetime.timedelta(seconds=delta)
|
29
29
|
time_to_quit = False
|
30
30
|
online = False
|
@@ -76,11 +76,27 @@ class Radio(QObject):
|
|
76
76
|
if self.cat:
|
77
77
|
self.cat.set_vfo(vfo)
|
78
78
|
self.vfoa = vfo
|
79
|
+
self.poll_callback.emit(
|
80
|
+
{
|
81
|
+
"vfoa": self.vfoa,
|
82
|
+
"mode": self.mode,
|
83
|
+
"bw": self.bw,
|
84
|
+
"online": self.online,
|
85
|
+
}
|
86
|
+
)
|
79
87
|
|
80
88
|
def set_mode(self, mode):
|
81
89
|
if self.cat:
|
82
90
|
self.cat.set_mode(mode)
|
83
91
|
self.mode = mode
|
92
|
+
self.poll_callback.emit(
|
93
|
+
{
|
94
|
+
"vfoa": self.vfoa,
|
95
|
+
"mode": self.mode,
|
96
|
+
"bw": self.bw,
|
97
|
+
"online": self.online,
|
98
|
+
}
|
99
|
+
)
|
84
100
|
|
85
101
|
def ptt_on(self):
|
86
102
|
if self.cat:
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: not1mm
|
3
|
-
Version: 24.4.25
|
3
|
+
Version: 24.4.25.1
|
4
4
|
Summary: NOT1MM Logger
|
5
5
|
Author-email: Michael Bridak <michael.bridak@gmail.com>
|
6
6
|
Project-URL: Homepage, https://github.com/mbridak/not1mm
|
@@ -177,6 +177,7 @@ I wish to thank those who've contributed to the project.
|
|
177
177
|
|
178
178
|
## Recent Changes
|
179
179
|
|
180
|
+
- [24-4-25-1] Reduce delta time to poll. Reorder poll_radio callback. Remove unused CAT lib from main.
|
180
181
|
- [24-4-25] Limited loop in radio.py, reducing clock cycles used. Moved Log window to the top of the logger.
|
181
182
|
- [24-4-24] Placed CAT control into a thread so disconnecting the radio wouldn't lock up the interface.
|
182
183
|
- [24-4-17] Trap OSError if no sound device. Stop fsutils/appdata from creating useless .not1mm and .username folder structures on Linux platforms.
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|