some fixes
This commit is contained in:
parent
95b77ed826
commit
6322a31566
@ -336,7 +336,7 @@ ReturnValue_t cfdp::DestHandler::startTransaction(MetadataPduReader& reader, Met
|
||||
#if FSFW_CPP_OSTREAM_ENABLED == 1
|
||||
sif::warning << "cfdp::DestHandler" << __func__
|
||||
<< ": No remote configuration found for destination ID "
|
||||
<< tp.pduConf.sourceId.getValue() << std::endl;
|
||||
<< transactionParams.pduConf.sourceId.getValue() << std::endl;
|
||||
#endif
|
||||
return FAILED;
|
||||
}
|
||||
@ -463,7 +463,8 @@ ReturnValue_t cfdp::DestHandler::checksumVerification() {
|
||||
} else {
|
||||
// TODO: Proper error handling
|
||||
#if FSFW_CPP_OSTREAM_ENABLED == 1
|
||||
sif::warning << "CRC check for file " << tp.destName.data() << " failed" << std::endl;
|
||||
sif::warning << "CRC check for file " << transactionParams.destName.data() << " failed"
|
||||
<< std::endl;
|
||||
#endif
|
||||
transactionParams.conditionCode = ConditionCode::FILE_CHECKSUM_FAILURE;
|
||||
}
|
||||
|
@ -82,4 +82,6 @@ ReturnValue_t cfdp::SourceHandler::checksumGeneration() {
|
||||
return OK;
|
||||
}
|
||||
|
||||
ReturnValue_t cfdp::SourceHandler::putRequest(PutRequestFull& putRequest) { return 0; }
|
||||
ReturnValue_t cfdp::SourceHandler::putRequest(PutRequestFull& putRequest, RemoteEntityCfg& cfg) {
|
||||
return 0;
|
||||
}
|
||||
|
@ -31,7 +31,7 @@ class SourceHandler {
|
||||
* the state machine
|
||||
* @return
|
||||
*/
|
||||
ReturnValue_t putRequest(PutRequestFull& putRequest);
|
||||
ReturnValue_t putRequest(PutRequestFull& putRequest, RemoteEntityCfg& cfg);
|
||||
void stateMachine();
|
||||
|
||||
private:
|
||||
|
Loading…
x
Reference in New Issue
Block a user