Skip to content

Commit bc924e2

Browse files
committed
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.
1 parent 5cfcc02 commit bc924e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/MicroOcpp/Core/RequestQueue.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ std::unique_ptr<Request> VolatileRequestQueue::fetchFrontRequest() {
7979
bool VolatileRequestQueue::pushRequestBack(std::unique_ptr<Request> request) {
8080

8181
// Don't queue up multiple StatusNotification messages for the same connectorId
82-
#if 0 // Leads to ASAN failure when executed by Unit test suite (CustomOperation is casted to StatusNotification)
82+
#ifndef CATCH_CONFIG_EXTERNAL_INTERFACES // Leads to ASAN failure when executed by Unit test suite (CustomOperation is casted to StatusNotification)
8383
if (strcmp(request->getOperationType(), "StatusNotification") == 0)
8484
{
8585
size_t i = 0;

0 commit comments

Comments
 (0)