mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
96 lines
1.3 KiB
Python
96 lines
1.3 KiB
Python
hamlib_version = 0
|
|
|
|
|
|
class radio:
|
|
""" """
|
|
|
|
def __init__(self):
|
|
pass
|
|
|
|
def open_rig(self, **kwargs):
|
|
"""
|
|
|
|
Args:
|
|
**kwargs:
|
|
|
|
Returns:
|
|
|
|
"""
|
|
return True
|
|
|
|
def get_frequency(self):
|
|
""" """
|
|
return None
|
|
|
|
def get_mode(self):
|
|
""" """
|
|
return None
|
|
|
|
def get_level(self):
|
|
""" """
|
|
return None
|
|
|
|
def get_alc(self):
|
|
""" """
|
|
return None
|
|
|
|
def get_swr(self):
|
|
""" """
|
|
return None
|
|
|
|
def get_bandwidth(self):
|
|
""" """
|
|
return None
|
|
|
|
def set_bandwidth(self):
|
|
""" """
|
|
return None
|
|
def set_mode(self, mode):
|
|
"""
|
|
|
|
Args:
|
|
mode:
|
|
|
|
Returns:
|
|
|
|
"""
|
|
return None
|
|
|
|
def set_frequency(self, frequency):
|
|
"""
|
|
|
|
Args:
|
|
mode:
|
|
|
|
Returns:
|
|
|
|
"""
|
|
return None
|
|
def get_status(self):
|
|
"""
|
|
|
|
Args:
|
|
mode:
|
|
|
|
Returns:
|
|
|
|
"""
|
|
return "connected"
|
|
def get_ptt(self):
|
|
""" """
|
|
return None
|
|
|
|
def set_ptt(self, state):
|
|
"""
|
|
|
|
Args:
|
|
state:
|
|
|
|
Returns:
|
|
|
|
"""
|
|
return state
|
|
|
|
def close_rig(self):
|
|
""" """
|
|
return
|