2022-02-02 20:12:16 +00:00
|
|
|
hamlib_version = 0
|
2022-05-09 00:41:49 +00:00
|
|
|
|
2022-05-09 01:27:24 +00:00
|
|
|
|
2022-02-02 20:12:16 +00:00
|
|
|
class radio:
|
2022-03-04 15:50:32 +00:00
|
|
|
""" """
|
2022-05-26 01:23:30 +00:00
|
|
|
|
2022-02-02 20:12:16 +00:00
|
|
|
def __init__(self):
|
|
|
|
pass
|
|
|
|
|
2022-05-09 00:41:49 +00:00
|
|
|
def open_rig(self, **kwargs):
|
2022-03-04 15:50:32 +00:00
|
|
|
"""
|
|
|
|
|
|
|
|
Args:
|
2022-05-09 00:41:49 +00:00
|
|
|
**kwargs:
|
2022-03-04 15:50:32 +00:00
|
|
|
|
|
|
|
Returns:
|
|
|
|
|
|
|
|
"""
|
2022-02-02 20:12:16 +00:00
|
|
|
return True
|
2022-05-09 00:41:49 +00:00
|
|
|
|
2022-02-02 20:12:16 +00:00
|
|
|
def get_frequency(self):
|
2022-03-04 15:50:32 +00:00
|
|
|
""" """
|
2022-02-02 20:12:16 +00:00
|
|
|
return None
|
2022-05-09 00:41:49 +00:00
|
|
|
|
2022-02-02 20:12:16 +00:00
|
|
|
def get_mode(self):
|
2022-03-04 15:50:32 +00:00
|
|
|
""" """
|
2022-02-02 20:12:16 +00:00
|
|
|
return None
|
2022-05-09 00:41:49 +00:00
|
|
|
|
2022-05-28 12:08:33 +00:00
|
|
|
def get_bandwidth(self):
|
2022-03-04 15:50:32 +00:00
|
|
|
""" """
|
2022-02-02 20:12:16 +00:00
|
|
|
return None
|
|
|
|
|
|
|
|
def set_mode(self, mode):
|
2022-03-04 15:50:32 +00:00
|
|
|
"""
|
|
|
|
|
|
|
|
Args:
|
2022-05-09 00:41:49 +00:00
|
|
|
mode:
|
2022-03-04 15:50:32 +00:00
|
|
|
|
|
|
|
Returns:
|
|
|
|
|
|
|
|
"""
|
2022-02-02 20:12:16 +00:00
|
|
|
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"
|
2022-02-02 20:12:16 +00:00
|
|
|
def get_ptt(self):
|
2022-03-04 15:50:32 +00:00
|
|
|
""" """
|
2022-02-02 20:12:16 +00:00
|
|
|
return None
|
2022-05-09 00:41:49 +00:00
|
|
|
|
|
|
|
def set_ptt(self, state):
|
2022-03-04 15:50:32 +00:00
|
|
|
"""
|
|
|
|
|
|
|
|
Args:
|
2022-05-09 00:41:49 +00:00
|
|
|
state:
|
2022-03-04 15:50:32 +00:00
|
|
|
|
|
|
|
Returns:
|
|
|
|
|
|
|
|
"""
|
2022-02-02 20:12:16 +00:00
|
|
|
return state
|
2022-05-09 00:41:49 +00:00
|
|
|
|
2022-02-02 20:12:16 +00:00
|
|
|
def close_rig(self):
|
2022-03-04 15:50:32 +00:00
|
|
|
""" """
|
2022-02-02 20:12:16 +00:00
|
|
|
return
|