From 29fd2653f15a4a0ee59b9df2753ccdac27ce3569 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Mon, 19 Dec 2022 15:23:42 +0100 Subject: [PATCH] added TODO with steps --- mission/tmtc/TmStore.cpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/mission/tmtc/TmStore.cpp b/mission/tmtc/TmStore.cpp index a18f16d1..26b3b0a8 100644 --- a/mission/tmtc/TmStore.cpp +++ b/mission/tmtc/TmStore.cpp @@ -182,10 +182,17 @@ void TmStore::addServiceSubservice(uint8_t service, uint8_t subservice) { filter.serviceSubservices.value().push_back({service, subservice}); } -void TmStore::deleteUpTo(uint32_t unixSeconds) {} +void TmStore::deleteUpTo(uint32_t unixSeconds) { + +} void TmStore::dumpFromUpTo(uint32_t fromUnixSeconds, uint32_t upToUnixSeconds, TmFunnelBase& funnel) { + // TODO: + // 1. Find all files within the specified range + // 2. For each file, dump content into buffer, parse out space packets, + // 3. Store each packet into the TM store and send the message to all + // destinations store_address_t storeId; TmTcMessage message; const uint8_t* packetData = nullptr;