updated print commands for PDUs
All checks were successful
EIVE/eive-obsw/pipeline/head This commit looks good

This commit is contained in:
2021-09-20 11:22:11 +02:00
parent 87d00dbcee
commit 487b6fd5ca
7 changed files with 108 additions and 137 deletions

View File

@ -75,10 +75,7 @@ ReturnValue_t GomspaceDeviceHandler::buildCommandFromCommand(
}
break;
}
case(GOMSPACE::PRINT_OUT_ENB_STATUS):
case(GOMSPACE::PRINT_ALL):
case(GOMSPACE::PRINT_OUT_CURRENTS):
case(GOMSPACE::PRINT_OUT_VOLTAGES): {
case(GOMSPACE::PRINT_HK_TABLE): {
result = printStatus(deviceCommand);
break;
}
@ -102,10 +99,7 @@ void GomspaceDeviceHandler::fillCommandAndReplyMap(){
this->insertInCommandAndReplyMap(GOMSPACE::PARAM_GET, 3);
this->insertInCommandAndReplyMap(GOMSPACE::REQUEST_HK_TABLE, 3);
this->insertInCommandMap(GOMSPACE::GNDWDT_RESET);
this->insertInCommandMap(GOMSPACE::PRINT_ALL);
this->insertInCommandMap(GOMSPACE::PRINT_OUT_ENB_STATUS);
this->insertInCommandMap(GOMSPACE::PRINT_OUT_VOLTAGES);
this->insertInCommandMap(GOMSPACE::PRINT_OUT_CURRENTS);
this->insertInCommandMap(GOMSPACE::PRINT_HK_TABLE);
}
ReturnValue_t GomspaceDeviceHandler::scanForReply(const uint8_t *start,