|
@@ -2466,7 +2466,10 @@ int main(void)
|
|
|
ShmOCPP16Data->MsMsg.bits.ResetReq = OFF;
|
|
|
sprintf((char*)ShmOCPP16Data->Reset.ResponseStatus, "Accepted");
|
|
|
ShmOCPP16Data->MsMsg.bits.ResetConf = ON;
|
|
|
-
|
|
|
+
|
|
|
+ DEBUG_INFO("%s reset request by OCPP.\n", ShmOCPP16Data->Reset.Type);
|
|
|
+ for(int gun_index = 0;gun_index<AC_QUANTITY;gun_index++)
|
|
|
+ setChargerMode(gun_index, SYS_MODE_BOOTING);
|
|
|
if(strcmp((char*)ShmOCPP16Data->Reset.Type, "Hard") == 0)
|
|
|
{
|
|
|
system("sync");
|