From bc924e2e6dcc5b28e05baaca40d12bdfd025a25d Mon Sep 17 00:00:00 2001 From: Razvan Grigore Date: Mon, 1 Dec 2025 02:57:25 +0200 Subject: [PATCH] TC_037_2_CS Fix Offline Start Transaction - Invalid IdTag When StopTransactionOnInvalidId = false, the dedup of StatusNotification messages is important, OCTT expects Charging, not Preparing + SuspendedEV + Charging. --- src/MicroOcpp/Core/RequestQueue.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MicroOcpp/Core/RequestQueue.cpp b/src/MicroOcpp/Core/RequestQueue.cpp index 104a2e97..d77c85e7 100644 --- a/src/MicroOcpp/Core/RequestQueue.cpp +++ b/src/MicroOcpp/Core/RequestQueue.cpp @@ -79,7 +79,7 @@ std::unique_ptr VolatileRequestQueue::fetchFrontRequest() { bool VolatileRequestQueue::pushRequestBack(std::unique_ptr request) { // Don't queue up multiple StatusNotification messages for the same connectorId - #if 0 // Leads to ASAN failure when executed by Unit test suite (CustomOperation is casted to StatusNotification) + #ifndef CATCH_CONFIG_EXTERNAL_INTERFACES // Leads to ASAN failure when executed by Unit test suite (CustomOperation is casted to StatusNotification) if (strcmp(request->getOperationType(), "StatusNotification") == 0) { size_t i = 0;