Skip to content

Commit e961572

Browse files
heakinsmatth-x
authored andcommitted
TC_016_CS: Reset shouldnt set connectors inoperative.
Setting them to inOperative causes the status to change to Unavailable. The OCPP Test Spec and OCTT requires the Status to change to Finishing when a Reset has been recieved.
1 parent 1098e95 commit e961572

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

src/MicroOcpp/Model/Reset/ResetService.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -96,11 +96,6 @@ void ResetService::initiateReset(bool isHard) {
9696
outstandingResetRetries = 5;
9797
}
9898
t_resetRetry = mocpp_tick_ms();
99-
100-
for (unsigned int cId = 0; cId < context.getModel().getNumConnectors(); cId++) {
101-
auto connector = context.getModel().getConnector(cId);
102-
connector->setAvailabilityVolatile(false);
103-
}
10499
}
105100

106101
#if MO_PLATFORM == MO_PLATFORM_ARDUINO && (defined(ESP32) || defined(ESP8266))

0 commit comments

Comments
 (0)