not1mm 25.4.19__py3-none-any.whl → 25.4.21__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 CHANGED
@@ -3006,7 +3006,7 @@ class MainWindow(QtWidgets.QMainWindow):
3006
3006
  logger.debug("Function Key: %s", function_key.text())
3007
3007
  if self.n1mm:
3008
3008
  self.n1mm.radio_info["FunctionKeyCaption"] = function_key.text()
3009
- if self.radio_state.get("mode") in ["LSB", "USB", "SSB"]:
3009
+ if self.radio_state.get("mode") in ["LSB", "USB", "SSB", "FM", "AM"]:
3010
3010
  self.voice_process.voice_string(self.process_macro(function_key.toolTip()))
3011
3011
  # self.voice_string(self.process_macro(function_key.toolTip()))
3012
3012
  return
@@ -3501,7 +3501,6 @@ class MainWindow(QtWidgets.QMainWindow):
3501
3501
  self.stop_cw()
3502
3502
  if self.pref.get("sandpqsy") is True and self.radioButton_sp.isChecked():
3503
3503
  self.sandpfreq = int(self.radio_state.get("vfoa", 0))
3504
- print(f"{self.sandpfreq=}")
3505
3504
  text = self.callsign.text()
3506
3505
  text = text.upper()
3507
3506
  position = self.callsign.cursorPosition()
@@ -3510,13 +3509,7 @@ class MainWindow(QtWidgets.QMainWindow):
3510
3509
  self.callsign.setCursorPosition(position)
3511
3510
 
3512
3511
  if " " in text:
3513
- if stripped_text == "CW":
3514
- self.change_mode(stripped_text)
3515
- return
3516
- if stripped_text == "RTTY":
3517
- self.change_mode(stripped_text)
3518
- return
3519
- if stripped_text == "SSB":
3512
+ if stripped_text in ["CW", "RTTY", "SSB", "FM", "AM", "LSB", "USB"]:
3520
3513
  self.change_mode(stripped_text)
3521
3514
  return
3522
3515
  if stripped_text == "OPON":
@@ -3680,6 +3673,18 @@ class MainWindow(QtWidgets.QMainWindow):
3680
3673
  self.set_window_title()
3681
3674
  self.clearinputs()
3682
3675
  self.read_macros()
3676
+ return
3677
+ if mode in ["AM", "FM", "LSB", "USB"]:
3678
+ if self.rig_control:
3679
+ if self.rig_control.online:
3680
+ self.rig_control.set_mode(mode)
3681
+ else:
3682
+ self.setmode(mode)
3683
+ band = getband(str(self.radio_state.get("vfoa", "0.0")))
3684
+ self.set_band_indicator(band)
3685
+ self.set_window_title()
3686
+ self.clearinputs()
3687
+ self.read_macros()
3683
3688
 
3684
3689
  def check_callsign(self, callsign) -> None:
3685
3690
  """
@@ -154,6 +154,7 @@ class CAT:
154
154
  except (socket.error, UnicodeDecodeError):
155
155
  ...
156
156
  self.rigctrlsocket.settimeout(0.5)
157
+ logger.debug("%s", dump)
157
158
  return dump
158
159
 
159
160
  def sendvoicememory(self, memoryspot=1):
@@ -165,7 +166,7 @@ class CAT:
165
166
  """..."""
166
167
  try:
167
168
  self.online = True
168
- self.rigctrlsocket.send(bytes(f"+\send_voice_mem {memoryspot}\n", "utf-8"))
169
+ self.rigctrlsocket.send(bytes(f"+\\send_voice_mem {memoryspot}\n", "utf-8"))
169
170
  _ = self.__get_serial_string()
170
171
  return
171
172
  except socket.error as exception:
@@ -633,6 +634,7 @@ class CAT:
633
634
  if self.rigctrlsocket:
634
635
  try:
635
636
  self.online = True
637
+ logger.debug(f"\nM {mode} 0\n")
636
638
  self.rigctrlsocket.send(bytes(f"\nM {mode} 0\n", "utf-8"))
637
639
  if self.__get_serial_string() != "RPRT 0\n":
638
640
  self.rigctrlsocket.send(bytes(f"\nM {mode} 0\n", "utf-8"))
not1mm/lib/version.py CHANGED
@@ -1,3 +1,3 @@
1
1
  """It's the version"""
