PLOC SUPV bugfix
This commit is contained in:
parent
5af43ca29b
commit
db9e83cbc8
11
CHANGELOG.md
11
CHANGELOG.md
@ -16,6 +16,17 @@ will consitute of a breaking change warranting a new major release:
|
|||||||
|
|
||||||
# [unreleased]
|
# [unreleased]
|
||||||
|
|
||||||
|
# [v8.0.1] 2024-05-28
|
||||||
|
|
||||||
|
## Fixed
|
||||||
|
|
||||||
|
- Important bugfix for PLOC SUPV: The SUPV previously was able to steal packets from the special
|
||||||
|
communication helper, for eample during software updates.
|
||||||
|
|
||||||
|
## Added
|
||||||
|
|
||||||
|
- Added new command to cancel the PLOC SUPV special communication helper.
|
||||||
|
|
||||||
# [v8.0.0] 2024-05-13
|
# [v8.0.0] 2024-05-13
|
||||||
|
|
||||||
- `eive-tmtc` v7.0.0
|
- `eive-tmtc` v7.0.0
|
||||||
|
@ -241,6 +241,9 @@ ReturnValue_t FreshSupvHandler::executeAction(ActionId_t actionId, MessageQueueI
|
|||||||
uartManager->initiateUpdateContinuation();
|
uartManager->initiateUpdateContinuation();
|
||||||
return EXECUTION_FINISHED;
|
return EXECUTION_FINISHED;
|
||||||
}
|
}
|
||||||
|
case ABORT_LONGER_REQUEST: {
|
||||||
|
uartManager->stop();
|
||||||
|
}
|
||||||
case MEMORY_CHECK_WITH_FILE: {
|
case MEMORY_CHECK_WITH_FILE: {
|
||||||
UpdateParams params;
|
UpdateParams params;
|
||||||
result = extractBaseParams(&data, size, params);
|
result = extractBaseParams(&data, size, params);
|
||||||
@ -849,6 +852,10 @@ ReturnValue_t FreshSupvHandler::prepareWipeMramCmd(const uint8_t* commandData, s
|
|||||||
ReturnValue_t FreshSupvHandler::parseTmPackets() {
|
ReturnValue_t FreshSupvHandler::parseTmPackets() {
|
||||||
uint8_t* receivedData = nullptr;
|
uint8_t* receivedData = nullptr;
|
||||||
size_t receivedSize = 0;
|
size_t receivedSize = 0;
|
||||||
|
// We do not want to steal packets from the long request handler.
|
||||||
|
if (uartManager->longerRequestActive()) {
|
||||||
|
return returnvalue::OK;
|
||||||
|
}
|
||||||
while (true) {
|
while (true) {
|
||||||
ReturnValue_t result =
|
ReturnValue_t result =
|
||||||
uartManager->readReceivedMessage(comCookie, &receivedData, &receivedSize);
|
uartManager->readReceivedMessage(comCookie, &receivedData, &receivedSize);
|
||||||
|
@ -159,6 +159,7 @@ static const DeviceCommandId_t ENABLE_NVMS = 59;
|
|||||||
static const DeviceCommandId_t CONTINUE_UPDATE = 60;
|
static const DeviceCommandId_t CONTINUE_UPDATE = 60;
|
||||||
static const DeviceCommandId_t MEMORY_CHECK_WITH_FILE = 61;
|
static const DeviceCommandId_t MEMORY_CHECK_WITH_FILE = 61;
|
||||||
static constexpr DeviceCommandId_t MEMORY_CHECK = 62;
|
static constexpr DeviceCommandId_t MEMORY_CHECK = 62;
|
||||||
|
static constexpr DeviceCommandId_t ABORT_LONGER_REQUEST = 63;
|
||||||
|
|
||||||
/** Reply IDs */
|
/** Reply IDs */
|
||||||
enum ReplyId : DeviceCommandId_t {
|
enum ReplyId : DeviceCommandId_t {
|
||||||
|
Loading…
Reference in New Issue
Block a user