diff --git a/.idea/runConfigurations/PLOC_SUPV_Test.xml b/.idea/runConfigurations/PLOC_SUPV_Test.xml
index 843dd32..56515a7 100644
--- a/.idea/runConfigurations/PLOC_SUPV_Test.xml
+++ b/.idea/runConfigurations/PLOC_SUPV_Test.xml
@@ -6,9 +6,9 @@
-
+
-
+
diff --git a/config/hook_implementations.py b/config/hook_implementations.py
index 83c34e6..b1d2b6e 100644
--- a/config/hook_implementations.py
+++ b/config/hook_implementations.py
@@ -95,6 +95,7 @@ class EiveHookObject(TmTcHookBase):
"10": ("PLOC Supervisor: Set time reference", {OpCodeDictKeys.TIMEOUT: 2.0}),
"11": ("PLOC Supervisor: Set boot timeout", {OpCodeDictKeys.TIMEOUT: 2.0}),
"12": ("PLOC Supervisor: Disable Hk", {OpCodeDictKeys.TIMEOUT: 2.0}),
+ "13": ("PLOC Supervisor: Request boot status report", {OpCodeDictKeys.TIMEOUT: 2.0}),
}
service_ploc_supv_tuple = ("PLOC Supervisor", op_code_dict_srv_ploc_supv)
diff --git a/pus_tc/ploc_supervisor.py b/pus_tc/ploc_supervisor.py
index 7d80905..9feb841 100644
--- a/pus_tc/ploc_supervisor.py
+++ b/pus_tc/ploc_supervisor.py
@@ -25,10 +25,12 @@ class SupvActionIds:
RESET_MPSOC = 8
SET_TIME_REF = 9
DISABLE_HK = 10
+ GET_BOOT_STATUS_REPORT = 11
class SupvHkIds:
HK_REPORT = 52
+ BOOT_STATUS_REPORT = 53
def pack_ploc_supv_test_into(object_id: bytearray, tc_queue: TcQueueT, op_code: str) -> TcQueueT:
@@ -91,7 +93,12 @@ def pack_ploc_supv_test_into(object_id: bytearray, tc_queue: TcQueueT, op_code:
elif op_code == "12":
tc_queue.appendleft((QueueCommands.PRINT, "PLOC Supervisor: Disable HK"))
command = object_id + struct.pack('!I', SupvActionIds.DISABLE_HK)
- command = PusTelecommand(service=8, subservice=128, ssc=28, app_data=command)
+ command = PusTelecommand(service=8, subservice=128, ssc=29, app_data=command)
+ tc_queue.appendleft(command.pack_command_tuple())
+ elif op_code == "13":
+ tc_queue.appendleft((QueueCommands.PRINT, "PLOC Supervisor: Request boot status report"))
+ command = object_id + struct.pack('!I', SupvActionIds.GET_BOOT_STATUS_REPORT)
+ command = PusTelecommand(service=8, subservice=128, ssc=30, app_data=command)
tc_queue.appendleft(command.pack_command_tuple())
return tc_queue
diff --git a/tmtccmd b/tmtccmd
index 657b7b3..978db08 160000
--- a/tmtccmd
+++ b/tmtccmd
@@ -1 +1 @@
-Subproject commit 657b7b3f36f931eabf6ee4ff8267a119702099c8
+Subproject commit 978db08986105345bb378157623688c6d1531b1e