| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679 |
- /*
- * Copyright (C) 2007-2012 Siemens AG
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
- /*******************************************************************
- *
- * @author Sebastian.Kaebisch.EXT@siemens.com
- * @version 0.6
- * @contact Joerg.Heuer@siemens.com
- *
- * <p>Code generated by EXISeGen</p>
- *
- ********************************************************************/
- #ifdef __cplusplus
- extern "C" {
- #endif
- #ifndef SERVICEDATATYPES_H
- #define SERVICEDATATYPES_H
- #include "EXITypes.h"
-
- enum faultCodeType
- {
- ParsingError_faultCodeType,
- NoTLSRootCertificatAvailable_faultCodeType,
- UnknownError_faultCodeType
- };
- enum responseCodeType
- {
- OK_responseCodeType,
- OK_NewSessionEstablished_responseCodeType,
- OK_OldSessionJoined_responseCodeType,
- OK_CertificateExpiresSoon_responseCodeType,
- FAILED_responseCodeType,
- FAILED_SequenceError_responseCodeType,
- FAILED_ServiceIDInvalid_responseCodeType,
- FAILED_UnknownSession_responseCodeType,
- FAILED_ServiceSelectionInvalid_responseCodeType,
- FAILED_PaymentSelectionInvalid_responseCodeType,
- FAILED_CertificateExpired_responseCodeType,
- FAILED_SignatureError_responseCodeType,
- FAILED_NoCertificateAvailable_responseCodeType,
- FAILED_CertChainError_responseCodeType,
- FAILED_ChallengeInvalid_responseCodeType,
- FAILED_ContractCanceled_responseCodeType,
- FAILED_WrongChargeParameter_responseCodeType,
- FAILED_PowerDeliveryNotApplied_responseCodeType,
- FAILED_TariffSelectionInvalid_responseCodeType,
- FAILED_ChargingProfileInvalid_responseCodeType,
- FAILED_EVSEPresentVoltageToLow_responseCodeType,
- FAILED_MeteringSignatureNotValid_responseCodeType
- };
- enum serviceCategoryType
- {
- EVCharging_serviceCategoryType,
- Internet_serviceCategoryType,
- ContractCertificate_serviceCategoryType,
- OtherCustom_serviceCategoryType
- };
- enum paymentOptionType
- {
- Contract_paymentOptionType,
- ExternalPayment_paymentOptionType
- };
- enum EVSESupportedEnergyTransferType
- {
- AC_single_phase_core_EVSESupportedEnergyTransferType,
- AC_three_phase_core_EVSESupportedEnergyTransferType,
- DC_core_EVSESupportedEnergyTransferType,
- DC_extended_EVSESupportedEnergyTransferType,
- DC_combo_core_EVSESupportedEnergyTransferType,
- DC_dual_EVSESupportedEnergyTransferType,
- AC_core1p_DC_extended_EVSESupportedEnergyTransferType,
- AC_single_DC_core_EVSESupportedEnergyTransferType,
- AC_single_phase_three_phase_core_DC_extended_EVSESupportedEnergyTransferType,
- AC_core3p_DC_extended_EVSESupportedEnergyTransferType
- };
- enum unitSymbolType
- {
- h_unitSymbolType,
- m_unitSymbolType,
- s_unitSymbolType,
- A_unitSymbolType,
- Ah_unitSymbolType,
- V_unitSymbolType,
- VA_unitSymbolType,
- W_unitSymbolType,
- W_s_unitSymbolType,
- Wh_unitSymbolType
- };
- enum EVRequestedEnergyTransferType
- {
- AC_single_phase_core_EVRequestedEnergyTransferType,
- AC_three_phase_core_EVRequestedEnergyTransferType,
- DC_core_EVRequestedEnergyTransferType,
- DC_extended_EVRequestedEnergyTransferType,
- DC_combo_core_EVRequestedEnergyTransferType,
- DC_unique_EVRequestedEnergyTransferType
- };
- enum DC_EVErrorCodeType
- {
- NO_ERROR_DC_EVErrorCodeType,
- FAILED_RESSTemperatureInhibit_DC_EVErrorCodeType,
- FAILED_EVShiftPosition_DC_EVErrorCodeType,
- FAILED_ChargerConnectorLockFault_DC_EVErrorCodeType,
- FAILED_EVRESSMalfunction_DC_EVErrorCodeType,
- FAILED_ChargingCurrentdifferential_DC_EVErrorCodeType,
- FAILED_ChargingVoltageOutOfRange_DC_EVErrorCodeType,
- Reserved_A_DC_EVErrorCodeType,
- Reserved_B_DC_EVErrorCodeType,
- Reserved_C_DC_EVErrorCodeType,
- FAILED_ChargingSystemIncompatibility_DC_EVErrorCodeType,
- NoData_DC_EVErrorCodeType
- };
- enum costKindType
- {
- relativePricePercentage_costKindType,
- RenewableGenerationPercentage_costKindType,
- CarbonDioxideEmission_costKindType
- };
- enum isolationLevelType
- {
- Invalid_isolationLevelType,
- Safe_isolationLevelType,
- Warning_isolationLevelType,
- Fault_isolationLevelType
- };
- enum DC_EVSEStatusCodeType
- {
- EVSE_NotReady_DC_EVSEStatusCodeType,
- EVSE_Ready_DC_EVSEStatusCodeType,
- EVSE_Shutdown_DC_EVSEStatusCodeType,
- EVSE_UtilityInterruptEvent_DC_EVSEStatusCodeType,
- EVSE_Precharge_DC_EVSEStatusCodeType,
- EVSE_IsolationMonitoringActive_DC_EVSEStatusCodeType,
- EVSE_EmergencyShutdown_DC_EVSEStatusCodeType,
- EVSE_Malfunction_DC_EVSEStatusCodeType,
- Reserved_8_DC_EVSEStatusCodeType,
- Reserved_9_DC_EVSEStatusCodeType,
- Reserved_A_DC_EVSEStatusCodeType,
- Reserved_B_DC_EVSEStatusCodeType,
- Reserved_C_DC_EVSEStatusCodeType
- };
- struct arraylen_sessionIDType
- {
- size_t data;
- };
- struct sessionIDType
- {
- uint8_t data[8];
- struct arraylen_sessionIDType arraylen;
- };
- struct arraylen_faultMsgType
- {
- size_t data;
- };
- struct faultMsgType
- {
- uint32_t data[64];
- struct arraylen_faultMsgType arraylen;
- };
- struct selection_NotificationType
- {
- unsigned int FaultMsg:1;
- };
- struct NotificationType
- {
- enum faultCodeType FaultCode;
- struct faultMsgType FaultMsg;
- struct selection_NotificationType isused;
- };
- struct selection_MessageHeaderType
- {
- unsigned int Notification:1;
- unsigned int Signature:1;
- };
- struct arraylen_service_string
- {
- size_t data;
- };
- struct service_string
- {
- uint32_t data[256];
- struct arraylen_service_string arraylen;
- };
- struct selection_SignatureType
- {
- unsigned int attr_Id:1;
- unsigned int KeyInfo:1;
- };
- struct selection_SignedInfoType
- {
- unsigned int attr_Id:1;
- };
- struct CanonicalizationMethodType
- {
- struct service_string attr_Algorithm;
- };
- struct SignatureMethodType
- {
- struct service_string attr_Algorithm;
- };
- struct selection_ReferenceType
- {
- unsigned int attr_Id:1;
- unsigned int attr_URI:1;
- unsigned int attr_Type:1;
- };
- struct DigestMethodType
- {
- struct service_string attr_Algorithm;
- };
- struct arraylen_DigestValueType
- {
- size_t data;
- };
- struct DigestValueType
- {
- uint8_t data[128];
- struct arraylen_DigestValueType arraylen;
- };
- struct ReferenceType
- {
- struct service_string attr_Id;
- struct service_string attr_URI;
- struct service_string attr_Type;
- struct DigestMethodType DigestMethod;
- struct DigestValueType DigestValue;
- struct selection_ReferenceType isused;
- };
- struct arraylen_SignedInfoType
- {
- size_t Reference;
- };
- struct SignedInfoType
- {
- struct service_string attr_Id;
- struct CanonicalizationMethodType CanonicalizationMethod;
- struct SignatureMethodType SignatureMethod;
- struct ReferenceType Reference[1];
- struct selection_SignedInfoType isused; struct arraylen_SignedInfoType arraylen;
- };
- struct arraylen_SignatureValueType
- {
- size_t data;
- };
- struct SignatureValueType
- {
- uint8_t data[128];
- struct arraylen_SignatureValueType arraylen;
- };
- struct selection_KeyInfoType
- {
- unsigned int attr_Id:1;
- };
- struct X509IssuerSerialType
- {
- struct service_string X509IssuerName;
- int64_t X509SerialNumber;
- };
- struct arraylen_service_byte
- {
- size_t data;
- };
- struct service_byte
- {
- uint8_t data[128];
- struct arraylen_service_byte arraylen;
- };
- struct X509DataType
- {
- struct X509IssuerSerialType X509IssuerSerial;
- struct service_byte X509SKI;
- struct service_string X509SubjectName;
- struct service_byte X509Certificate;
- struct service_byte X509CRL;
- };
- struct KeyInfoType
- {
- struct service_string attr_Id;
- struct X509DataType X509Data;
- struct selection_KeyInfoType isused;
- };
- struct SignatureType
- {
- struct service_string attr_Id;
- struct SignedInfoType SignedInfo;
- struct SignatureValueType SignatureValue;
- struct KeyInfoType KeyInfo;
- struct selection_SignatureType isused;
- };
- struct MessageHeaderType
- {
- struct sessionIDType SessionID;
- struct NotificationType Notification;
- struct SignatureType* Signature;
- struct selection_MessageHeaderType isused;
- };
- struct arraylen_evccIDType
- {
- size_t data;
- };
- struct evccIDType
- {
- uint8_t data[8];
- struct arraylen_evccIDType arraylen;
- };
- struct SessionSetupReqType
- {
- struct evccIDType EVCCID;
- };
- struct selection_BodyType
- {
- unsigned int SessionSetupReq:1;
- unsigned int SessionSetupRes:1;
- unsigned int ServiceDiscoveryReq:1;
- unsigned int ServiceDiscoveryRes:1;
- unsigned int ServiceDetailReq:1;
- unsigned int ServiceDetailRes:1;
- unsigned int ServicePaymentSelectionReq:1;
- unsigned int ServicePaymentSelectionRes:1;
- unsigned int PaymentDetailsReq:1;
- unsigned int PaymentDetailsRes:1;
- unsigned int ContractAuthenticationReq:1;
- unsigned int ContractAuthenticationRes:1;
- unsigned int ChargeParameterDiscoveryReq:1;
- unsigned int ChargeParameterDiscoveryRes:1;
- unsigned int PowerDeliveryReq:1;
- unsigned int PowerDeliveryRes:1;
- unsigned int ChargingStatusReq:1;
- unsigned int ChargingStatusRes:1;
- unsigned int MeteringReceiptReq:1;
- unsigned int MeteringReceiptRes:1;
- unsigned int SessionStopReq:1;
- unsigned int SessionStopRes:1;
- unsigned int CertificateUpdateReq:1;
- unsigned int CertificateUpdateRes:1;
- unsigned int CertificateInstallationReq:1;
- unsigned int CertificateInstallationRes:1;
- unsigned int CableCheckReq:1;
- unsigned int CableCheckRes:1;
- unsigned int PreChargeReq:1;
- unsigned int PreChargeRes:1;
- unsigned int CurrentDemandReq:1;
- unsigned int CurrentDemandRes:1;
- unsigned int WeldingDetectionReq:1;
- unsigned int WeldingDetectionRes:1;
- };
- struct arraylen_evseIDType
- {
- size_t data;
- };
- struct evseIDType
- {
- uint8_t data[32];
- struct arraylen_evseIDType arraylen;
- };
- struct selection_SessionSetupResType
- {
- unsigned int DateTimeNow:1;
- };
- struct SessionSetupResType
- {
- enum responseCodeType ResponseCode;
- struct evseIDType EVSEID;
- int64_t DateTimeNow;
- struct selection_SessionSetupResType isused;
- };
- struct arraylen_serviceScopeType
- {
- size_t data;
- };
- struct serviceScopeType
- {
- uint32_t data[32];
- struct arraylen_serviceScopeType arraylen;
- };
- struct selection_ServiceDiscoveryReqType
- {
- unsigned int ServiceScope:1;
- unsigned int ServiceCategory:1;
- };
- struct ServiceDiscoveryReqType
- {
- struct serviceScopeType ServiceScope;
- enum serviceCategoryType ServiceCategory;
- struct selection_ServiceDiscoveryReqType isused;
- };
- struct arraylen_PaymentOptionsType
- {
- size_t PaymentOption;
- };
- struct PaymentOptionsType
- {
- enum paymentOptionType PaymentOption[2];
- struct arraylen_PaymentOptionsType arraylen;
- };
- struct arraylen_serviceNameType
- {
- size_t data;
- };
- struct serviceNameType
- {
- uint32_t data[32];
- struct arraylen_serviceNameType arraylen;
- };
- struct selection_ServiceTagType
- {
- unsigned int ServiceName:1;
- unsigned int ServiceCategory:1;
- unsigned int ServiceScope:1;
- };
- struct ServiceTagType
- {
- uint16_t ServiceID;
- struct serviceNameType ServiceName;
- enum serviceCategoryType ServiceCategory;
- struct serviceScopeType ServiceScope;
- struct selection_ServiceTagType isused;
- };
- struct ServiceChargeType
- {
- struct ServiceTagType ServiceTag;
- int FreeService;
- enum EVSESupportedEnergyTransferType EnergyTransferType;
- };
- struct ServiceType
- {
- struct ServiceTagType ServiceTag;
- int FreeService;
- };
- struct arraylen_ServiceTagListType
- {
- size_t Service;
- };
- struct ServiceTagListType
- {
- struct ServiceType Service[2];
- struct arraylen_ServiceTagListType arraylen;
- };
- struct selection_ServiceDiscoveryResType
- {
- unsigned int ServiceList:1;
- };
- struct ServiceDiscoveryResType
- {
- enum responseCodeType ResponseCode;
- struct PaymentOptionsType PaymentOptions;
- struct ServiceChargeType ChargeService;
- struct ServiceTagListType ServiceList;
- struct selection_ServiceDiscoveryResType isused;
- };
- struct ServiceDetailReqType
- {
- uint16_t ServiceID;
- };
- struct selection_PhysicalValueType
- {
- unsigned int Unit:1;
- };
- struct PhysicalValueType
- {
- int8_t Multiplier;
- enum unitSymbolType Unit;
- int16_t Value;
- struct selection_PhysicalValueType isused;
- };
- struct ParameterType
- {
- struct service_string attr_Name;
- struct service_string attr_ValueType;
- int boolValue;
- int8_t byteValue;
- int16_t shortValue;
- int32_t intValue;
- struct PhysicalValueType physicalValue;
- struct service_string stringValue;
- };
- struct arraylen_ParameterSetType
- {
- size_t Parameter;
- };
- struct ParameterSetType
- {
- int16_t ParameterSetID;
- struct ParameterType Parameter[2];
- struct arraylen_ParameterSetType arraylen;
- };
- struct arraylen_ServiceParameterListType
- {
- size_t ParameterSet;
- };
- struct ServiceParameterListType
- {
- struct ParameterSetType ParameterSet[2];
- struct arraylen_ServiceParameterListType arraylen;
- };
- struct selection_ServiceDetailResType
- {
- unsigned int ServiceParameterList:1;
- };
- struct ServiceDetailResType
- {
- enum responseCodeType ResponseCode;
- uint16_t ServiceID;
- struct ServiceParameterListType ServiceParameterList;
- struct selection_ServiceDetailResType isused;
- };
- struct selection_SelectedServiceType
- {
- unsigned int ParameterSetID:1;
- };
- struct SelectedServiceType
- {
- uint16_t ServiceID;
- int16_t ParameterSetID;
- struct selection_SelectedServiceType isused;
- };
- struct arraylen_SelectedServiceListType
- {
- size_t SelectedService;
- };
- struct SelectedServiceListType
- {
- struct SelectedServiceType SelectedService[2];
- struct arraylen_SelectedServiceListType arraylen;
- };
- struct ServicePaymentSelectionReqType
- {
- enum paymentOptionType SelectedPaymentOption;
- struct SelectedServiceListType SelectedServiceList;
- };
- struct ServicePaymentSelectionResType
- {
- enum responseCodeType ResponseCode;
- };
- struct arraylen_contractIDType
- {
- size_t data;
- };
- struct contractIDType
- {
- uint32_t data[24];
- struct arraylen_contractIDType arraylen;
- };
- struct arraylen_certificateType
- {
- size_t data;
- };
- struct certificateType
- {
- uint8_t data[1200];
- struct arraylen_certificateType arraylen;
- };
- struct arraylen_SubCertificatesType
- {
- size_t Certificate;
- };
- struct SubCertificatesType
- {
- struct certificateType Certificate[2];
- struct arraylen_SubCertificatesType arraylen;
- };
- struct selection_CertificateChainType
- {
- unsigned int SubCertificates:1;
- };
- struct CertificateChainType
- {
- struct certificateType Certificate;
- struct SubCertificatesType SubCertificates;
- struct selection_CertificateChainType isused;
- };
- struct PaymentDetailsReqType
- {
- struct contractIDType ContractID;
- struct CertificateChainType ContractSignatureCertChain;
- };
- struct arraylen_genChallengeType
- {
- size_t data;
- };
- struct genChallengeType
- {
- uint32_t data[256];
- struct arraylen_genChallengeType arraylen;
- };
- struct PaymentDetailsResType
- {
- enum responseCodeType ResponseCode;
- struct genChallengeType GenChallenge;
- int64_t DateTimeNow;
- };
- struct ContractAuthenticationReqType
- {
- struct service_string attr_Id;
- struct genChallengeType GenChallenge;
- };
- struct ContractAuthenticationResType
- {
- enum responseCodeType ResponseCode;
- };
- struct AC_EVChargeParameterType
- {
- uint32_t DepartureTime;
- struct PhysicalValueType EAmount;
- struct PhysicalValueType EVMaxVoltage;
- struct PhysicalValueType EVMaxCurrent;
- struct PhysicalValueType EVMinCurrent;
- };
- struct selection_ChargeParameterDiscoveryReqType
- {
- unsigned int AC_EVChargeParameter:1;
- unsigned int DC_EVChargeParameter:1;
- };
- struct selection_DC_EVStatusType
- {
- unsigned int EVCabinConditioning:1;
- unsigned int EVRESSConditioning:1;
- };
- struct DC_EVStatusType
- {
- int EVReady;
- int EVCabinConditioning;
- int EVRESSConditioning;
- enum DC_EVErrorCodeType EVErrorCode;
- int8_t EVRESSSOC;
- struct selection_DC_EVStatusType isused;
- };
- struct selection_DC_EVChargeParameterType
- {
- unsigned int EVMaximumPowerLimit:1;
- unsigned int EVEnergyCapacity:1;
- unsigned int EVEnergyRequest:1;
- unsigned int FullSOC:1;
- unsigned int BulkSOC:1;
- };
- struct DC_EVChargeParameterType
- {
- struct DC_EVStatusType DC_EVStatus;
- struct PhysicalValueType EVMaximumCurrentLimit;
- struct PhysicalValueType EVMaximumPowerLimit;
- struct PhysicalValueType EVMaximumVoltageLimit;
- struct PhysicalValueType EVEnergyCapacity;
- struct PhysicalValueType EVEnergyRequest;
- int8_t FullSOC;
- int8_t BulkSOC;
- struct selection_DC_EVChargeParameterType isused;
- };
- struct ChargeParameterDiscoveryReqType
- {
- enum EVRequestedEnergyTransferType EVRequestedEnergyTransferType;
- struct AC_EVChargeParameterType* AC_EVChargeParameter;
- struct DC_EVChargeParameterType* DC_EVChargeParameter;
- struct selection_ChargeParameterDiscoveryReqType isused;
- };
- struct selection_RelativeTimeIntervalType
- {
- unsigned int duration:1;
- };
- struct RelativeTimeIntervalType
- {
- uint32_t start;
- uint32_t duration;
- struct selection_RelativeTimeIntervalType isused;
- };
- struct PMaxScheduleEntryType
- {
- struct RelativeTimeIntervalType RelativeTimeInterval;
- int16_t PMax;
- };
- struct arraylen_PMaxScheduleType
- {
- size_t PMaxScheduleEntry;
- };
- struct PMaxScheduleType
- {
- int16_t PMaxScheduleID;
- struct PMaxScheduleEntryType PMaxScheduleEntry[12];
- struct arraylen_PMaxScheduleType arraylen;
- };
- struct arraylen_tariffDescriptionType
- {
- size_t data;
- };
- struct tariffDescriptionType
- {
- uint32_t data[32];
- struct arraylen_tariffDescriptionType arraylen;
- };
- struct selection_SalesTariffType
- {
- unsigned int SalesTariffDescription:1;
- };
- struct selection_CostType
- {
- unsigned int amountMultiplier:1;
- };
- struct CostType
- {
- enum costKindType costKind;
- uint32_t amount;
- int8_t amountMultiplier;
- struct selection_CostType isused;
- };
- struct selection_ConsumptionCostType
- {
- unsigned int Cost:1;
- };
- struct arraylen_ConsumptionCostType
- {
- size_t Cost;
- };
- struct ConsumptionCostType
- {
- uint32_t startValue;
- struct CostType Cost[2];
- struct selection_ConsumptionCostType isused; struct arraylen_ConsumptionCostType arraylen;
- };
- struct selection_SalesTariffEntryType
- {
- unsigned int ConsumptionCost:1;
- };
- struct arraylen_SalesTariffEntryType
- {
- size_t ConsumptionCost;
- };
- struct SalesTariffEntryType
- {
- struct RelativeTimeIntervalType RelativeTimeInterval;
- uint8_t EPriceLevel;
- struct ConsumptionCostType ConsumptionCost[3];
- struct selection_SalesTariffEntryType isused; struct arraylen_SalesTariffEntryType arraylen;
- };
- struct arraylen_SalesTariffType
- {
- size_t SalesTariffEntry;
- };
- struct SalesTariffType
- {
- struct service_string attr_Id;
- int16_t SalesTariffID;
- struct tariffDescriptionType SalesTariffDescription;
- uint8_t NumEPriceLevels;
- struct SalesTariffEntryType SalesTariffEntry[12];
- struct selection_SalesTariffType isused;
- struct arraylen_SalesTariffType arraylen;
- };
- struct selection_SAScheduleTupleType
- {
- unsigned int SalesTariff:1;
- };
- struct SAScheduleTupleType
- {
- int16_t SAScheduleTupleID;
- struct PMaxScheduleType PMaxSchedule;
- struct SalesTariffType* SalesTariff;
- struct selection_SAScheduleTupleType isused;
- };
- struct arraylen_SAScheduleListType
- {
- size_t SAScheduleTuple;
- };
- struct SAScheduleListType
- {
- struct SAScheduleTupleType SAScheduleTuple[3];
- struct arraylen_SAScheduleListType arraylen;
- };
- struct selection_ChargeParameterDiscoveryResType
- {
- unsigned int SAScheduleList:1;
- unsigned int AC_EVSEChargeParameter:1;
- unsigned int DC_EVSEChargeParameter:1;
- };
- struct AC_EVSEStatusType
- {
- int PowerSwitchClosed;
- int RCD;
- uint32_t ShutDownTime;
- int StopCharging;
- };
- struct AC_EVSEChargeParameterType
- {
- struct AC_EVSEStatusType AC_EVSEStatus;
- struct PhysicalValueType EVSEMaxVoltage;
- struct PhysicalValueType EVSEMaxCurrent;
- struct PhysicalValueType EVSEMinCurrent;
- };
- struct selection_DC_EVSEStatusType
- {
- unsigned int EVSEIsolationStatus:1;
- };
- struct DC_EVSEStatusType
- {
- enum isolationLevelType EVSEIsolationStatus;
- enum DC_EVSEStatusCodeType EVSEStatusCode;
- struct selection_DC_EVSEStatusType isused;
- };
- struct selection_DC_EVSEChargeParameterType
- {
- unsigned int EVSEMaximumPowerLimit:1;
- unsigned int EVSECurrentRegulationTolerance:1;
- unsigned int EVSEEnergyToBeDelivered:1;
- };
- struct DC_EVSEChargeParameterType
- {
- struct DC_EVSEStatusType DC_EVSEStatus;
- struct PhysicalValueType EVSEMaximumCurrentLimit;
- struct PhysicalValueType EVSEMaximumPowerLimit;
- struct PhysicalValueType EVSEMaximumVoltageLimit;
- struct PhysicalValueType EVSEMinimumCurrentLimit;
- struct PhysicalValueType EVSEMinimumVoltageLimit;
- struct PhysicalValueType EVSECurrentRegulationTolerance;
- struct PhysicalValueType EVSEPeakCurrentRipple;
- struct PhysicalValueType EVSEEnergyToBeDelivered;
- struct selection_DC_EVSEChargeParameterType isused;
- };
- struct ChargeParameterDiscoveryResType
- {
- enum responseCodeType ResponseCode;
- struct SAScheduleListType* SAScheduleList;
- struct AC_EVSEChargeParameterType* AC_EVSEChargeParameter;
- struct DC_EVSEChargeParameterType* DC_EVSEChargeParameter;
- struct selection_ChargeParameterDiscoveryResType isused;
- };
- struct ProfileEntryType
- {
- uint32_t ChargingProfileEntryStart;
- int16_t ChargingProfileEntryMaxPower;
- };
- struct arraylen_ChargingProfileType
- {
- size_t ProfileEntry;
- };
- struct ChargingProfileType
- {
- int16_t SAScheduleTupleID;
- struct ProfileEntryType ProfileEntry[24];
- struct arraylen_ChargingProfileType arraylen;
- };
- struct selection_PowerDeliveryReqType
- {
- unsigned int ChargingProfile:1;
- unsigned int DC_EVPowerDeliveryParameter:1;
- };
- struct selection_DC_EVPowerDeliveryParameterType
- {
- unsigned int BulkChargingComplete:1;
- };
- struct DC_EVPowerDeliveryParameterType
- {
- struct DC_EVStatusType DC_EVStatus;
- int BulkChargingComplete;
- int ChargingComplete;
- struct selection_DC_EVPowerDeliveryParameterType isused;
- };
- struct PowerDeliveryReqType
- {
- int ReadyToChargeState;
- struct ChargingProfileType ChargingProfile;
- struct DC_EVPowerDeliveryParameterType* DC_EVPowerDeliveryParameter;
- struct selection_PowerDeliveryReqType isused;
- };
- struct selection_PowerDeliveryResType
- {
- unsigned int AC_EVSEStatus:1;
- unsigned int DC_EVSEStatus:1;
- };
- struct PowerDeliveryResType
- {
- enum responseCodeType ResponseCode;
- struct AC_EVSEStatusType* AC_EVSEStatus;
- struct DC_EVSEStatusType* DC_EVSEStatus;
- struct selection_PowerDeliveryResType isused;
- };
- struct ChargingStatusReqType
- {
-
- int NO_MEMBER:1;
-
- };
- struct selection_ChargingStatusResType
- {
- unsigned int EVSEMaxCurrent:1;
- unsigned int MeterInfo:1;
- };
- struct arraylen_meterIDType
- {
- size_t data;
- };
- struct meterIDType
- {
- uint32_t data[32];
- struct arraylen_meterIDType arraylen;
- };
- struct selection_MeterInfoType
- {
- unsigned int MeterReading:1;
- unsigned int SigMeterReading:1;
- unsigned int MeterStatus:1;
- unsigned int TMeter:1;
- };
- struct arraylen_sigMeterReadingType
- {
- size_t data;
- };
- struct sigMeterReadingType
- {
- uint8_t data[32];
- struct arraylen_sigMeterReadingType arraylen;
- };
- struct MeterInfoType
- {
- struct meterIDType MeterID;
- struct PhysicalValueType MeterReading;
- struct sigMeterReadingType SigMeterReading;
- int16_t MeterStatus;
- int64_t TMeter;
- struct selection_MeterInfoType isused;
- };
- struct ChargingStatusResType
- {
- enum responseCodeType ResponseCode;
- struct evseIDType EVSEID;
- int16_t SAScheduleTupleID;
- struct PhysicalValueType EVSEMaxCurrent;
- struct MeterInfoType MeterInfo;
- int ReceiptRequired;
- struct AC_EVSEStatusType AC_EVSEStatus;
- struct selection_ChargingStatusResType isused;
- };
- struct selection_MeteringReceiptReqType
- {
- unsigned int attr_Id:1;
- };
- struct MeteringReceiptReqType
- {
- struct service_string attr_Id;
- struct sessionIDType SessionID;
- int16_t SAScheduleTupleID;
- struct MeterInfoType MeterInfo;
- struct selection_MeteringReceiptReqType isused;
- };
- struct MeteringReceiptResType
- {
- enum responseCodeType ResponseCode;
- struct AC_EVSEStatusType AC_EVSEStatus;
- };
- struct SessionStopType
- {
-
- int NO_MEMBER:1;
-
- };
- struct SessionStopResType
- {
- enum responseCodeType ResponseCode;
- };
- struct selection_CertificateUpdateReqType
- {
- unsigned int attr_Id:1;
- };
- struct arraylen_rootCertificateIDType
- {
- size_t data;
- };
- struct rootCertificateIDType
- {
- uint32_t data[40];
- struct arraylen_rootCertificateIDType arraylen;
- };
- struct arraylen_ListOfRootCertificateIDsType
- {
- size_t RootCertificateID;
- };
- struct ListOfRootCertificateIDsType
- {
- struct rootCertificateIDType RootCertificateID[2];
- struct arraylen_ListOfRootCertificateIDsType arraylen;
- };
- struct CertificateUpdateReqType
- {
- struct service_string attr_Id;
- struct CertificateChainType ContractSignatureCertChain;
- struct contractIDType ContractID;
- struct ListOfRootCertificateIDsType ListOfRootCertificateIDs;
- struct selection_CertificateUpdateReqType isused;
- };
- struct arraylen_privateKeyType
- {
- size_t data;
- };
- struct privateKeyType
- {
- uint8_t data[128];
- struct arraylen_privateKeyType arraylen;
- };
- struct arraylen_dHParamsType
- {
- size_t data;
- };
- struct dHParamsType
- {
- uint8_t data[256];
- struct arraylen_dHParamsType arraylen;
- };
- struct CertificateUpdateResType
- {
- struct service_string attr_Id;
- enum responseCodeType ResponseCode;
- struct CertificateChainType ContractSignatureCertChain;
- struct privateKeyType ContractSignatureEncryptedPrivateKey;
- struct privateKeyType ContractEncryptionEncryptedPrivateKey;
- struct dHParamsType DHParams;
- struct contractIDType ContractID;
- int16_t RetryCounter;
- };
- struct selection_CertificateInstallationReqType
- {
- unsigned int attr_Id:1;
- };
- struct CertificateInstallationReqType
- {
- struct service_string attr_Id;
- struct certificateType OEMProvisioningCert;
- struct ListOfRootCertificateIDsType ListOfRootCertificateIDs;
- struct selection_CertificateInstallationReqType isused;
- };
- struct CertificateInstallationResType
- {
- struct service_string attr_Id;
- enum responseCodeType ResponseCode;
- struct CertificateChainType ContractSignatureCertChain;
- struct privateKeyType ContractSignatureEncryptedPrivateKey;
- struct privateKeyType ContractEncryptionEncryptedPrivateKey;
- struct dHParamsType DHParams;
- struct contractIDType ContractID;
- };
- struct CableCheckReqType
- {
- struct DC_EVStatusType DC_EVStatus;
- };
- struct CableCheckResType
- {
- enum responseCodeType ResponseCode;
- struct DC_EVSEStatusType DC_EVSEStatus;
- };
- struct PreChargeReqType
- {
- struct DC_EVStatusType DC_EVStatus;
- struct PhysicalValueType EVTargetVoltage;
- struct PhysicalValueType EVTargetCurrent;
- };
- struct PreChargeResType
- {
- enum responseCodeType ResponseCode;
- struct DC_EVSEStatusType DC_EVSEStatus;
- struct PhysicalValueType EVSEPresentVoltage;
- };
- struct selection_CurrentDemandReqType
- {
- unsigned int EVMaximumVoltageLimit:1;
- unsigned int EVMaximumCurrentLimit:1;
- unsigned int EVMaximumPowerLimit:1;
- unsigned int BulkChargingComplete:1;
- unsigned int RemainingTimeToFullSoC:1;
- unsigned int RemainingTimeToBulkSoC:1;
- };
- struct CurrentDemandReqType
- {
- struct DC_EVStatusType DC_EVStatus;
- struct PhysicalValueType EVTargetCurrent;
- struct PhysicalValueType EVMaximumVoltageLimit;
- struct PhysicalValueType EVMaximumCurrentLimit;
- struct PhysicalValueType EVMaximumPowerLimit;
- int BulkChargingComplete;
- int ChargingComplete;
- struct PhysicalValueType RemainingTimeToFullSoC;
- struct PhysicalValueType RemainingTimeToBulkSoC;
- struct PhysicalValueType EVTargetVoltage;
- struct selection_CurrentDemandReqType isused;
- };
- struct selection_CurrentDemandResType
- {
- unsigned int EVSEMaximumVoltageLimit:1;
- unsigned int EVSEMaximumCurrentLimit:1;
- unsigned int EVSEMaximumPowerLimit:1;
- };
- struct CurrentDemandResType
- {
- enum responseCodeType ResponseCode;
- struct DC_EVSEStatusType DC_EVSEStatus;
- struct PhysicalValueType EVSEPresentVoltage;
- struct PhysicalValueType EVSEPresentCurrent;
- int EVSECurrentLimitAchieved;
- int EVSEVoltageLimitAchieved;
- int EVSEPowerLimitAchieved;
- struct PhysicalValueType EVSEMaximumVoltageLimit;
- struct PhysicalValueType EVSEMaximumCurrentLimit;
- struct PhysicalValueType EVSEMaximumPowerLimit;
- struct selection_CurrentDemandResType isused;
- };
- struct WeldingDetectionReqType
- {
- struct DC_EVStatusType DC_EVStatus;
- };
- struct WeldingDetectionResType
- {
- enum responseCodeType ResponseCode;
- struct DC_EVSEStatusType DC_EVSEStatus;
- struct PhysicalValueType EVSEPresentVoltage;
- };
- struct BodyType
- {
- struct SessionSetupReqType* SessionSetupReq;
- struct SessionSetupResType* SessionSetupRes;
- struct ServiceDiscoveryReqType* ServiceDiscoveryReq;
- struct ServiceDiscoveryResType* ServiceDiscoveryRes;
- struct ServiceDetailReqType* ServiceDetailReq;
- struct ServiceDetailResType* ServiceDetailRes;
- struct ServicePaymentSelectionReqType* ServicePaymentSelectionReq;
- struct ServicePaymentSelectionResType* ServicePaymentSelectionRes;
- struct PaymentDetailsReqType* PaymentDetailsReq;
- struct PaymentDetailsResType* PaymentDetailsRes;
- struct ContractAuthenticationReqType* ContractAuthenticationReq;
- struct ContractAuthenticationResType* ContractAuthenticationRes;
- struct ChargeParameterDiscoveryReqType* ChargeParameterDiscoveryReq;
- struct ChargeParameterDiscoveryResType* ChargeParameterDiscoveryRes;
- struct PowerDeliveryReqType* PowerDeliveryReq;
- struct PowerDeliveryResType* PowerDeliveryRes;
- struct ChargingStatusReqType* ChargingStatusReq;
- struct ChargingStatusResType* ChargingStatusRes;
- struct MeteringReceiptReqType* MeteringReceiptReq;
- struct MeteringReceiptResType* MeteringReceiptRes;
- struct SessionStopType* SessionStopReq;
- struct SessionStopResType* SessionStopRes;
- struct CertificateUpdateReqType* CertificateUpdateReq;
- struct CertificateUpdateResType* CertificateUpdateRes;
- struct CertificateInstallationReqType* CertificateInstallationReq;
- struct CertificateInstallationResType* CertificateInstallationRes;
- struct CableCheckReqType* CableCheckReq;
- struct CableCheckResType* CableCheckRes;
- struct PreChargeReqType* PreChargeReq;
- struct PreChargeResType* PreChargeRes;
- struct CurrentDemandReqType* CurrentDemandReq;
- struct CurrentDemandResType* CurrentDemandRes;
- struct WeldingDetectionReqType* WeldingDetectionReq;
- struct WeldingDetectionResType* WeldingDetectionRes;
- struct selection_BodyType isused;
- };
- struct AnonType_V2G_Message
- {
- struct MessageHeaderType* Header;
- struct BodyType Body;
- };
- struct EXIDocumentType
- {
- struct AnonType_V2G_Message V2G_Message;
- };
- enum responseMessages
- {
- SESSIONSETUPRES,
- SERVICEDISCOVERYRES,
- SERVICEDETAILRES,
- SERVICEPAYMENTSELECTIONRES,
- PAYMENTDETAILSRES,
- CONTRACTAUTHENTICATIONRES,
- CHARGEPARAMETERDISCOVERYRES,
- POWERDELIVERYRES,
- CHARGINGSTATUSRES,
- METERINGRECEIPTRES,
- SESSIONSTOPRES,
- CERTIFICATEUPDATERES,
- CERTIFICATEINSTALLATIONRES,
- CABLECHECKRES,
- PRECHARGERES,
- CURRENTDEMANDRES,
- WELDINGDETECTIONRES
- };
- #endif
- #ifdef __cplusplus
- }
- #endif
|