2
2
 
3
- __version__ = "25.4.19"
3
+ __version__ = "25.4.21"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: not1mm
3
- Version: 25.4.19
3
+ Version: 25.4.21
4
4
  Summary: NOT1MM Logger
5
5
  Author-email: Michael Bridak <michael.bridak@gmail.com>
6
6
  License: GPL-3.0-or-later
@@ -256,6 +256,8 @@ generated, 'cause I'm lazy, list of those who've submitted PR's.
256
256
 
257
257
  ## Recent Changes
258
258
 
259
+ - [25-4-21] Add a couple more debug messages. Add LSB/USB to input-able commands to the callsign field.
260
+ - [25-4-19-1] Add FM and AM as input-able commands to the callsign field.
259
261
  - [25-4-19] Changed S&P QSY wipe from 50hz to 500hz.
260
262
  - [25-4-18] Option to clear input fields when QSY in S&P mode.
261
263
  - [25-4-17] Testing sending radio voice memory. {VOICE1}, {VOICE2} etc.
@@ -791,7 +793,7 @@ is this has happened, since the gridsquare will replace the word "Regional".
791
793
  **You must press the SPACE bar after entering any of the below.**
792
794
 
793
795
  - [A Frequency] You can enter a frequency in kilohertz. This will change the band you're logging on. If you have CAT control, this will change the frequency of the radio as well.
794
- - [CW, SSB, RTTY] You can set the mode logged. If you have CAT control this will also change the mode on the radio.
796
+ - [CW, SSB, FM, AM, RTTY] You can set the mode logged. If you have CAT control this will also change the mode on the radio.
795
797
  - [OPON] Change the operator currently logging.
796
798
 
797
799
  **You must press the SPACE bar after entering any of the above.**
@@ -1,5 +1,5 @@
1
1
  not1mm/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
- not1mm/__main__.py,sha256=B_QEpeEa4FKXy_0u3_9YHdr0KzkW6o5Wlwg139AplNQ,156327
2
+ not1mm/__main__.py,sha256=EMu-diX7QjcpOhzIvBex062gzEykWGNf2SnFO0dCnqI,156586
3
3
  not1mm/bandmap.py,sha256=-zu5slsuAm2GmeW8g3yvURzsuQxemwIQfw1HEq8xKHM,29920
4
4
  not1mm/checkwindow.py,sha256=zEHlw40j6Wr3rvKbCQf2lcezCoiZqaBqEvBjQU5aKW0,7630
5
5
  not1mm/fsutils.py,sha256=ukHKxKTeNKxKwqRaJjtzRShL4X5Xl0jRBbADyy3Ifp8,1701
@@ -100,7 +100,7 @@ not1mm/data/phonetics/yourcall.wav,sha256=4kheHJmCiRDL2kjhlgXQ8_u_eEMgKxiNGu5UBk
100
100
  not1mm/data/phonetics/z.wav,sha256=arafCi7fwmBLdVDI-PRyaL4U-03PIQDhffwY5noJ_2c,51768
101
101
  not1mm/lib/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
102
102
  not1mm/lib/about.py,sha256=sWycfGcruN3SaEe4JmaJ61K6D8Itq0WxpUYT-lEcmYM,416
103
- not1mm/lib/cat_interface.py,sha256=qHoGaw6ftkGE32fzEri_mivEWDRs-DwnMv_WmwonUPY,25816
103
+ not1mm/lib/cat_interface.py,sha256=Ux30MnG2NOSqg3q9aiavKlB_lPc8va-6-f-1L-YfuY4,25898
104
104
  not1mm/lib/cwinterface.py,sha256=rKUnqljHQC_Iljq4TCmAgSPe49lWbKcfxg58cE8YX5Y,5177
105
105
  not1mm/lib/database.py,sha256=fykyaQaTa_Pwde51f09Odbexy1mlUqObv0fjZ7hf3E0,51693
