eive-tmtc/config/custom_hooks.py

16 lines
477 B
Python
Raw Normal View History

2020-12-17 17:50:00 +01:00
"""
@brief This file exposes hook functions to the user.
@details Template configuration file. Copy this folder to the TMTC commander root and adapt
it to your needs.
"""
2021-03-19 17:39:52 +01:00
from tmtccmd.pus_tc.base import PusTelecommand
2020-12-17 17:50:00 +01:00
def command_preparation_hook() -> PusTelecommand:
"""
Can be used to pack user-defined commands by generating and returning a PusTelecommand
class instance
"""
return PusTelecommand(service=17, subservice=1, ssc=20)