2022-02-02 20:12:16 +00:00
|
|
|
#!/usr/bin/env python3
|
|
|
|
|
|
|
|
import structlog
|
|
|
|
|
|
|
|
hamlib_version = 0
|
2022-04-11 09:10:32 +00:00
|
|
|
|
2022-02-02 20:12:16 +00:00
|
|
|
class radio:
|
2022-03-04 15:50:32 +00:00
|
|
|
""" """
|
2022-02-02 20:12:16 +00:00
|
|
|
def __init__(self):
|
|
|
|
pass
|
|
|
|
|
2022-04-11 09:10:32 +00:00
|
|
|
|
|
|
|
def open_rig(self, **kwargs):
|
2022-03-04 15:50:32 +00:00
|
|
|
"""
|
|
|
|
|
|
|
|
Args:
|
2022-04-11 09:10:32 +00:00
|
|
|
**kwargs:
|
2022-03-04 15:50:32 +00:00
|
|
|
|
|
|
|
Returns:
|
|
|
|
|
|
|
|
"""
|
2022-02-02 20:12:16 +00:00
|
|
|
return True
|
2022-04-11 09:10:32 +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-04-11 09:10:32 +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-04-11 09:10:32 +00:00
|
|
|
|
2022-02-02 20:12:16 +00:00
|
|
|
def get_bandwith(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-04-11 09:10:32 +00:00
|
|
|
mode:
|
2022-03-04 15:50:32 +00:00
|
|
|
|
|
|
|
Returns:
|
|
|
|
|
|
|
|
"""
|
2022-02-02 20:12:16 +00:00
|
|
|
return None
|
2022-04-11 09:10:32 +00:00
|
|
|
|
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-04-11 09:10:32 +00:00
|
|
|
|
|
|
|
def set_ptt(self, state):
|
2022-03-04 15:50:32 +00:00
|
|
|
"""
|
|
|
|
|
|
|
|
Args:
|
2022-04-11 09:10:32 +00:00
|
|
|
state:
|
2022-03-04 15:50:32 +00:00
|
|
|
|
|
|
|
Returns:
|
|
|
|
|
|
|
|
"""
|
2022-02-02 20:12:16 +00:00
|
|
|
return state
|
2022-04-11 09:10:32 +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
|
2022-04-11 09:10:32 +00:00
|
|
|
|