CFDP SOURCE handler #157
@ -415,9 +415,9 @@ ReturnValue_t cfdp::DestHandler::tryBuildingAbsoluteDestName(size_t destNameSize
|
|||||||
return OK;
|
return OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
void cfdp::DestHandler::fileErrorHandler(Event event, ReturnValue_t result, const char* info) {
|
void cfdp::DestHandler::fileErrorHandler(Event event, ReturnValue_t result,
|
||||||
fsfwParams.eventReporter->forwardEvent(events::FILENAME_TOO_LARGE_ERROR,
|
const char* info) const {
|
||||||
static_cast<uint8_t>(fsmRes.step), result);
|
fsfwParams.eventReporter->forwardEvent(event, static_cast<uint8_t>(fsmRes.step), result);
|
||||||
#if FSFW_CPP_OSTREAM_ENABLED == 1
|
#if FSFW_CPP_OSTREAM_ENABLED == 1
|
||||||
sif::warning << "cfdp::DestHandler: " << info << std::endl;
|
sif::warning << "cfdp::DestHandler: " << info << std::endl;
|
||||||
#endif
|
#endif
|
||||||
|
@ -181,7 +181,7 @@ class DestHandler {
|
|||||||
ReturnValue_t sendFinishedPdu();
|
ReturnValue_t sendFinishedPdu();
|
||||||
ReturnValue_t noticeOfCompletion();
|
ReturnValue_t noticeOfCompletion();
|
||||||
ReturnValue_t checksumVerification();
|
ReturnValue_t checksumVerification();
|
||||||
void fileErrorHandler(Event event, ReturnValue_t result, const char* info);
|
void fileErrorHandler(Event event, ReturnValue_t result, const char* info) const;
|
||||||
const FsmResult& updateFsmRes(uint8_t errors);
|
const FsmResult& updateFsmRes(uint8_t errors);
|
||||||
void checkAndHandleError(ReturnValue_t result, uint8_t& errorIdx);
|
void checkAndHandleError(ReturnValue_t result, uint8_t& errorIdx);
|
||||||
void finish();
|
void finish();
|
||||||
|
Loading…
Reference in New Issue
Block a user