This commit is contained in:
sebastiankb 2012-04-02 13:01:50 +00:00
parent 1516a5977e
commit a799d6b064
2 changed files with 1 additions and 38 deletions

View file

@ -595,43 +595,6 @@ int certificateInstallation(struct MessageHeaderType* header, struct Certificate
{
printf("EVSE: certificateInstallation called\n" );
printf("\tReceived data:\n");
printf("\t\t\t OEMProvisioningCert=%d\n", param->OEMProvisioningCert.data[0]);
printf("\t\t\t RootCertificateID[0]=%d\n", param->ListOfRootCertificateIDs.RootCertificateID[0].data[0]);
printf("\t\t\t DHParams[0]=%d\n", param->DHParams.data[0]);
/* result->ContractEncryptionEncryptedPrivateKey.data[0]=200;
result->ContractEncryptionEncryptedPrivateKey.arraylen.data=1;
*/
result->ContractID.data[0]=50;
result->ContractID.arraylen.data=1;
result->ContractSignatureEncryptedPrivateKey.data[0]=12;
result->ContractSignatureEncryptedPrivateKey.arraylen.data=1;
result->ContractSignatureCertChain.Certificate.data[0]=40;
result->ContractSignatureCertChain.Certificate.arraylen.data=1;
result->ContractSignatureCertChain.SubCertificates.arraylen.Certificate=2;
result->ContractSignatureCertChain.SubCertificates.Certificate[0].data[0]=20;
result->ContractSignatureCertChain.SubCertificates.Certificate[0].arraylen.data=1;
result->ContractSignatureCertChain.SubCertificates.Certificate[1].data[0]=40;
result->ContractSignatureCertChain.SubCertificates.Certificate[1].arraylen.data=1;
result->ContractSignatureCertChain.isused.SubCertificates=1;
result->DHParams.data[0]=99;
result->DHParams.arraylen.data=1;
result->attr_Id.data[0]=33;
result->attr_Id.arraylen.data=1;
result->ResponseCode = OK_responseCodeType;
return 0;
}

View file

@ -533,7 +533,7 @@ static int ac_charging()
/* show result of the answer message of EVSE sessionSetup*/
printf("EV side: received response message from EVSE\n");
/* show result of the answer message of EVSE powerDiscovery*/
printf("\tResponseCode=%d\n",resultSessionStop.ResponseCode);
printf("\tResponseCode=%d\n",resultChargingStatus.ResponseCode);
printACEVSEStatus(&evseStatus);
printf("\tReceiptRequired=%d\n",resultChargingStatus.ReceiptRequired);
printf("\tSAScheduleTupleID=%d\n",resultChargingStatus.SAScheduleTupleID);