This repository has been archived on 2021-11-24. You can view files and clone it, but cannot push or open issues or pull requests.
2021-04-27 17:22:34 +02:00
|
|
|
"""
|
|
|
|
@brief This file transfers control of custom mode handling to the user.
|
|
|
|
@details Template configuration file. Copy this folder to the TMTC commander root and adapt
|
|
|
|
it to your needs.
|
|
|
|
"""
|
|
|
|
import sys
|
|
|
|
|
|
|
|
from tmtccmd.core.backend import TmTcHandler
|
|
|
|
from tmtccmd.utility.tmtcc_logger import get_logger
|
|
|
|
|
|
|
|
LOGGER = get_logger()
|
|
|
|
|
|
|
|
|
|
|
|
def perform_mode_operation_user(tmtc_backend: TmTcHandler, mode: int):
|
|
|
|
"""
|
|
|
|
Custom modes can be implemented here
|
|
|
|
"""
|
2021-04-29 15:58:00 +02:00
|
|
|
if tmtc_backend:
|
|
|
|
pass
|
2021-04-27 17:22:34 +02:00
|
|
|
LOGGER.error(f"Unknown mode {mode}, Configuration error !")
|
|
|
|
sys.exit()
|