Explorar o código

2023-02-24/Jerry Wang
[OCPP 1.6]
Action:
1. Fix configuration key 'RfidEndianType' and 'Enable15118' not saving to flash problem.

File:
1. EVSE/Modularization/ocppfiles/MessageHandler.c
--> Action 1

Jerry Wang %!s(int64=2) %!d(string=hai) anos
pai
achega
92b4de43d3
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      EVSE/Modularization/ocppfiles/MessageHandler.c

+ 1 - 1
EVSE/Modularization/ocppfiles/MessageHandler.c

@@ -10389,7 +10389,7 @@ int handleChangeConfigurationRequest(char *uuid, char *payload)
 		SetOcppConnStatus(FALSE);
 	}
 
-	if(((strcmp(keystr,"FreeVend")==0) || (strcmp(keystr,"isEnableLocalPowerSharing")==0) || (strcmp(keystr,"PowerSharingServerIP")==0)) && (strcmp(comfirmstr,"Accepted")==0))
+	if(((strcmp(keystr,"FreeVend")==0) || (strcmp(keystr,"isEnableLocalPowerSharing")==0) || (strcmp(keystr,"PowerSharingServerIP")==0) || (strcmp(keystr,"RfidEndianType")==0) || (strcmp(keystr,"Enable15118")==0)) && (strcmp(comfirmstr,"Accepted")==0))
 	{
 		StoreUsrConfigData(&ShmSysConfigAndInfo->SysConfig);
 	}