not1mm 24.11.25__py3-none-any.whl → 24.11.26__py3-none-any.whl
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/__main__.py +1 -0
- not1mm/lib/cat_interface.py +24 -15
- not1mm/lib/version.py +1 -1
- {not1mm-24.11.25.dist-info → not1mm-24.11.26.dist-info}/METADATA +3 -2
- {not1mm-24.11.25.dist-info → not1mm-24.11.26.dist-info}/RECORD +9 -9
- {not1mm-24.11.25.dist-info → not1mm-24.11.26.dist-info}/LICENSE +0 -0
- {not1mm-24.11.25.dist-info → not1mm-24.11.26.dist-info}/WHEEL +0 -0
- {not1mm-24.11.25.dist-info → not1mm-24.11.26.dist-info}/entry_points.txt +0 -0
- {not1mm-24.11.25.dist-info → not1mm-24.11.26.dist-info}/top_level.txt +0 -0
not1mm/__main__.py
CHANGED
not1mm/lib/cat_interface.py
CHANGED
@@ -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,12 +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
|
-
if
|
341
|
-
|
342
|
-
|
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]
|
343
346
|
except IndexError as exception:
|
344
347
|
logger.debug("%s", f"{exception}")
|
345
348
|
except socket.error as exception:
|
@@ -383,11 +386,13 @@ class CAT:
|
|
383
386
|
if self.rigctrlsocket:
|
384
387
|
try:
|
385
388
|
self.online = True
|
386
|
-
self.rigctrlsocket.send(b"m\n")
|
387
|
-
|
388
|
-
|
389
|
-
|
390
|
-
|
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
|
+
|
391
396
|
except IndexError as exception:
|
392
397
|
logger.debug("%s", f"{exception}")
|
393
398
|
except socket.error as exception:
|
@@ -426,8 +431,12 @@ class CAT:
|
|
426
431
|
if self.rigctrlsocket:
|
427
432
|
try:
|
428
433
|
self.online = True
|
429
|
-
self.rigctrlsocket.send(b"l RFPOWER\n")
|
430
|
-
|
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)
|
431
440
|
except socket.error as exception:
|
432
441
|
self.online = False
|
433
442
|
logger.debug("getpower_rigctld: %s", f"{exception}")
|
not1mm/lib/version.py
CHANGED
@@ -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,7 +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-
|
241
|
+
- [24-11-26] Trying something different with rigctld parsing.
|
242
|
+
- [24-11-15] Fix CQWW points, fix mode showing as RPRT.
|
242
243
|
- [24-11-24-1] Add ESM to CQ160, ARRL VHF, ARRL 10M, 10 10 contests.
|
243
244
|
- [24-11-24] Added ESM to IARU HF and FieldDay.
|
244
245
|
- [24-11-23] Made macros per contest.
|
@@ -1,5 +1,5 @@
|
|
1
1
|
not1mm/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
2
|
-
not1mm/__main__.py,sha256=
|
2
|
+
not1mm/__main__.py,sha256=d7-uGIvAOSXXomXCiIaMJMd0TPNwobMIEXIvPtUhVKc,142554
|
3
3
|
not1mm/bandmap.py,sha256=X6mMHXS1kXBbUPZCaKgiVJ6Dz6DE6LEQqtEXfT3telg,30811
|
4
4
|
not1mm/checkwindow.py,sha256=VFAcKYTcoWhmIf91chwY6tyao9FQMWPiUkgDDkkWaog,9670
|
5
5
|
not1mm/fsutils.py,sha256=ukHKxKTeNKxKwqRaJjtzRShL4X5Xl0jRBbADyy3Ifp8,1701
|
@@ -95,7 +95,7 @@ not1mm/data/phonetics/yourcall.wav,sha256=4kheHJmCiRDL2kjhlgXQ8_u_eEMgKxiNGu5UBk
|
|
95
95
|
not1mm/data/phonetics/z.wav,sha256=arafCi7fwmBLdVDI-PRyaL4U-03PIQDhffwY5noJ_2c,51768
|
96
96
|
not1mm/lib/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
97
97
|
not1mm/lib/about.py,sha256=sWycfGcruN3SaEe4JmaJ61K6D8Itq0WxpUYT-lEcmYM,416
|
98
|
-
not1mm/lib/cat_interface.py,sha256=
|
98
|
+
not1mm/lib/cat_interface.py,sha256=0R9ZiEZ0u0RzPrw_hrFNIdS4ybUBgAKtD74x2jdCVIU,25094
|
99
99
|
not1mm/lib/cwinterface.py,sha256=yQL8Dif9oOIynaRItHgvcmu4mYv1TnTpqCHPtkeb09o,4472
|
100
100
|
not1mm/lib/database.py,sha256=nqWp2eJ7JfUTqaQ9AVbx3XjgtlRnYY9ruTQCv2YRreY,48310
|
101
101
|
not1mm/lib/edit_contact.py,sha256=Ki9bGPpqyQQBB1cU8VIBDCal3lbXeQ6qxhzklmhE2_w,353
|
@@ -114,7 +114,7 @@ not1mm/lib/plugin_common.py,sha256=AABdx9DoTT8Znrup7AkfmKGC22hshMsEypiMqV0iKw0,1
|
|
114
114
|
not1mm/lib/select_contest.py,sha256=WsptLuwkouIHeocJL3oZ6-eUfEnhpwdc-x7eMZ_TIVM,359
|
115
115
|
not1mm/lib/settings.py,sha256=Xt0WE2ro_kUYdugQ0Pe1SQX07MHrJ0jyQqDqAKKqxuU,13564
|
116
116
|
not1mm/lib/super_check_partial.py,sha256=hwT2NRwobu0PLDyw6ltmbmcAtGBD02CKGFbgGWjXMqA,2334
|
117
|
-
not1mm/lib/version.py,sha256=
|
117
|
+
not1mm/lib/version.py,sha256=FxdEet95vFPRv6WrYaqlWU774Y52-AasJqL--L3Lsmk,49
|
118
118
|
not1mm/lib/versiontest.py,sha256=8vDNptuBBunn-1IGkjNaquehqBYUJyjrPSF8Igmd4_Y,1286
|
119
119
|
not1mm/plugins/10_10_fall_cw.py,sha256=AsvB2VUd6Qb2_FzZkSBkSd1_qeP8Dt-B-exF1Pzb9tk,14469
|
120
120
|
not1mm/plugins/10_10_spring_cw.py,sha256=nA4v0oqlp-ivvKqNPakb19I-wE_ElhvH5bCzDRx00JU,14474
|
@@ -162,9 +162,9 @@ not1mm/plugins/ref_ssb.py,sha256=G2Gz4kApchmOZQVnBexEokSEvdb-mZWJAfyJ1D6JDGY,204
|
|
162
162
|
not1mm/plugins/stew_perry_topband.py,sha256=Gy_vv6tgkR-3vmvsUVO0pVfHMkUJSxpt7G4secn0RH8,15084
|
163
163
|
not1mm/plugins/weekly_rtty.py,sha256=PI0_AtEdZZKGAuKnP-b2EYn9xwCN1Ablk38trbNP3Rc,19603
|
164
164
|
not1mm/plugins/winter_field_day.py,sha256=9w3tDL9ZWiENSTERc3vzDbBktvI7pnyNvlH6fDjAi08,14841
|
165
|
-
not1mm-24.11.
|
166
|
-
not1mm-24.11.
|
167
|
-
not1mm-24.11.
|
168
|
-
not1mm-24.11.
|
169
|
-
not1mm-24.11.
|
170
|
-
not1mm-24.11.
|
165
|
+
not1mm-24.11.26.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
166
|
+
not1mm-24.11.26.dist-info/METADATA,sha256=NRcxaZSmZzhBHfcvVf17zlbVx9lbDrjoqx_uvvZH8Wg,36732
|
167
|
+
not1mm-24.11.26.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
|
168
|
+
not1mm-24.11.26.dist-info/entry_points.txt,sha256=pMcZk_0dxFgLkcUkF0Q874ojpwOmF3OL6EKw9LgvocM,47
|
169
|
+
not1mm-24.11.26.dist-info/top_level.txt,sha256=0YmTxEcDzQlzXub-lXASvoLpg_mt1c2thb5cVkDf5J4,7
|
170
|
+
not1mm-24.11.26.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|