|
@@ -21935,6 +21935,10 @@ int setKeyValue(char *key, char *value)
|
|
|
if(ShmOCPP16Data->ConfigurationTable.CoreProfile[AuthDownloadlinkCertificate].ItemAccessibility == 1)
|
|
|
{
|
|
|
strcpy(str, (const char*)value);
|
|
|
+ for(int i = 0; str[i]; i++)
|
|
|
+ {
|
|
|
+ str[i] = tolower(str[i]);
|
|
|
+ }
|
|
|
sprintf((char *)ShmOCPP16Data->ConfigurationTable.CoreProfile[AuthDownloadlinkCertificate].ItemData, "%s", (strcmp(str, "true")==0) ?"TRUE":"FALSE" );
|
|
|
isSuccess = ConfigurationStatus_Accepted;
|
|
|
}
|
|
@@ -21998,6 +22002,10 @@ int setKeyValue(char *key, char *value)
|
|
|
if(ShmOCPP16Data->ConfigurationTable.CoreProfile[EnableAcCcs].ItemAccessibility == 1)
|
|
|
{
|
|
|
strcpy(str, (const char*)value);
|
|
|
+ for(int i = 0; str[i]; i++)
|
|
|
+ {
|
|
|
+ str[i] = tolower(str[i]);
|
|
|
+ }
|
|
|
sprintf((char *)ShmOCPP16Data->ConfigurationTable.CoreProfile[EnableAcCcs].ItemData, "%s", (strcmp(str, "true")==0) ?"TRUE":"FALSE" );
|
|
|
isSuccess = ConfigurationStatus_Accepted;
|
|
|
}
|