set def destination and remove info printoutt
This commit is contained in:
parent
730f1564bc
commit
5b2af728fd
@ -8,6 +8,7 @@ CfdpTmFunnel::CfdpTmFunnel(object_id_t objectId, uint16_t cfdpInCcsdsApid,
|
|||||||
const AcceptsTelemetryIF& downlinkDestination, StorageManagerIF& tmStore)
|
const AcceptsTelemetryIF& downlinkDestination, StorageManagerIF& tmStore)
|
||||||
: SystemObject(objectId), cfdpInCcsdsApid(cfdpInCcsdsApid), tmStore(tmStore) {
|
: SystemObject(objectId), cfdpInCcsdsApid(cfdpInCcsdsApid), tmStore(tmStore) {
|
||||||
msgQueue = QueueFactory::instance()->createMessageQueue(5);
|
msgQueue = QueueFactory::instance()->createMessageQueue(5);
|
||||||
|
msgQueue->setDefaultDestination(downlinkDestination.getReportReceptionQueue());
|
||||||
}
|
}
|
||||||
|
|
||||||
const char* CfdpTmFunnel::getName() const { return "CFDP TM Funnel"; }
|
const char* CfdpTmFunnel::getName() const { return "CFDP TM Funnel"; }
|
||||||
@ -22,7 +23,7 @@ ReturnValue_t CfdpTmFunnel::performOperation(uint8_t) {
|
|||||||
while (status == returnvalue::OK) {
|
while (status == returnvalue::OK) {
|
||||||
status = handlePacket(currentMessage);
|
status = handlePacket(currentMessage);
|
||||||
if (status != returnvalue::OK) {
|
if (status != returnvalue::OK) {
|
||||||
sif::warning << "TmFunnel packet handling failed" << std::endl;
|
sif::warning << "CfdpTmFunnel packet handling failed" << std::endl;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
status = msgQueue->receiveMessage(¤tMessage);
|
status = msgQueue->receiveMessage(¤tMessage);
|
||||||
|
Loading…
Reference in New Issue
Block a user