missing packet checks
Some checks failed
EIVE/eive-obsw/pipeline/head Build started...
EIVE/eive-obsw/pipeline/pr-develop There was a failure building this commit

This commit is contained in:
Robin Müller 2022-08-15 19:03:08 +02:00
parent e1c06ce1f5
commit 67ab3f981b
No known key found for this signature in database
GPG Key ID: 71B58F8A3CDFA9AC

View File

@ -906,7 +906,10 @@ ReturnValue_t PlocSupervisorHandler::handleAckReport(const uint8_t* data) {
ReturnValue_t result = RETURN_OK;
AcknowledgmentReport ack(data, SIZE_ACK_REPORT);
// ack.addWholeData(data, SIZE_ACK_REPORT);
result = ack.checkSize();
if(result != RETURN_OK) {
return result;
}
result = ack.checkCrc();
if (result != RETURN_OK) {
@ -960,9 +963,6 @@ ReturnValue_t PlocSupervisorHandler::handleExecutionReport(const uint8_t* data)
ReturnValue_t result = RETURN_OK;
ExecutionReport exe(data, SIZE_EXE_REPORT);
if (exe.isNull()) {
return RETURN_FAILED;
}
result = exe.checkSize();
if (result != RETURN_OK) {
return result;