Persistent TM Store #320

Merged
muellerr merged 109 commits from mueller/pus-15-tm-storage into develop 2023-02-24 19:03:39 +01:00
Showing only changes of commit 29fd2653f1 - Show all commits

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;