added TODO with steps
EIVE/eive-obsw/pipeline/pr-develop This commit looks good Details

This commit is contained in:
Robin Müller 2022-12-19 15:23:42 +01:00
parent d9453c3b83
commit 29fd2653f1
No known key found for this signature in database
GPG Key ID: 11D4952C8CCEF814
1 changed files with 8 additions and 1 deletions

View File

@ -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;