CFDP source handler #776

Merged
muellerr merged 96 commits from cfdp-source-handler into main 2023-10-19 11:11:31 +02:00
3 changed files with 7 additions and 6 deletions
Showing only changes of commit 5d8b81e131 - Show all commits

View File

@ -111,7 +111,8 @@ ReturnValue_t CfdpTmFunnel::handlePacket(TmTcMessage& msg) {
return demultiplexLivePackets(origStoreId, newPacketData, packetLen); return demultiplexLivePackets(origStoreId, newPacketData, packetLen);
} }
void CfdpTmFunnel::addLiveDestination(const char* name, uint32_t CfdpTmFunnel::addLiveDestination(const char* name,
const AcceptsTelemetryIF& downlinkDestination, uint8_t vcid) { const AcceptsTelemetryIF& downlinkDestination,
uint32_t listIndex = TmFunnelBase::addLiveDestination(name, downlinkDestination, vcid); uint8_t vcid) {
return TmFunnelBase::addLiveDestination(name, downlinkDestination, vcid);
} }

View File

@ -16,8 +16,8 @@ class CfdpTmFunnel : public TmFunnelBase {
CfdpTmFunnel(TmFunnelBase::FunnelCfg cfg, std::optional<MessageQueueId_t> fileStoreDest, CfdpTmFunnel(TmFunnelBase::FunnelCfg cfg, std::optional<MessageQueueId_t> fileStoreDest,
StorageManagerIF& ramToFileStore, uint16_t cfdpInCcsdsApid); StorageManagerIF& ramToFileStore, uint16_t cfdpInCcsdsApid);
[[nodiscard]] const char* getName() const override; [[nodiscard]] const char* getName() const override;
void addLiveDestination(const char* name, const AcceptsTelemetryIF& downlinkDestination, uint32_t addLiveDestination(const char* name, const AcceptsTelemetryIF& downlinkDestination,
uint8_t vcid = 0) override; uint8_t vcid = 0) override;
ReturnValue_t performOperation(uint8_t opCode); ReturnValue_t performOperation(uint8_t opCode);
ReturnValue_t initialize() override; ReturnValue_t initialize() override;

View File

@ -15,7 +15,7 @@ class PusLiveDemux {
const uint8_t* tmData, size_t tmSize); const uint8_t* tmData, size_t tmSize);
uint32_t addDestination(const char* name, const AcceptsTelemetryIF& downlinkDestination, uint32_t addDestination(const char* name, const AcceptsTelemetryIF& downlinkDestination,
uint8_t vcid = 0); uint8_t vcid = 0);
void setDestFull(uint32_t listIndex); void setDestFull(uint32_t listIndex);
void setDestAvailable(uint32_t listIndex); void setDestAvailable(uint32_t listIndex);