FreeDATA/tnc/rigdummy.py

72 lines
912 B
Python
Raw Normal View History

hamlib_version = 0
2022-05-09 00:41:49 +00:00
2022-05-09 01:27:24 +00:00
class radio:
""" """
def __init__(self):
pass
2022-05-09 00:41:49 +00:00
def open_rig(self, **kwargs):
"""
Args:
2022-05-09 00:41:49 +00:00
**kwargs:
Returns:
"""
return True
2022-05-09 00:41:49 +00:00
def get_frequency(self):
""" """
return None
2022-05-09 00:41:49 +00:00
def get_mode(self):
""" """
return None
2022-05-09 00:41:49 +00:00
def get_bandwidth(self):
""" """
return None
def set_mode(self, mode):
"""
Args:
2022-05-09 00:41:49 +00:00
mode:
Returns:
"""
return None
2022-05-09 00:41:49 +00:00
2022-11-20 12:52:00 +00:00
def get_status(self, mode):
"""
Args:
mode:
Returns:
"""
return "connected"
def get_ptt(self):
""" """
return None
2022-05-09 00:41:49 +00:00
def set_ptt(self, state):
"""
Args:
2022-05-09 00:41:49 +00:00
state:
Returns:
"""
return state
2022-05-09 00:41:49 +00:00
def close_rig(self):
""" """
return