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.
fsfw_example_public/tmtc/config/object_ids.py

20 lines
631 B
Python
Raw Normal View History

2021-04-27 17:22:34 +02:00
"""
@brief This file transfers control of the object IDs to the user.
@details Template configuration file. Copy this folder to the TMTC commander root and adapt
it to your needs.
"""
from typing import Dict
2021-05-17 15:23:54 +02:00
PUS_SERVICE_17_ID = bytes([0x53, 0x00, 0x00, 0x17])
TEST_DEVICE_0_ID = bytes([0x44, 0x01, 0xAF, 0xFE])
TEST_DEVICE_1_ID = bytes([0x44, 0x02, 0xAF, 0xFE])
2021-04-27 17:22:34 +02:00
2021-05-17 15:23:54 +02:00
def get_object_ids() -> Dict[bytes, list]:
2021-04-27 17:22:34 +02:00
object_id_dict = {
2021-05-17 15:23:54 +02:00
PUS_SERVICE_17_ID: ["PUS Service 17"],
TEST_DEVICE_0_ID: ["Test Device 0"],
TEST_DEVICE_1_ID: ["Test Device 1"]
2021-04-27 17:22:34 +02:00
}
return object_id_dict