work on swr/tuner

This commit is contained in:
DJ2LS 2024-04-26 14:58:10 +02:00
parent f99eecb894
commit b3e1e63cdd
3 changed files with 6 additions and 5 deletions

View file

@ -249,7 +249,6 @@ class radio:
self.get_rf()
self.get_tuner()
self.get_swr()
return self.parameters
def get_frequency(self):

View file

@ -10,7 +10,9 @@ class radio:
'strength': '---',
'bandwidth': '---',
'rf': '---',
'ptt': False # Initial PTT state is set to False
'ptt': False, # Initial PTT state is set to False
'tuner': False,
'swr': '---'
}
def connect(self, **kwargs):

View file

@ -89,9 +89,9 @@ class StateManager:
"is_beacon_running": self.is_beacon_running,
"is_away_from_key": self.is_away_from_key,
"radio_status": self.radio_status,
"radio_frequency": self.radio_frequency,
"radio_mode": self.radio_mode,
"s_meter_strength": self.s_meter_strength,
#"radio_frequency": self.radio_frequency,
#"radio_mode": self.radio_mode,
#"s_meter_strength": self.s_meter_strength,
"channel_busy_slot": self.channel_busy_slot,
"audio_dbfs": self.audio_dbfs,
"activities": self.activities_list,