From bc32472d88a0d7a1566f53c05a1bc49f3c377985 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Tue, 3 Aug 2021 15:28:28 +0200 Subject: [PATCH] added reboot command --- .idea/runConfigurations/ACU_Test_UDP.xml | 24 ++++ ...nt_Heater_Test_UDP.xml => Heater_Test.xml} | 2 +- ...pole.xml => IMTQ_Get_Commanded_Dipole.xml} | 2 +- ...MTQ_Neg_X_Test.xml => IMTQ_Neg_X_Test.xml} | 2 +- ...MTQ_Neg_Y_Test.xml => IMTQ_Neg_Y_Test.xml} | 2 +- ...MTQ_Neg_Z_Test.xml => IMTQ_Neg_Z_Test.xml} | 2 +- ...MTQ_Pos_X_Test.xml => IMTQ_Pos_X_Test.xml} | 2 +- ...MTQ_Pos_Y_Test.xml => IMTQ_Pos_Y_Test.xml} | 2 +- ...MTQ_Pos_Z_Test.xml => IMTQ_Pos_Z_Test.xml} | 2 +- ...nt_IMTQ_Test_UDP.xml => IMTQ_Test_UDP.xml} | 2 +- ...ock_Test_UDP.xml => P60_Dock_Test_UDP.xml} | 2 +- ...nt_PDU1_Test_UDP.xml => PDU1_Test_UDP.xml} | 2 +- ...nt_PDU2_Test_UDP.xml => PDU2_Test_UDP.xml} | 2 +- .idea/runConfigurations/PLOC_SUPV_Test.xml | 2 +- ..._Flatsat.xml => PLOC_Test_UDP_Flatsat.xml} | 2 +- .../runConfigurations/PLOC_Test_UDP_Local.xml | 24 ++++ .idea/runConfigurations/RW1_Test.xml | 6 +- .idea/runConfigurations/RW2_Test_.xml | 6 +- .idea/runConfigurations/RW3_Test_.xml | 6 +- .idea/runConfigurations/RW4_Test_.xml | 6 +- ...c_Listener_Mode_UDP.xml => Reboot_0_0.xml} | 4 +- .idea/runConfigurations/Reboot_0_1.xml | 24 ++++ .idea/runConfigurations/Reboot_1_0.xml | 24 ++++ .idea/runConfigurations/Reboot_1_1.xml | 24 ++++ .idea/runConfigurations/Reboot_Prompt.xml | 24 ++++ .idea/runConfigurations/Reboot_Self.xml | 24 ++++ ...st_UDP.xml => S_A_Deployment_Test_UDP.xml} | 4 +- ...nks_Test_UDP.xml => Syrlinks_Test_UDP.xml} | 2 +- ...st_UDP.xml => TMP1075_1_Dock_Test_UDP.xml} | 2 +- ...st_UDP.xml => TMP1075_2_Dock_Test_UDP.xml} | 2 +- ...nd_Dipole.xml => _IMTQ_Command_Dipole.xml} | 2 +- ...vice_2_UDP.xml => tmtcc_Listener_Mode.xml} | 4 +- ...ervice_17_UDP.xml => tmtcc_Service_17.xml} | 2 +- .idea/runConfigurations/tmtcc_Service_2.xml | 24 ++++ ...vice_200_UDP.xml => tmtcc_Service_200.xml} | 2 +- ..._Service_3_UDP.xml => tmtcc_Service_3.xml} | 2 +- ..._Service_8_UDP.xml => tmtcc_Service_8.xml} | 2 +- .../tmtcclient_PLOC_Test_UDP_Local.xml | 24 ---- .../tmtcclient_S_A_Deployment_Test_UDP.xml | 24 ---- config/definitions.py | 1 + config/hook_implementations.py | 27 +++-- config/object_ids.py | 2 + pus_tc/acu.py | 18 ++- pus_tc/core.py | 112 ++++++++++++++++++ pus_tc/tc_packer_hook.py | 4 +- tmtccmd | 2 +- 46 files changed, 382 insertions(+), 104 deletions(-) create mode 100644 .idea/runConfigurations/ACU_Test_UDP.xml rename .idea/runConfigurations/{tmtcclient_Heater_Test_UDP.xml => Heater_Test.xml} (87%) rename .idea/runConfigurations/{tmtcclient_IMTQ_Get_Commanded_Dipole.xml => IMTQ_Get_Commanded_Dipole.xml} (86%) rename .idea/runConfigurations/{tmtcclient_IMTQ_Neg_X_Test.xml => IMTQ_Neg_X_Test.xml} (87%) rename .idea/runConfigurations/{tmtcclient_IMTQ_Neg_Y_Test.xml => IMTQ_Neg_Y_Test.xml} (87%) rename .idea/runConfigurations/{tmtcclient_IMTQ_Neg_Z_Test.xml => IMTQ_Neg_Z_Test.xml} (87%) rename .idea/runConfigurations/{tmtcclient_IMTQ_Pos_X_Test.xml => IMTQ_Pos_X_Test.xml} (87%) rename .idea/runConfigurations/{tmtcclient_IMTQ_Pos_Y_Test.xml => IMTQ_Pos_Y_Test.xml} (87%) rename .idea/runConfigurations/{tmtcclient_IMTQ_Pos_Z_Test.xml => IMTQ_Pos_Z_Test.xml} (87%) rename .idea/runConfigurations/{tmtcclient_IMTQ_Test_UDP.xml => IMTQ_Test_UDP.xml} (87%) rename .idea/runConfigurations/{tmtcclient_P60_Dock_Test_UDP.xml => P60_Dock_Test_UDP.xml} (86%) rename .idea/runConfigurations/{tmtcclient_PDU1_Test_UDP.xml => PDU1_Test_UDP.xml} (86%) rename .idea/runConfigurations/{tmtcclient_PDU2_Test_UDP.xml => PDU2_Test_UDP.xml} (86%) rename .idea/runConfigurations/{tmtcclient_PLOC_Test_UDP_Flatsat.xml => PLOC_Test_UDP_Flatsat.xml} (86%) create mode 100644 .idea/runConfigurations/PLOC_Test_UDP_Local.xml rename .idea/runConfigurations/{tmtcc_Listener_Mode_UDP.xml => Reboot_0_0.xml} (82%) create mode 100644 .idea/runConfigurations/Reboot_0_1.xml create mode 100644 .idea/runConfigurations/Reboot_1_0.xml create mode 100644 .idea/runConfigurations/Reboot_1_1.xml create mode 100644 .idea/runConfigurations/Reboot_Prompt.xml create mode 100644 .idea/runConfigurations/Reboot_Self.xml rename .idea/runConfigurations/{tmtcclient_ACU_Test_UDP.xml => S_A_Deployment_Test_UDP.xml} (87%) rename .idea/runConfigurations/{tmtcclient_Syrlinks_Test_UDP.xml => Syrlinks_Test_UDP.xml} (87%) rename .idea/runConfigurations/{tmtcclient_TMP1075_1_Dock_Test_UDP.xml => TMP1075_1_Dock_Test_UDP.xml} (86%) rename .idea/runConfigurations/{tmtcclient_TMP1075_2_Dock_Test_UDP.xml => TMP1075_2_Dock_Test_UDP.xml} (86%) rename .idea/runConfigurations/{tmtcclient_IMTQ_Command_Dipole.xml => _IMTQ_Command_Dipole.xml} (86%) rename .idea/runConfigurations/{tmtcc_Service_2_UDP.xml => tmtcc_Listener_Mode.xml} (88%) rename .idea/runConfigurations/{tmtcc_Service_17_UDP.xml => tmtcc_Service_17.xml} (87%) create mode 100644 .idea/runConfigurations/tmtcc_Service_2.xml rename .idea/runConfigurations/{tmtcc_Service_200_UDP.xml => tmtcc_Service_200.xml} (87%) rename .idea/runConfigurations/{tmtcc_Service_3_UDP.xml => tmtcc_Service_3.xml} (87%) rename .idea/runConfigurations/{tmtcc_Service_8_UDP.xml => tmtcc_Service_8.xml} (87%) delete mode 100644 .idea/runConfigurations/tmtcclient_PLOC_Test_UDP_Local.xml delete mode 100644 .idea/runConfigurations/tmtcclient_S_A_Deployment_Test_UDP.xml create mode 100644 pus_tc/core.py diff --git a/.idea/runConfigurations/ACU_Test_UDP.xml b/.idea/runConfigurations/ACU_Test_UDP.xml new file mode 100644 index 0000000..e44f65c --- /dev/null +++ b/.idea/runConfigurations/ACU_Test_UDP.xml @@ -0,0 +1,24 @@ + + + + + \ No newline at end of file diff --git a/.idea/runConfigurations/tmtcclient_Heater_Test_UDP.xml b/.idea/runConfigurations/Heater_Test.xml similarity index 87% rename from .idea/runConfigurations/tmtcclient_Heater_Test_UDP.xml rename to .idea/runConfigurations/Heater_Test.xml index a5895ff..6debe25 100644 --- a/.idea/runConfigurations/tmtcclient_Heater_Test_UDP.xml +++ b/.idea/runConfigurations/Heater_Test.xml @@ -1,5 +1,5 @@ - +