git-svn-id: https://svn.code.sf.net/p/openv2g/code/trunk@68 d9f2db14-54d0-4bde-b00c-16405c910529

This commit is contained in:
sebastiankb 2012-04-02 13:01:50 +00:00
parent 99a33ccd91
commit cfdd726f75
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("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; return 0;
} }

View file

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