|
@@ -7774,14 +7774,12 @@ int sendGetConfigurationConfirmation(char *uuid)
|
|
|
int MaxKeySupported = 0;
|
|
|
int sentConfigurationNumber= 0;
|
|
|
int sentunConfigurationNumber= 0;
|
|
|
- char message[4000]={0};
|
|
|
+ char message[1024*10]={0};
|
|
|
|
|
|
DEBUG_INFO("sendGetConfigurationConfirmation...\n");
|
|
|
|
|
|
MaxKeySupported = atoi((const char *)ShmOCPP16Data->ConfigurationTable.CoreProfile[GetConfigurationMaxKeys].ItemData);
|
|
|
|
|
|
- //DEBUG_INFO("MaxKeySupported=%d\n",MaxKeySupported);
|
|
|
-
|
|
|
sprintf(message,"[%d,\"%s\",{\"configurationKey\":["
|
|
|
,MESSAGE_TYPE_CALLRESULT
|
|
|
,uuid );
|
|
@@ -7808,7 +7806,6 @@ int sendGetConfigurationConfirmation(char *uuid)
|
|
|
|
|
|
sentConfigurationNumber = sentConfigurationNumber + 1;
|
|
|
}
|
|
|
-
|
|
|
}
|
|
|
|
|
|
|
|
@@ -7836,11 +7833,9 @@ int sendGetConfigurationConfirmation(char *uuid)
|
|
|
, ShmOCPP16Data->GetConfiguration.ResponseUnknownKey[idx_sample].Item );
|
|
|
}
|
|
|
sentunConfigurationNumber = sentunConfigurationNumber + 1;
|
|
|
-
|
|
|
}
|
|
|
|
|
|
sprintf(message + strlen(message), "]");
|
|
|
-
|
|
|
}
|
|
|
|
|
|
sprintf(message + strlen(message), "}]");
|