106
106
  not1mm/lib/edit_contact.py,sha256=Ki9bGPpqyQQBB1cU8VIBDCal3lbXeQ6qxhzklmhE2_w,353
@@ -118,7 +118,7 @@ not1mm/lib/plugin_common.py,sha256=D1OBjyLmX7zuSPqgTCmHwXzAKA12J_zTQItvyIem-4Y,1
118
118
  not1mm/lib/select_contest.py,sha256=WsptLuwkouIHeocJL3oZ6-eUfEnhpwdc-x7eMZ_TIVM,359
119
119
  not1mm/lib/settings.py,sha256=cC83Nw4pGLWyHybIflDR1ylX9P7Hq2P5b5yFZtx-llY,15410
120
120
  not1mm/lib/super_check_partial.py,sha256=hwT2NRwobu0PLDyw6ltmbmcAtGBD02CKGFbgGWjXMqA,2334
121
- not1mm/lib/version.py,sha256=6cdIR9Hd0LM3sqNN6_CR5Gzhaq_D7Hq_HjJ5m07kasY,48
121
+ not1mm/lib/version.py,sha256=KiLQMZfIHVWzYFLcC4ymiqtDVrlT-_Q1fwzilkjmW_c,48
122
122
  not1mm/lib/versiontest.py,sha256=8vDNptuBBunn-1IGkjNaquehqBYUJyjrPSF8Igmd4_Y,1286
123
123
  not1mm/plugins/10_10_fall_cw.py,sha256=oJh3JKqjOpnWElSlZpiQ631UnaOd8qra5s9bl_QoInk,14783
124
124
  not1mm/plugins/10_10_spring_cw.py,sha256=p7dSDtbFK0e6Xouw2V6swYn3VFVgHKyx4IfRWyBjMZY,14786
@@ -179,9 +179,9 @@ not1mm/plugins/stew_perry_topband.py,sha256=3U-Dr28haBTqTaZWLiC1qHQBmLsLENDL-ihy
179
179
  not1mm/plugins/ukeidx.py,sha256=0ABGW7_9Ui0Rgr8mkPBxOJokAIerM1a4-HWnl6VsnV8,19105
180
180
  not1mm/plugins/weekly_rtty.py,sha256=C8Xs3Q5UgSYx-mFFar8BVARWtmqlyrbeC98Ubzb4UN8,20128
181
181
  not1mm/plugins/winter_field_day.py,sha256=hmAMgkdqIXtnCNyUp8J9Bb8liN8wj10wps6ROuG-Bok,15284
182
- not1mm-25.4.19.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
183
- not1mm-25.4.19.dist-info/METADATA,sha256=eN-os55oqNqXiUwQ4UcjWLZfUwuJwDy8BFJ_IzXUIlE,40338
184
- not1mm-25.4.19.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
185
- not1mm-25.4.19.dist-info/entry_points.txt,sha256=pMcZk_0dxFgLkcUkF0Q874ojpwOmF3OL6EKw9LgvocM,47
186
- not1mm-25.4.19.dist-info/top_level.txt,sha256=0YmTxEcDzQlzXub-lXASvoLpg_mt1c2thb5cVkDf5J4,7
187
- not1mm-25.4.19.dist-info/RECORD,,
182
+ not1mm-25.4.21.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
183
+ not1mm-25.4.21.dist-info/METADATA,sha256=zRMkaTzAu7MmDi2g--4yGVfr1ADdhga0OPxjWxafgvA,40524
184
+ not1mm-25.4.21.dist-info/WHEEL,sha256=pxyMxgL8-pra_rKaQ4drOZAegBVuX-G_4nRHjjgWbmo,91
185
+ not1mm-25.4.21.dist-info/entry_points.txt,sha256=pMcZk_0dxFgLkcUkF0Q874ojpwOmF3OL6EKw9LgvocM,47
186
+ not1mm-25.4.21.dist-info/top_level.txt,sha256=0YmTxEcDzQlzXub-lXASvoLpg_mt1c2thb5cVkDf5J4,7
187
+ not1mm-25.4.21.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (78.1.0)
2
+ Generator: setuptools (79.0.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5