not1mm 24.11.24.1__tar.gz → 24.11.26__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.11.24.1 → not1mm-24.11.26}/PKG-INFO +3 -1
- {not1mm-24.11.24.1 → not1mm-24.11.26}/README.md +2 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/__main__.py +1 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/lib/cat_interface.py +24 -14
- not1mm-24.11.26/not1mm/lib/version.py +3 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/plugins/cq_ww_cw.py +14 -5
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/plugins/cq_ww_ssb.py +13 -5
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm.egg-info/PKG-INFO +3 -1
- {not1mm-24.11.24.1 → not1mm-24.11.26}/pyproject.toml +1 -1
- not1mm-24.11.24.1/not1mm/lib/version.py +0 -3
- {not1mm-24.11.24.1 → not1mm-24.11.26}/LICENSE +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/__init__.py +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/bandmap.py +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/checkwindow.py +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/data/JetBrainsMono-ExtraLight.ttf +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/data/MASTER.SCP +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/data/about.ui +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/data/alpha bravo charlie delta.txt +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/data/bandmap.ui +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/data/check.png +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/data/checkwindow.ui +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/data/configuration.ui +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/data/contests.sql +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/data/cty.json +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/data/cwmacros.txt +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/data/donors.html +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/data/editcontact.ui +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/data/editmacro.ui +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/data/greendot.png +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/data/k6gte-not1mm.desktop +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/data/k6gte.not1mm-128.png +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/data/k6gte.not1mm-32.png +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/data/k6gte.not1mm-64.png +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/data/logwindow.ui +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/data/logwindowx.ui +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/data/main.ui +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/data/new_contest.ui +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/data/not1mm.html +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/data/opon.ui +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/data/phonetics/0.wav +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/data/phonetics/1.wav +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/data/phonetics/2.wav +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/data/phonetics/3.wav +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/data/phonetics/4.wav +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/data/phonetics/5.wav +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/data/phonetics/6.wav +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/data/phonetics/7.wav +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/data/phonetics/73.wav +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/data/phonetics/8.wav +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/data/phonetics/9.wav +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/data/phonetics/a.wav +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/data/phonetics/again.wav +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/data/phonetics/b.wav +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/data/phonetics/c.wav +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/data/phonetics/contest.wav +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/data/phonetics/cq.wav +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/data/phonetics/cq2.wav +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/data/phonetics/d.wav +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/data/phonetics/e.wav +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/data/phonetics/f.wav +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/data/phonetics/g.wav +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/data/phonetics/h.wav +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/data/phonetics/i.wav +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/data/phonetics/j.wav +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/data/phonetics/k.wav +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/data/phonetics/k6gte.wav +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/data/phonetics/l.wav +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/data/phonetics/m.wav +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/data/phonetics/mynumber.wav +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/data/phonetics/n.wav +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/data/phonetics/nil.wav +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/data/phonetics/o.wav +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/data/phonetics/p.wav +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/data/phonetics/q.wav +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/data/phonetics/r.wav +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/data/phonetics/roger.wav +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/data/phonetics/s.wav +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/data/phonetics/space.wav +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/data/phonetics/t.wav +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/data/phonetics/thankyou.wav +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/data/phonetics/thankyouqrz.wav +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/data/phonetics/u.wav +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/data/phonetics/v.wav +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/data/phonetics/w.wav +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/data/phonetics/x.wav +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/data/phonetics/y.wav +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/data/phonetics/yourcall.wav +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/data/phonetics/z.wav +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/data/pickcontest.ui +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/data/radio_green.png +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/data/radio_grey.png +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/data/radio_red.png +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/data/reddot.png +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/data/rttymacros.txt +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/data/settings.ui +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/data/splash.png +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/data/ssbmacros.txt +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/data/vfo.ui +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/fsutils.py +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/lib/__init__.py +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/lib/about.py +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/lib/cwinterface.py +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/lib/database.py +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/lib/edit_contact.py +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/lib/edit_macro.py +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/lib/edit_opon.py +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/lib/edit_station.py +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/lib/fldigi_sendstring.py +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/lib/fldigi_watcher.py +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/lib/ft8_watcher.py +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/lib/ham_utility.py +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/lib/lookup.py +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/lib/multicast.py +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/lib/n1mm.py +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/lib/new_contest.py +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/lib/plugin_common.py +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/lib/select_contest.py +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/lib/settings.py +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/lib/super_check_partial.py +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/lib/versiontest.py +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/logwindow.py +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/lookupservice.py +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/plugins/10_10_fall_cw.py +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/plugins/10_10_spring_cw.py +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/plugins/10_10_summer_phone.py +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/plugins/10_10_winter_phone.py +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/plugins/__init__.py +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/plugins/arrl_10m.py +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/plugins/arrl_dx_cw.py +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/plugins/arrl_dx_ssb.py +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/plugins/arrl_field_day.py +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/plugins/arrl_rtty_ru.py +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/plugins/arrl_ss_cw.py +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/plugins/arrl_ss_phone.py +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/plugins/arrl_vhf_jan.py +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/plugins/arrl_vhf_jun.py +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/plugins/arrl_vhf_sep.py +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/plugins/canada_day.py +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/plugins/cq_160_cw.py +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/plugins/cq_160_ssb.py +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/plugins/cq_wpx_cw.py +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/plugins/cq_wpx_rtty.py +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/plugins/cq_wpx_ssb.py +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/plugins/cq_ww_rtty.py +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/plugins/cwt.py +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/plugins/darc_xmas.py +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/plugins/general_logging.py +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/plugins/helvetia.py +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/plugins/iaru_fieldday_r1_cw.py +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/plugins/iaru_fieldday_r1_ssb.py +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/plugins/iaru_hf.py +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/plugins/icwc_mst.py +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/plugins/jidx_cw.py +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/plugins/jidx_ph.py +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/plugins/k1usn_sst.py +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/plugins/lz-dx.py +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/plugins/naqp_cw.py +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/plugins/naqp_rtty.py +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/plugins/naqp_ssb.py +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/plugins/phone_weekly_test.py +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/plugins/raem.py +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/plugins/ref_cw.py +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/plugins/ref_ssb.py +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/plugins/stew_perry_topband.py +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/plugins/weekly_rtty.py +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/plugins/winter_field_day.py +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/radio.py +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/test.py +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/vfo.py +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm/voice_keying.py +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm.egg-info/SOURCES.txt +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm.egg-info/dependency_links.txt +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm.egg-info/entry_points.txt +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm.egg-info/requires.txt +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/not1mm.egg-info/top_level.txt +0 -0
- {not1mm-24.11.24.1 → not1mm-24.11.26}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: not1mm
|
3
|
-
Version: 24.11.
|
3
|
+
Version: 24.11.26
|
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
|
@@ -238,6 +238,8 @@ generated, 'cause I'm lazy, list of those who've submitted PR's.
|
|
238
238
|
|
239
239
|
## Recent Changes (Polishing the Turd)
|
240
240
|
|
241
|
+
- [24-11-26] Trying something different with rigctld parsing.
|
242
|
+
- [24-11-15] Fix CQWW points, fix mode showing as RPRT.
|
241
243
|
- [24-11-24-1] Add ESM to CQ160, ARRL VHF, ARRL 10M, 10 10 contests.
|
242
244
|
- [24-11-24] Added ESM to IARU HF and FieldDay.
|
243
245
|
- [24-11-23] Made macros per contest.
|
@@ -207,6 +207,8 @@ generated, 'cause I'm lazy, list of those who've submitted PR's.
|
|
207
207
|
|
208
208
|
## Recent Changes (Polishing the Turd)
|
209
209
|
|
210
|
+
- [24-11-26] Trying something different with rigctld parsing.
|
211
|
+
- [24-11-15] Fix CQWW points, fix mode showing as RPRT.
|
210
212
|
- [24-11-24-1] Add ESM to CQ160, ARRL VHF, ARRL 10M, 10 10 contests.
|
211
213
|
- [24-11-24] Added ESM to IARU HF and FieldDay.
|
212
214
|
- [24-11-23] Made macros per contest.
|
@@ -284,8 +284,11 @@ class CAT:
|
|
284
284
|
if self.rigctrlsocket:
|
285
285
|
try:
|
286
286
|
self.online = True
|
287
|
-
self.rigctrlsocket.send(b"f\n")
|
288
|
-
|
287
|
+
self.rigctrlsocket.send(b"|f\n")
|
288
|
+
report = self.__get_serial_string().strip()
|
289
|
+
if "get_freq:|" in report and "RPRT 0" in report:
|
290
|
+
seg_rpt = report.split("|")
|
291
|
+
return seg_rpt[1].split(" ")[1]
|
289
292
|
except socket.error as exception:
|
290
293
|
self.online = False
|
291
294
|
logger.debug(f"{exception=}")
|
@@ -334,11 +337,12 @@ class CAT:
|
|
334
337
|
if self.rigctrlsocket:
|
335
338
|
try:
|
336
339
|
self.online = True
|
337
|
-
self.rigctrlsocket.send(b"m\n")
|
338
|
-
|
339
|
-
|
340
|
-
|
341
|
-
|
340
|
+
self.rigctrlsocket.send(b"|m\n")
|
341
|
+
# get_mode:|Mode: CW|Passband: 500|RPRT 0
|
342
|
+
report = self.__get_serial_string().strip()
|
343
|
+
if "getmode:|" in report and "RPRT 0" in report:
|
344
|
+
seg_rpt = report.split("|")
|
345
|
+
return seg_rpt[1].split(" ")[1]
|
342
346
|
except IndexError as exception:
|
343
347
|
logger.debug("%s", f"{exception}")
|
344
348
|
except socket.error as exception:
|
@@ -382,11 +386,13 @@ class CAT:
|
|
382
386
|
if self.rigctrlsocket:
|
383
387
|
try:
|
384
388
|
self.online = True
|
385
|
-
self.rigctrlsocket.send(b"m\n")
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
|
389
|
+
self.rigctrlsocket.send(b"|m\n")
|
390
|
+
# get_mode:|Mode: CW|Passband: 500|RPRT 0
|
391
|
+
report = self.__get_serial_string().strip()
|
392
|
+
if "getmode:|" in report and "RPRT 0" in report:
|
393
|
+
seg_rpt = report.split("|")
|
394
|
+
return seg_rpt[2].split(" ")[1]
|
395
|
+
|
390
396
|
except IndexError as exception:
|
391
397
|
logger.debug("%s", f"{exception}")
|
392
398
|
except socket.error as exception:
|
@@ -425,8 +431,12 @@ class CAT:
|
|
425
431
|
if self.rigctrlsocket:
|
426
432
|
try:
|
427
433
|
self.online = True
|
428
|
-
self.rigctrlsocket.send(b"l RFPOWER\n")
|
429
|
-
|
434
|
+
self.rigctrlsocket.send(b"|l RFPOWER\n")
|
435
|
+
# get_level: RFPOWER|0.000000|RPRT 0
|
436
|
+
report = self.__get_serial_string().strip()
|
437
|
+
if "get_level: RFPOWER|" in report and "RPRT 0" in report:
|
438
|
+
seg_rpt = report.split("|")
|
439
|
+
return int(float(seg_rpt[1]) * 100)
|
430
440
|
except socket.error as exception:
|
431
441
|
self.online = False
|
432
442
|
logger.debug("getpower_rigctld: %s", f"{exception}")
|
@@ -154,17 +154,26 @@ def points(self):
|
|
154
154
|
mycountry = item[1].get("entity", "")
|
155
155
|
mycontinent = item[1].get("continent", "")
|
156
156
|
result = self.cty_lookup(self.contact.get("Call", ""))
|
157
|
+
|
157
158
|
if result:
|
158
159
|
for item in result.items():
|
159
160
|
entity = item[1].get("entity", "")
|
160
161
|
continent = item[1].get("continent", "")
|
161
|
-
|
162
|
-
|
163
|
-
if mycontinent
|
162
|
+
|
163
|
+
# Contacts between stations on different continents count three (3) points.
|
164
|
+
if mycontinent != continent:
|
165
|
+
return 3
|
166
|
+
|
167
|
+
# Exception: Contacts between stations in different countries within the North American boundaries count two (2) points.
|
168
|
+
if (mycontinent == "NA" and continent == "NA") and mycountry != entity:
|
164
169
|
return 2
|
165
|
-
|
170
|
+
|
171
|
+
# Contacts between stations on the same continent but in different countries count one (1) point.
|
172
|
+
if mycountry.upper() != entity.upper():
|
166
173
|
return 1
|
167
|
-
|
174
|
+
|
175
|
+
# Contacts between stations in the same country have zero (0) QSO point value, but count for zone and country multiplier credit.
|
176
|
+
|
168
177
|
return 0
|
169
178
|
|
170
179
|
|
@@ -149,13 +149,21 @@ def points(self):
|
|
149
149
|
for item in result.items():
|
150
150
|
entity = item[1].get("entity", "")
|
151
151
|
continent = item[1].get("continent", "")
|
152
|
-
|
153
|
-
|
154
|
-
if mycontinent
|
152
|
+
|
153
|
+
# Contacts between stations on different continents count three (3) points.
|
154
|
+
if mycontinent != continent:
|
155
|
+
return 3
|
156
|
+
|
157
|
+
# Exception: Contacts between stations in different countries within the North American boundaries count two (2) points.
|
158
|
+
if (mycontinent == "NA" and continent == "NA") and mycountry != entity:
|
155
159
|
return 2
|
156
|
-
|
160
|
+
|
161
|
+
# Contacts between stations on the same continent but in different countries count one (1) point.
|
162
|
+
if mycountry.upper() != entity.upper():
|
157
163
|
return 1
|
158
|
-
|
164
|
+
|
165
|
+
# Contacts between stations in the same country have zero (0) QSO point value, but count for zone and country multiplier credit.
|
166
|
+
|
159
167
|
return 0
|
160
168
|
|
161
169
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: not1mm
|
3
|
-
Version: 24.11.
|
3
|
+
Version: 24.11.26
|
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
|
@@ -238,6 +238,8 @@ generated, 'cause I'm lazy, list of those who've submitted PR's.
|
|
238
238
|
|
239
239
|
## Recent Changes (Polishing the Turd)
|
240
240
|
|
241
|
+
- [24-11-26] Trying something different with rigctld parsing.
|
242
|
+
- [24-11-15] Fix CQWW points, fix mode showing as RPRT.
|
241
243
|
- [24-11-24-1] Add ESM to CQ160, ARRL VHF, ARRL 10M, 10 10 contests.
|
242
244
|
- [24-11-24] Added ESM to IARU HF and FieldDay.
|
243
245
|
- [24-11-23] Made macros per contest.
|
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
|
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
|