feat: add "iso2" prefix to Document and Fragment structures/defines to avoid collisions if multiple codecs are used in parallel (e.g., iso1 and iso2)

git-svn-id: https://svn.code.sf.net/p/openv2g/code/trunk@117 d9f2db14-54d0-4bde-b00c-16405c910529
This commit is contained in:
daniel_peintner 2019-07-08 14:46:11 +00:00
parent 7528fd8eb7
commit 6a5f291f88
2 changed files with 105 additions and 105 deletions

View file

@ -2963,41 +2963,41 @@ struct iso2AnonType_V2G_Message {
#define EXIDocument_MgmtData_CHARACTERS_SIZE 50 + EXTRA_CHAR #define iso2EXIDocument_MgmtData_CHARACTERS_SIZE 50 + EXTRA_CHAR
#define EXIDocument_KeyName_CHARACTERS_SIZE 50 + EXTRA_CHAR #define iso2EXIDocument_KeyName_CHARACTERS_SIZE 50 + EXTRA_CHAR
#define EXIDocument_DigestValue_BYTES_SIZE 350 #define iso2EXIDocument_DigestValue_BYTES_SIZE 350
#define EXIFragment_stringValue_CHARACTERS_SIZE 50 + EXTRA_CHAR #define iso2EXIFragment_stringValue_CHARACTERS_SIZE 50 + EXTRA_CHAR
#define EXIFragment_PgenCounter_BYTES_SIZE 350 #define iso2EXIFragment_PgenCounter_BYTES_SIZE 350
#define EXIFragment_SalesTariffDescription_CHARACTERS_SIZE 32 + EXTRA_CHAR /* XML schema facet maxLength for urn:iso:15118:2:2016:MsgDataTypes,tariffDescriptionType is 32 */ #define iso2EXIFragment_SalesTariffDescription_CHARACTERS_SIZE 32 + EXTRA_CHAR /* XML schema facet maxLength for urn:iso:15118:2:2016:MsgDataTypes,tariffDescriptionType is 32 */
#define EXIFragment_SessionID_BYTES_SIZE 8 /* XML schema facet maxLength for urn:iso:15118:2:2016:MsgDataTypes,sessionIDType is 8 */ #define iso2EXIFragment_SessionID_BYTES_SIZE 8 /* XML schema facet maxLength for urn:iso:15118:2:2016:MsgDataTypes,sessionIDType is 8 */
#define EXIFragment_XPath_CHARACTERS_SIZE 50 + EXTRA_CHAR #define iso2EXIFragment_XPath_CHARACTERS_SIZE 50 + EXTRA_CHAR
#define EXIFragment_MgmtData_CHARACTERS_SIZE 50 + EXTRA_CHAR #define iso2EXIFragment_MgmtData_CHARACTERS_SIZE 50 + EXTRA_CHAR
#define EXIFragment_OEMProvisioningCert_BYTES_SIZE 800 /* XML schema facet maxLength for urn:iso:15118:2:2016:MsgDataTypes,certificateType is 800 */ #define iso2EXIFragment_OEMProvisioningCert_BYTES_SIZE 800 /* XML schema facet maxLength for urn:iso:15118:2:2016:MsgDataTypes,certificateType is 800 */
#define EXIFragment_P_BYTES_SIZE 350 #define iso2EXIFragment_P_BYTES_SIZE 350
#define EXIFragment_Q_BYTES_SIZE 350 #define iso2EXIFragment_Q_BYTES_SIZE 350
#define EXIFragment_X509SubjectName_CHARACTERS_SIZE 50 + EXTRA_CHAR #define iso2EXIFragment_X509SubjectName_CHARACTERS_SIZE 50 + EXTRA_CHAR
#define EXIFragment_G_BYTES_SIZE 350 #define iso2EXIFragment_G_BYTES_SIZE 350
#define EXIFragment_J_BYTES_SIZE 350 #define iso2EXIFragment_J_BYTES_SIZE 350
#define EXIFragment_Y_BYTES_SIZE 350 #define iso2EXIFragment_Y_BYTES_SIZE 350
#define EXIFragment_DigestValue_BYTES_SIZE 350 #define iso2EXIFragment_DigestValue_BYTES_SIZE 350
#define EXIFragment_EVCCID_BYTES_SIZE 6 /* XML schema facet maxLength for urn:iso:15118:2:2016:MsgDataTypes,evccIDType is 6 */ #define iso2EXIFragment_EVCCID_BYTES_SIZE 6 /* XML schema facet maxLength for urn:iso:15118:2:2016:MsgDataTypes,evccIDType is 6 */
#define EXIFragment_PGPKeyID_BYTES_SIZE 350 #define iso2EXIFragment_PGPKeyID_BYTES_SIZE 350
#define EXIFragment_KeyName_CHARACTERS_SIZE 50 + EXTRA_CHAR #define iso2EXIFragment_KeyName_CHARACTERS_SIZE 50 + EXTRA_CHAR
#define EXIFragment_X509SKI_BYTES_SIZE 350 #define iso2EXIFragment_X509SKI_BYTES_SIZE 350
#define EXIFragment_Certificate_BYTES_SIZE 800 /* XML schema facet maxLength for urn:iso:15118:2:2016:MsgDataTypes,certificateType is 800 */ #define iso2EXIFragment_Certificate_BYTES_SIZE 800 /* XML schema facet maxLength for urn:iso:15118:2:2016:MsgDataTypes,certificateType is 800 */
#define EXIFragment_Modulus_BYTES_SIZE 350 #define iso2EXIFragment_Modulus_BYTES_SIZE 350
#define EXIFragment_SigMeterReading_BYTES_SIZE 64 /* XML schema facet maxLength for urn:iso:15118:2:2016:MsgDataTypes,sigMeterReadingType is 64 */ #define iso2EXIFragment_SigMeterReading_BYTES_SIZE 64 /* XML schema facet maxLength for urn:iso:15118:2:2016:MsgDataTypes,sigMeterReadingType is 64 */
#define EXIFragment_Exponent_BYTES_SIZE 350 #define iso2EXIFragment_Exponent_BYTES_SIZE 350
#define EXIFragment_PGPKeyPacket_BYTES_SIZE 350 #define iso2EXIFragment_PGPKeyPacket_BYTES_SIZE 350
#define EXIFragment_Seed_BYTES_SIZE 350 #define iso2EXIFragment_Seed_BYTES_SIZE 350
#define EXIFragment_MeterID_CHARACTERS_SIZE 32 + EXTRA_CHAR /* XML schema facet maxLength for urn:iso:15118:2:2016:MsgDataTypes,meterIDType is 32 */ #define iso2EXIFragment_MeterID_CHARACTERS_SIZE 32 + EXTRA_CHAR /* XML schema facet maxLength for urn:iso:15118:2:2016:MsgDataTypes,meterIDType is 32 */
#define EXIFragment_X509CRL_BYTES_SIZE 350 #define iso2EXIFragment_X509CRL_BYTES_SIZE 350
#define EXIFragment_SPKISexp_BYTES_SIZE 350 #define iso2EXIFragment_SPKISexp_BYTES_SIZE 350
#define EXIFragment_X509Certificate_BYTES_SIZE 350 #define iso2EXIFragment_X509Certificate_BYTES_SIZE 350
#define EXIFragment_EVSEID_CHARACTERS_SIZE 37 + EXTRA_CHAR /* XML schema facet maxLength for urn:iso:15118:2:2016:MsgDataTypes,evseIDType is 37 */ #define iso2EXIFragment_EVSEID_CHARACTERS_SIZE 37 + EXTRA_CHAR /* XML schema facet maxLength for urn:iso:15118:2:2016:MsgDataTypes,evseIDType is 37 */
#define EXIFragment_GenChallenge_BYTES_SIZE 16 /* XML schema facet length for urn:iso:15118:2:2016:MsgDataTypes,genChallengeType is 16 */ #define iso2EXIFragment_GenChallenge_BYTES_SIZE 16 /* XML schema facet length for urn:iso:15118:2:2016:MsgDataTypes,genChallengeType is 16 */
#define EXIFragment_GAID_CHARACTERS_SIZE 50 + EXTRA_CHAR #define iso2EXIFragment_GAID_CHARACTERS_SIZE 50 + EXTRA_CHAR
#define EXIFragment_X509IssuerName_CHARACTERS_SIZE 50 + EXTRA_CHAR #define iso2EXIFragment_X509IssuerName_CHARACTERS_SIZE 50 + EXTRA_CHAR
/* Global elements of EXI Document */ /* Global elements of EXI Document */
@ -3110,7 +3110,7 @@ struct iso2EXIDocument {
struct iso2TransformType Transform ; struct iso2TransformType Transform ;
struct iso2PGPDataType PGPData ; struct iso2PGPDataType PGPData ;
struct { struct {
exi_string_character_t characters[EXIDocument_MgmtData_CHARACTERS_SIZE]; exi_string_character_t characters[iso2EXIDocument_MgmtData_CHARACTERS_SIZE];
uint16_t charactersLen; uint16_t charactersLen;
} MgmtData ; } MgmtData ;
struct iso2SignatureMethodType SignatureMethod ; struct iso2SignatureMethodType SignatureMethod ;
@ -3119,11 +3119,11 @@ struct iso2EXIDocument {
struct iso2X509DataType X509Data ; struct iso2X509DataType X509Data ;
struct iso2SignatureValueType SignatureValue ; struct iso2SignatureValueType SignatureValue ;
struct { struct {
exi_string_character_t characters[EXIDocument_KeyName_CHARACTERS_SIZE]; exi_string_character_t characters[iso2EXIDocument_KeyName_CHARACTERS_SIZE];
uint16_t charactersLen; uint16_t charactersLen;
} KeyName ; } KeyName ;
struct { struct {
uint8_t bytes[EXIDocument_DigestValue_BYTES_SIZE]; uint8_t bytes[iso2EXIDocument_DigestValue_BYTES_SIZE];
uint16_t bytesLen; uint16_t bytesLen;
} DigestValue ; } DigestValue ;
struct iso2SignedInfoType SignedInfo ; struct iso2SignedInfoType SignedInfo ;
@ -3283,7 +3283,7 @@ struct iso2EXIFragment {
int16_t XCoordinate ; int16_t XCoordinate ;
iso2EVCheckOutStatusType EVSECheckOutStatus ; iso2EVCheckOutStatusType EVSECheckOutStatus ;
struct { struct {
exi_string_character_t characters[EXIFragment_stringValue_CHARACTERS_SIZE]; exi_string_character_t characters[iso2EXIFragment_stringValue_CHARACTERS_SIZE];
uint16_t charactersLen; uint16_t charactersLen;
} stringValue ; } stringValue ;
int16_t RetryCounter ; int16_t RetryCounter ;
@ -3299,11 +3299,11 @@ struct iso2EXIFragment {
struct iso2SAScheduleTupleType SAScheduleTuple ; struct iso2SAScheduleTupleType SAScheduleTuple ;
uint16_t ServiceID ; uint16_t ServiceID ;
struct { struct {
uint8_t bytes[EXIFragment_PgenCounter_BYTES_SIZE]; uint8_t bytes[iso2EXIFragment_PgenCounter_BYTES_SIZE];
uint16_t bytesLen; uint16_t bytesLen;
} PgenCounter ; } PgenCounter ;
struct { struct {
exi_string_character_t characters[EXIFragment_SalesTariffDescription_CHARACTERS_SIZE]; exi_string_character_t characters[iso2EXIFragment_SalesTariffDescription_CHARACTERS_SIZE];
uint16_t charactersLen; uint16_t charactersLen;
} SalesTariffDescription ; } SalesTariffDescription ;
struct iso2PhysicalValueType AngleGAtoVA ; struct iso2PhysicalValueType AngleGAtoVA ;
@ -3314,7 +3314,7 @@ struct iso2EXIFragment {
struct iso2PGPDataType PGPData ; struct iso2PGPDataType PGPData ;
struct iso2PhysicalValueType EVSEMaximumChargePower ; struct iso2PhysicalValueType EVSEMaximumChargePower ;
struct { struct {
uint8_t bytes[EXIFragment_SessionID_BYTES_SIZE]; uint8_t bytes[iso2EXIFragment_SessionID_BYTES_SIZE];
uint16_t bytesLen; uint16_t bytesLen;
} SessionID ; } SessionID ;
struct iso2PhysicalValueType EVSEEnergyToBeDelivered ; struct iso2PhysicalValueType EVSEEnergyToBeDelivered ;
@ -3324,7 +3324,7 @@ struct iso2EXIFragment {
struct iso2PhysicalValueType EVSENominalVoltage ; struct iso2PhysicalValueType EVSENominalVoltage ;
struct iso2MagneticVectorType MagneticVector ; struct iso2MagneticVectorType MagneticVector ;
struct { struct {
exi_string_character_t characters[EXIFragment_XPath_CHARACTERS_SIZE]; exi_string_character_t characters[iso2EXIFragment_XPath_CHARACTERS_SIZE];
uint16_t charactersLen; uint16_t charactersLen;
} XPath ; } XPath ;
struct iso2SignatureType Signature ; struct iso2SignatureType Signature ;
@ -3341,7 +3341,7 @@ struct iso2EXIFragment {
struct iso2FinePositioningSetupResType FinePositioningSetupRes ; struct iso2FinePositioningSetupResType FinePositioningSetupRes ;
struct iso2PMaxScheduleEntryType ProfileEntry ; struct iso2PMaxScheduleEntryType ProfileEntry ;
struct { struct {
exi_string_character_t characters[EXIFragment_MgmtData_CHARACTERS_SIZE]; exi_string_character_t characters[iso2EXIFragment_MgmtData_CHARACTERS_SIZE];
uint16_t charactersLen; uint16_t charactersLen;
} MgmtData ; } MgmtData ;
struct iso2CertificateChainType SAProvisioningCertificateChain ; struct iso2CertificateChainType SAProvisioningCertificateChain ;
@ -3355,29 +3355,29 @@ struct iso2EXIFragment {
struct iso2PhysicalValueType amount ; struct iso2PhysicalValueType amount ;
struct iso2PreChargeReqType PreChargeReq ; struct iso2PreChargeReqType PreChargeReq ;
struct { struct {
uint8_t bytes[EXIFragment_OEMProvisioningCert_BYTES_SIZE]; uint8_t bytes[iso2EXIFragment_OEMProvisioningCert_BYTES_SIZE];
uint16_t bytesLen; uint16_t bytesLen;
} OEMProvisioningCert ; } OEMProvisioningCert ;
uint32_t PackageIndex ; uint32_t PackageIndex ;
struct iso2PreChargeResType PreChargeRes ; struct iso2PreChargeResType PreChargeRes ;
struct { struct {
uint8_t bytes[EXIFragment_P_BYTES_SIZE]; uint8_t bytes[iso2EXIFragment_P_BYTES_SIZE];
uint16_t bytesLen; uint16_t bytesLen;
} P ; } P ;
struct { struct {
uint8_t bytes[EXIFragment_Q_BYTES_SIZE]; uint8_t bytes[iso2EXIFragment_Q_BYTES_SIZE];
uint16_t bytesLen; uint16_t bytesLen;
} Q ; } Q ;
struct { struct {
exi_string_character_t characters[EXIFragment_X509SubjectName_CHARACTERS_SIZE]; exi_string_character_t characters[iso2EXIFragment_X509SubjectName_CHARACTERS_SIZE];
uint16_t charactersLen; uint16_t charactersLen;
} X509SubjectName ; } X509SubjectName ;
struct { struct {
uint8_t bytes[EXIFragment_G_BYTES_SIZE]; uint8_t bytes[iso2EXIFragment_G_BYTES_SIZE];
uint16_t bytesLen; uint16_t bytesLen;
} G ; } G ;
struct { struct {
uint8_t bytes[EXIFragment_J_BYTES_SIZE]; uint8_t bytes[iso2EXIFragment_J_BYTES_SIZE];
uint16_t bytesLen; uint16_t bytesLen;
} J ; } J ;
struct iso2CertificateChainType ContractSignatureCertChain ; struct iso2CertificateChainType ContractSignatureCertChain ;
@ -3386,25 +3386,25 @@ struct iso2EXIFragment {
struct iso2PhysicalValueType EVMaximumChargeCurrent ; struct iso2PhysicalValueType EVMaximumChargeCurrent ;
uint16_t AlignmentOffset ; uint16_t AlignmentOffset ;
struct { struct {
uint8_t bytes[EXIFragment_Y_BYTES_SIZE]; uint8_t bytes[iso2EXIFragment_Y_BYTES_SIZE];
uint16_t bytesLen; uint16_t bytesLen;
} Y ; } Y ;
int8_t RemainingTimeToTargetSOC ; int8_t RemainingTimeToTargetSOC ;
struct { struct {
uint8_t bytes[EXIFragment_DigestValue_BYTES_SIZE]; uint8_t bytes[iso2EXIFragment_DigestValue_BYTES_SIZE];
uint16_t bytesLen; uint16_t bytesLen;
} DigestValue ; } DigestValue ;
struct iso2SensorMeasurementsType SensorMeasurements ; struct iso2SensorMeasurementsType SensorMeasurements ;
struct iso2SalesTariffType SalesTariff ; struct iso2SalesTariffType SalesTariff ;
struct { struct {
uint8_t bytes[EXIFragment_EVCCID_BYTES_SIZE]; uint8_t bytes[iso2EXIFragment_EVCCID_BYTES_SIZE];
uint16_t bytesLen; uint16_t bytesLen;
} EVCCID ; } EVCCID ;
struct iso2PhysicalValueType EVSEMaximumPower ; struct iso2PhysicalValueType EVSEMaximumPower ;
struct iso2TargetPositionType TargetOffset ; struct iso2TargetPositionType TargetOffset ;
struct iso2ParameterSetType PowerDemandParameters ; struct iso2ParameterSetType PowerDemandParameters ;
struct { struct {
uint8_t bytes[EXIFragment_PGPKeyID_BYTES_SIZE]; uint8_t bytes[iso2EXIFragment_PGPKeyID_BYTES_SIZE];
uint16_t bytesLen; uint16_t bytesLen;
} PGPKeyID ; } PGPKeyID ;
struct iso2DisconnectChargingDeviceReqType DisconnectChargingDeviceReq ; struct iso2DisconnectChargingDeviceReqType DisconnectChargingDeviceReq ;
@ -3452,7 +3452,7 @@ struct iso2EXIFragment {
struct iso2MV_EVSEFinePositioningParametersType MV_EVSEFinePositioningParameters ; struct iso2MV_EVSEFinePositioningParametersType MV_EVSEFinePositioningParameters ;
iso2chargeProgressType ChargeProgress ; iso2chargeProgressType ChargeProgress ;
struct { struct {
exi_string_character_t characters[EXIFragment_KeyName_CHARACTERS_SIZE]; exi_string_character_t characters[iso2EXIFragment_KeyName_CHARACTERS_SIZE];
uint16_t charactersLen; uint16_t charactersLen;
} KeyName ; } KeyName ;
struct iso2PMaxScheduleType PMaxSchedule ; struct iso2PMaxScheduleType PMaxSchedule ;
@ -3465,14 +3465,14 @@ struct iso2EXIFragment {
struct iso2PMaxScheduleEntryType PMaxScheduleEntry ; struct iso2PMaxScheduleEntryType PMaxScheduleEntry ;
struct iso2SAScheduleListType SAScheduleList ; struct iso2SAScheduleListType SAScheduleList ;
struct { struct {
uint8_t bytes[EXIFragment_X509SKI_BYTES_SIZE]; uint8_t bytes[iso2EXIFragment_X509SKI_BYTES_SIZE];
uint16_t bytesLen; uint16_t bytesLen;
} X509SKI ; } X509SKI ;
struct iso2PaymentOptionListType PaymentOptionList ; struct iso2PaymentOptionListType PaymentOptionList ;
struct iso2ContractSignatureEncryptedPrivateKeyType ContractSignatureEncryptedPrivateKey ; struct iso2ContractSignatureEncryptedPrivateKeyType ContractSignatureEncryptedPrivateKey ;
struct iso2VehicleCheckInReqType VehicleCheckInReq ; struct iso2VehicleCheckInReqType VehicleCheckInReq ;
struct { struct {
uint8_t bytes[EXIFragment_Certificate_BYTES_SIZE]; uint8_t bytes[iso2EXIFragment_Certificate_BYTES_SIZE];
uint16_t bytesLen; uint16_t bytesLen;
} Certificate ; } Certificate ;
uint64_t CheckOutTime ; uint64_t CheckOutTime ;
@ -3492,7 +3492,7 @@ struct iso2EXIFragment {
struct iso2CurrentDemandResType CurrentDemandRes ; struct iso2CurrentDemandResType CurrentDemandRes ;
struct iso2AC_EVBidirectionalParameterType AC_EVBidirectionalParameter ; struct iso2AC_EVBidirectionalParameterType AC_EVBidirectionalParameter ;
struct { struct {
uint8_t bytes[EXIFragment_Modulus_BYTES_SIZE]; uint8_t bytes[iso2EXIFragment_Modulus_BYTES_SIZE];
uint16_t bytesLen; uint16_t bytesLen;
} Modulus ; } Modulus ;
struct iso2SelectedServiceType SelectedEnergyTransferService ; struct iso2SelectedServiceType SelectedEnergyTransferService ;
@ -3501,7 +3501,7 @@ struct iso2EXIFragment {
struct iso2ChargeParameterDiscoveryReqType ChargeParameterDiscoveryReq ; struct iso2ChargeParameterDiscoveryReqType ChargeParameterDiscoveryReq ;
struct iso2ChargeParameterDiscoveryResType ChargeParameterDiscoveryRes ; struct iso2ChargeParameterDiscoveryResType ChargeParameterDiscoveryRes ;
struct { struct {
uint8_t bytes[EXIFragment_SigMeterReading_BYTES_SIZE]; uint8_t bytes[iso2EXIFragment_SigMeterReading_BYTES_SIZE];
uint16_t bytesLen; uint16_t bytesLen;
} SigMeterReading ; } SigMeterReading ;
int8_t TargetSOC ; int8_t TargetSOC ;
@ -3516,7 +3516,7 @@ struct iso2EXIFragment {
struct iso2EVSEFinePositioningSetupParametersType EVSEFinePositioningSetupParameters ; struct iso2EVSEFinePositioningSetupParametersType EVSEFinePositioningSetupParameters ;
uint8_t EPriceLevel ; uint8_t EPriceLevel ;
struct { struct {
uint8_t bytes[EXIFragment_Exponent_BYTES_SIZE]; uint8_t bytes[iso2EXIFragment_Exponent_BYTES_SIZE];
uint16_t bytesLen; uint16_t bytesLen;
} Exponent ; } Exponent ;
struct iso2X509IssuerSerialType X509IssuerSerial ; struct iso2X509IssuerSerialType X509IssuerSerial ;
@ -3538,11 +3538,11 @@ struct iso2EXIFragment {
struct iso2ServiceType Service ; struct iso2ServiceType Service ;
struct iso2SignaturePropertyType SignatureProperty ; struct iso2SignaturePropertyType SignatureProperty ;
struct { struct {
uint8_t bytes[EXIFragment_PGPKeyPacket_BYTES_SIZE]; uint8_t bytes[iso2EXIFragment_PGPKeyPacket_BYTES_SIZE];
uint16_t bytesLen; uint16_t bytesLen;
} PGPKeyPacket ; } PGPKeyPacket ;
struct { struct {
uint8_t bytes[EXIFragment_Seed_BYTES_SIZE]; uint8_t bytes[iso2EXIFragment_Seed_BYTES_SIZE];
uint16_t bytesLen; uint16_t bytesLen;
} Seed ; } Seed ;
struct iso2LFA_EVFinePositioningSetupParametersType LFA_EVFinePositioningSetupParameters ; struct iso2LFA_EVFinePositioningSetupParametersType LFA_EVFinePositioningSetupParameters ;
@ -3563,7 +3563,7 @@ struct iso2EXIFragment {
struct iso2DC_EVSEChargeParameterType DC_EVSEChargeParameter ; struct iso2DC_EVSEChargeParameterType DC_EVSEChargeParameter ;
struct iso2MeteringReceiptReqType MeteringReceiptReq ; struct iso2MeteringReceiptReqType MeteringReceiptReq ;
struct { struct {
exi_string_character_t characters[EXIFragment_MeterID_CHARACTERS_SIZE]; exi_string_character_t characters[iso2EXIFragment_MeterID_CHARACTERS_SIZE];
uint16_t charactersLen; uint16_t charactersLen;
} MeterID ; } MeterID ;
struct iso2MeteringReceiptResType MeteringReceiptRes ; struct iso2MeteringReceiptResType MeteringReceiptRes ;
@ -3571,13 +3571,13 @@ struct iso2EXIFragment {
uint8_t SalesTariffID ; uint8_t SalesTariffID ;
struct iso2ServiceDiscoveryResType ServiceDiscoveryRes ; struct iso2ServiceDiscoveryResType ServiceDiscoveryRes ;
struct { struct {
uint8_t bytes[EXIFragment_X509CRL_BYTES_SIZE]; uint8_t bytes[iso2EXIFragment_X509CRL_BYTES_SIZE];
uint16_t bytesLen; uint16_t bytesLen;
} X509CRL ; } X509CRL ;
struct iso2MagneticVectorSetupType MagneticVectorSetup ; struct iso2MagneticVectorSetupType MagneticVectorSetup ;
struct iso2DigestMethodType DigestMethod ; struct iso2DigestMethodType DigestMethod ;
struct { struct {
uint8_t bytes[EXIFragment_SPKISexp_BYTES_SIZE]; uint8_t bytes[iso2EXIFragment_SPKISexp_BYTES_SIZE];
uint16_t bytesLen; uint16_t bytesLen;
} SPKISexp ; } SPKISexp ;
uint64_t MeterReadingDischarged ; uint64_t MeterReadingDischarged ;
@ -3589,7 +3589,7 @@ struct iso2EXIFragment {
struct iso2SensorPackageType SensorPackage ; struct iso2SensorPackageType SensorPackage ;
iso2EVCheckOutStatusType EVCheckOutStatus ; iso2EVCheckOutStatusType EVCheckOutStatus ;
struct { struct {
uint8_t bytes[EXIFragment_X509Certificate_BYTES_SIZE]; uint8_t bytes[iso2EXIFragment_X509Certificate_BYTES_SIZE];
uint16_t bytesLen; uint16_t bytesLen;
} X509Certificate ; } X509Certificate ;
struct iso2X509IssuerSerialType RootCertificateID ; struct iso2X509IssuerSerialType RootCertificateID ;
@ -3630,14 +3630,14 @@ struct iso2EXIFragment {
iso2paymentOptionType SelectedPaymentOption ; iso2paymentOptionType SelectedPaymentOption ;
struct iso2AnonType_V2G_Message V2G_Message ; struct iso2AnonType_V2G_Message V2G_Message ;
struct { struct {
exi_string_character_t characters[EXIFragment_EVSEID_CHARACTERS_SIZE]; exi_string_character_t characters[iso2EXIFragment_EVSEID_CHARACTERS_SIZE];
uint16_t charactersLen; uint16_t charactersLen;
} EVSEID ; } EVSEID ;
int64_t TMeter ; int64_t TMeter ;
struct iso2SensorOrderListType SensorOrder ; struct iso2SensorOrderListType SensorOrder ;
struct iso2ServiceIDListType SupportedServiceIDs ; struct iso2ServiceIDListType SupportedServiceIDs ;
struct { struct {
uint8_t bytes[EXIFragment_GenChallenge_BYTES_SIZE]; uint8_t bytes[iso2EXIFragment_GenChallenge_BYTES_SIZE];
uint16_t bytesLen; uint16_t bytesLen;
} GenChallenge ; } GenChallenge ;
struct iso2EVFinePositioningParametersType EVFinePositioningParameters ; struct iso2EVFinePositioningParametersType EVFinePositioningParameters ;
@ -3648,7 +3648,7 @@ struct iso2EXIFragment {
struct iso2ParameterType Parameter ; struct iso2ParameterType Parameter ;
struct iso2WeldingDetectionResType WeldingDetectionRes ; struct iso2WeldingDetectionResType WeldingDetectionRes ;
struct { struct {
exi_string_character_t characters[EXIFragment_GAID_CHARACTERS_SIZE]; exi_string_character_t characters[iso2EXIFragment_GAID_CHARACTERS_SIZE];
uint16_t charactersLen; uint16_t charactersLen;
} GAID ; } GAID ;
uint16_t SignalFrequency ; uint16_t SignalFrequency ;
@ -3664,7 +3664,7 @@ struct iso2EXIFragment {
uint16_t CurrentRange ; uint16_t CurrentRange ;
struct iso2PhysicalValueType EVPresentReactivePower ; struct iso2PhysicalValueType EVPresentReactivePower ;
struct { struct {
exi_string_character_t characters[EXIFragment_X509IssuerName_CHARACTERS_SIZE]; exi_string_character_t characters[iso2EXIFragment_X509IssuerName_CHARACTERS_SIZE];
uint16_t charactersLen; uint16_t charactersLen;
} X509IssuerName ; } X509IssuerName ;
struct iso2BodyBaseType V2GRequest ; struct iso2BodyBaseType V2GRequest ;

View file

@ -83004,7 +83004,7 @@ int decode_iso2ExiDocument(bitstream_t* stream, struct iso2EXIDocument* exiDoc)
if(eventCode == 0) { if(eventCode == 0) {
errn = decodeUnsignedInteger16(stream, &exiDoc->DigestValue.bytesLen); errn = decodeUnsignedInteger16(stream, &exiDoc->DigestValue.bytesLen);
if (errn == 0) { if (errn == 0) {
errn = (exiDoc->DigestValue.bytesLen) <= EXIDocument_DigestValue_BYTES_SIZE ? 0 : EXI_ERROR_OUT_OF_BYTE_BUFFER; errn = (exiDoc->DigestValue.bytesLen) <= iso2EXIDocument_DigestValue_BYTES_SIZE ? 0 : EXI_ERROR_OUT_OF_BYTE_BUFFER;
} }
if (errn == 0) { if (errn == 0) {
errn = decodeBytes(stream, exiDoc->DigestValue.bytesLen, exiDoc->DigestValue.bytes); errn = decodeBytes(stream, exiDoc->DigestValue.bytesLen, exiDoc->DigestValue.bytes);
@ -83101,7 +83101,7 @@ int decode_iso2ExiDocument(bitstream_t* stream, struct iso2EXIDocument* exiDoc)
if (errn == 0) { if (errn == 0) {
if (exiDoc->KeyName.charactersLen >= 2) { if (exiDoc->KeyName.charactersLen >= 2) {
exiDoc->KeyName.charactersLen = (uint16_t)(exiDoc->KeyName.charactersLen - 2); /* string table miss */ exiDoc->KeyName.charactersLen = (uint16_t)(exiDoc->KeyName.charactersLen - 2); /* string table miss */
errn = decodeCharacters(stream, exiDoc->KeyName.charactersLen, exiDoc->KeyName.characters, EXIDocument_KeyName_CHARACTERS_SIZE); errn = decodeCharacters(stream, exiDoc->KeyName.charactersLen, exiDoc->KeyName.characters, iso2EXIDocument_KeyName_CHARACTERS_SIZE);
} else { } else {
/* string table hit */ /* string table hit */
errn = EXI_ERROR_STRINGVALUES_NOT_SUPPORTED; errn = EXI_ERROR_STRINGVALUES_NOT_SUPPORTED;
@ -83174,7 +83174,7 @@ int decode_iso2ExiDocument(bitstream_t* stream, struct iso2EXIDocument* exiDoc)
if (errn == 0) { if (errn == 0) {
if (exiDoc->MgmtData.charactersLen >= 2) { if (exiDoc->MgmtData.charactersLen >= 2) {
exiDoc->MgmtData.charactersLen = (uint16_t)(exiDoc->MgmtData.charactersLen - 2); /* string table miss */ exiDoc->MgmtData.charactersLen = (uint16_t)(exiDoc->MgmtData.charactersLen - 2); /* string table miss */
errn = decodeCharacters(stream, exiDoc->MgmtData.charactersLen, exiDoc->MgmtData.characters, EXIDocument_MgmtData_CHARACTERS_SIZE); errn = decodeCharacters(stream, exiDoc->MgmtData.charactersLen, exiDoc->MgmtData.characters, iso2EXIDocument_MgmtData_CHARACTERS_SIZE);
} else { } else {
/* string table hit */ /* string table hit */
errn = EXI_ERROR_STRINGVALUES_NOT_SUPPORTED; errn = EXI_ERROR_STRINGVALUES_NOT_SUPPORTED;
@ -83613,7 +83613,7 @@ int decode_iso2ExiFragment(bitstream_t* stream, struct iso2EXIFragment* exiFrag)
if(eventCode == 0) { if(eventCode == 0) {
errn = decodeUnsignedInteger16(stream, &exiFrag->Certificate.bytesLen); errn = decodeUnsignedInteger16(stream, &exiFrag->Certificate.bytesLen);
if (errn == 0) { if (errn == 0) {
errn = (exiFrag->Certificate.bytesLen) <= EXIFragment_Certificate_BYTES_SIZE ? 0 : EXI_ERROR_OUT_OF_BYTE_BUFFER; errn = (exiFrag->Certificate.bytesLen) <= iso2EXIFragment_Certificate_BYTES_SIZE ? 0 : EXI_ERROR_OUT_OF_BYTE_BUFFER;
} }
if (errn == 0) { if (errn == 0) {
errn = decodeBytes(stream, exiFrag->Certificate.bytesLen, exiFrag->Certificate.bytes); errn = decodeBytes(stream, exiFrag->Certificate.bytesLen, exiFrag->Certificate.bytes);
@ -83869,7 +83869,7 @@ int decode_iso2ExiFragment(bitstream_t* stream, struct iso2EXIFragment* exiFrag)
if(eventCode == 0) { if(eventCode == 0) {
errn = decodeUnsignedInteger16(stream, &exiFrag->DigestValue.bytesLen); errn = decodeUnsignedInteger16(stream, &exiFrag->DigestValue.bytesLen);
if (errn == 0) { if (errn == 0) {
errn = (exiFrag->DigestValue.bytesLen) <= EXIFragment_DigestValue_BYTES_SIZE ? 0 : EXI_ERROR_OUT_OF_BYTE_BUFFER; errn = (exiFrag->DigestValue.bytesLen) <= iso2EXIFragment_DigestValue_BYTES_SIZE ? 0 : EXI_ERROR_OUT_OF_BYTE_BUFFER;
} }
if (errn == 0) { if (errn == 0) {
errn = decodeBytes(stream, exiFrag->DigestValue.bytesLen, exiFrag->DigestValue.bytes); errn = decodeBytes(stream, exiFrag->DigestValue.bytesLen, exiFrag->DigestValue.bytes);
@ -83933,7 +83933,7 @@ int decode_iso2ExiFragment(bitstream_t* stream, struct iso2EXIFragment* exiFrag)
if(eventCode == 0) { if(eventCode == 0) {
errn = decodeUnsignedInteger16(stream, &exiFrag->EVCCID.bytesLen); errn = decodeUnsignedInteger16(stream, &exiFrag->EVCCID.bytesLen);
if (errn == 0) { if (errn == 0) {
errn = (exiFrag->EVCCID.bytesLen) <= EXIFragment_EVCCID_BYTES_SIZE ? 0 : EXI_ERROR_OUT_OF_BYTE_BUFFER; errn = (exiFrag->EVCCID.bytesLen) <= iso2EXIFragment_EVCCID_BYTES_SIZE ? 0 : EXI_ERROR_OUT_OF_BYTE_BUFFER;
} }
if (errn == 0) { if (errn == 0) {
errn = decodeBytes(stream, exiFrag->EVCCID.bytesLen, exiFrag->EVCCID.bytes); errn = decodeBytes(stream, exiFrag->EVCCID.bytesLen, exiFrag->EVCCID.bytes);
@ -84274,7 +84274,7 @@ int decode_iso2ExiFragment(bitstream_t* stream, struct iso2EXIFragment* exiFrag)
if (errn == 0) { if (errn == 0) {
if (exiFrag->EVSEID.charactersLen >= 2) { if (exiFrag->EVSEID.charactersLen >= 2) {
exiFrag->EVSEID.charactersLen = (uint16_t)(exiFrag->EVSEID.charactersLen - 2); /* string table miss */ exiFrag->EVSEID.charactersLen = (uint16_t)(exiFrag->EVSEID.charactersLen - 2); /* string table miss */
errn = decodeCharacters(stream, exiFrag->EVSEID.charactersLen, exiFrag->EVSEID.characters, EXIFragment_EVSEID_CHARACTERS_SIZE); errn = decodeCharacters(stream, exiFrag->EVSEID.charactersLen, exiFrag->EVSEID.characters, iso2EXIFragment_EVSEID_CHARACTERS_SIZE);
} else { } else {
/* string table hit */ /* string table hit */
errn = EXI_ERROR_STRINGVALUES_NOT_SUPPORTED; errn = EXI_ERROR_STRINGVALUES_NOT_SUPPORTED;
@ -84633,7 +84633,7 @@ int decode_iso2ExiFragment(bitstream_t* stream, struct iso2EXIFragment* exiFrag)
if(eventCode == 0) { if(eventCode == 0) {
errn = decodeUnsignedInteger16(stream, &exiFrag->G.bytesLen); errn = decodeUnsignedInteger16(stream, &exiFrag->G.bytesLen);
if (errn == 0) { if (errn == 0) {
errn = (exiFrag->G.bytesLen) <= EXIFragment_G_BYTES_SIZE ? 0 : EXI_ERROR_OUT_OF_BYTE_BUFFER; errn = (exiFrag->G.bytesLen) <= iso2EXIFragment_G_BYTES_SIZE ? 0 : EXI_ERROR_OUT_OF_BYTE_BUFFER;
} }
if (errn == 0) { if (errn == 0) {
errn = decodeBytes(stream, exiFrag->G.bytesLen, exiFrag->G.bytes); errn = decodeBytes(stream, exiFrag->G.bytesLen, exiFrag->G.bytes);
@ -84655,7 +84655,7 @@ int decode_iso2ExiFragment(bitstream_t* stream, struct iso2EXIFragment* exiFrag)
if (errn == 0) { if (errn == 0) {
if (exiFrag->GAID.charactersLen >= 2) { if (exiFrag->GAID.charactersLen >= 2) {
exiFrag->GAID.charactersLen = (uint16_t)(exiFrag->GAID.charactersLen - 2); /* string table miss */ exiFrag->GAID.charactersLen = (uint16_t)(exiFrag->GAID.charactersLen - 2); /* string table miss */
errn = decodeCharacters(stream, exiFrag->GAID.charactersLen, exiFrag->GAID.characters, EXIFragment_GAID_CHARACTERS_SIZE); errn = decodeCharacters(stream, exiFrag->GAID.charactersLen, exiFrag->GAID.characters, iso2EXIFragment_GAID_CHARACTERS_SIZE);
} else { } else {
/* string table hit */ /* string table hit */
errn = EXI_ERROR_STRINGVALUES_NOT_SUPPORTED; errn = EXI_ERROR_STRINGVALUES_NOT_SUPPORTED;
@ -84676,7 +84676,7 @@ int decode_iso2ExiFragment(bitstream_t* stream, struct iso2EXIFragment* exiFrag)
if(eventCode == 0) { if(eventCode == 0) {
errn = decodeUnsignedInteger16(stream, &exiFrag->GenChallenge.bytesLen); errn = decodeUnsignedInteger16(stream, &exiFrag->GenChallenge.bytesLen);
if (errn == 0) { if (errn == 0) {
errn = (exiFrag->GenChallenge.bytesLen) <= EXIFragment_GenChallenge_BYTES_SIZE ? 0 : EXI_ERROR_OUT_OF_BYTE_BUFFER; errn = (exiFrag->GenChallenge.bytesLen) <= iso2EXIFragment_GenChallenge_BYTES_SIZE ? 0 : EXI_ERROR_OUT_OF_BYTE_BUFFER;
} }
if (errn == 0) { if (errn == 0) {
errn = decodeBytes(stream, exiFrag->GenChallenge.bytesLen, exiFrag->GenChallenge.bytes); errn = decodeBytes(stream, exiFrag->GenChallenge.bytesLen, exiFrag->GenChallenge.bytes);
@ -84744,7 +84744,7 @@ int decode_iso2ExiFragment(bitstream_t* stream, struct iso2EXIFragment* exiFrag)
if(eventCode == 0) { if(eventCode == 0) {
errn = decodeUnsignedInteger16(stream, &exiFrag->J.bytesLen); errn = decodeUnsignedInteger16(stream, &exiFrag->J.bytesLen);
if (errn == 0) { if (errn == 0) {
errn = (exiFrag->J.bytesLen) <= EXIFragment_J_BYTES_SIZE ? 0 : EXI_ERROR_OUT_OF_BYTE_BUFFER; errn = (exiFrag->J.bytesLen) <= iso2EXIFragment_J_BYTES_SIZE ? 0 : EXI_ERROR_OUT_OF_BYTE_BUFFER;
} }
if (errn == 0) { if (errn == 0) {
errn = decodeBytes(stream, exiFrag->J.bytesLen, exiFrag->J.bytes); errn = decodeBytes(stream, exiFrag->J.bytesLen, exiFrag->J.bytes);
@ -84771,7 +84771,7 @@ int decode_iso2ExiFragment(bitstream_t* stream, struct iso2EXIFragment* exiFrag)
if (errn == 0) { if (errn == 0) {
if (exiFrag->KeyName.charactersLen >= 2) { if (exiFrag->KeyName.charactersLen >= 2) {
exiFrag->KeyName.charactersLen = (uint16_t)(exiFrag->KeyName.charactersLen - 2); /* string table miss */ exiFrag->KeyName.charactersLen = (uint16_t)(exiFrag->KeyName.charactersLen - 2); /* string table miss */
errn = decodeCharacters(stream, exiFrag->KeyName.charactersLen, exiFrag->KeyName.characters, EXIFragment_KeyName_CHARACTERS_SIZE); errn = decodeCharacters(stream, exiFrag->KeyName.charactersLen, exiFrag->KeyName.characters, iso2EXIFragment_KeyName_CHARACTERS_SIZE);
} else { } else {
/* string table hit */ /* string table hit */
errn = EXI_ERROR_STRINGVALUES_NOT_SUPPORTED; errn = EXI_ERROR_STRINGVALUES_NOT_SUPPORTED;
@ -84893,7 +84893,7 @@ int decode_iso2ExiFragment(bitstream_t* stream, struct iso2EXIFragment* exiFrag)
if (errn == 0) { if (errn == 0) {
if (exiFrag->MeterID.charactersLen >= 2) { if (exiFrag->MeterID.charactersLen >= 2) {
exiFrag->MeterID.charactersLen = (uint16_t)(exiFrag->MeterID.charactersLen - 2); /* string table miss */ exiFrag->MeterID.charactersLen = (uint16_t)(exiFrag->MeterID.charactersLen - 2); /* string table miss */
errn = decodeCharacters(stream, exiFrag->MeterID.charactersLen, exiFrag->MeterID.characters, EXIFragment_MeterID_CHARACTERS_SIZE); errn = decodeCharacters(stream, exiFrag->MeterID.charactersLen, exiFrag->MeterID.characters, iso2EXIFragment_MeterID_CHARACTERS_SIZE);
} else { } else {
/* string table hit */ /* string table hit */
errn = EXI_ERROR_STRINGVALUES_NOT_SUPPORTED; errn = EXI_ERROR_STRINGVALUES_NOT_SUPPORTED;
@ -84973,7 +84973,7 @@ int decode_iso2ExiFragment(bitstream_t* stream, struct iso2EXIFragment* exiFrag)
if (errn == 0) { if (errn == 0) {
if (exiFrag->MgmtData.charactersLen >= 2) { if (exiFrag->MgmtData.charactersLen >= 2) {
exiFrag->MgmtData.charactersLen = (uint16_t)(exiFrag->MgmtData.charactersLen - 2); /* string table miss */ exiFrag->MgmtData.charactersLen = (uint16_t)(exiFrag->MgmtData.charactersLen - 2); /* string table miss */
errn = decodeCharacters(stream, exiFrag->MgmtData.charactersLen, exiFrag->MgmtData.characters, EXIFragment_MgmtData_CHARACTERS_SIZE); errn = decodeCharacters(stream, exiFrag->MgmtData.charactersLen, exiFrag->MgmtData.characters, iso2EXIFragment_MgmtData_CHARACTERS_SIZE);
} else { } else {
/* string table hit */ /* string table hit */
errn = EXI_ERROR_STRINGVALUES_NOT_SUPPORTED; errn = EXI_ERROR_STRINGVALUES_NOT_SUPPORTED;
@ -85019,7 +85019,7 @@ int decode_iso2ExiFragment(bitstream_t* stream, struct iso2EXIFragment* exiFrag)
if(eventCode == 0) { if(eventCode == 0) {
errn = decodeUnsignedInteger16(stream, &exiFrag->Modulus.bytesLen); errn = decodeUnsignedInteger16(stream, &exiFrag->Modulus.bytesLen);
if (errn == 0) { if (errn == 0) {
errn = (exiFrag->Modulus.bytesLen) <= EXIFragment_Modulus_BYTES_SIZE ? 0 : EXI_ERROR_OUT_OF_BYTE_BUFFER; errn = (exiFrag->Modulus.bytesLen) <= iso2EXIFragment_Modulus_BYTES_SIZE ? 0 : EXI_ERROR_OUT_OF_BYTE_BUFFER;
} }
if (errn == 0) { if (errn == 0) {
errn = decodeBytes(stream, exiFrag->Modulus.bytesLen, exiFrag->Modulus.bytes); errn = decodeBytes(stream, exiFrag->Modulus.bytesLen, exiFrag->Modulus.bytes);
@ -85098,7 +85098,7 @@ int decode_iso2ExiFragment(bitstream_t* stream, struct iso2EXIFragment* exiFrag)
if(eventCode == 0) { if(eventCode == 0) {
errn = decodeUnsignedInteger16(stream, &exiFrag->OEMProvisioningCert.bytesLen); errn = decodeUnsignedInteger16(stream, &exiFrag->OEMProvisioningCert.bytesLen);
if (errn == 0) { if (errn == 0) {
errn = (exiFrag->OEMProvisioningCert.bytesLen) <= EXIFragment_OEMProvisioningCert_BYTES_SIZE ? 0 : EXI_ERROR_OUT_OF_BYTE_BUFFER; errn = (exiFrag->OEMProvisioningCert.bytesLen) <= iso2EXIFragment_OEMProvisioningCert_BYTES_SIZE ? 0 : EXI_ERROR_OUT_OF_BYTE_BUFFER;
} }
if (errn == 0) { if (errn == 0) {
errn = decodeBytes(stream, exiFrag->OEMProvisioningCert.bytesLen, exiFrag->OEMProvisioningCert.bytes); errn = decodeBytes(stream, exiFrag->OEMProvisioningCert.bytesLen, exiFrag->OEMProvisioningCert.bytes);
@ -85138,7 +85138,7 @@ int decode_iso2ExiFragment(bitstream_t* stream, struct iso2EXIFragment* exiFrag)
if(eventCode == 0) { if(eventCode == 0) {
errn = decodeUnsignedInteger16(stream, &exiFrag->P.bytesLen); errn = decodeUnsignedInteger16(stream, &exiFrag->P.bytesLen);
if (errn == 0) { if (errn == 0) {
errn = (exiFrag->P.bytesLen) <= EXIFragment_P_BYTES_SIZE ? 0 : EXI_ERROR_OUT_OF_BYTE_BUFFER; errn = (exiFrag->P.bytesLen) <= iso2EXIFragment_P_BYTES_SIZE ? 0 : EXI_ERROR_OUT_OF_BYTE_BUFFER;
} }
if (errn == 0) { if (errn == 0) {
errn = decodeBytes(stream, exiFrag->P.bytesLen, exiFrag->P.bytes); errn = decodeBytes(stream, exiFrag->P.bytesLen, exiFrag->P.bytes);
@ -85163,7 +85163,7 @@ int decode_iso2ExiFragment(bitstream_t* stream, struct iso2EXIFragment* exiFrag)
if(eventCode == 0) { if(eventCode == 0) {
errn = decodeUnsignedInteger16(stream, &exiFrag->PGPKeyID.bytesLen); errn = decodeUnsignedInteger16(stream, &exiFrag->PGPKeyID.bytesLen);
if (errn == 0) { if (errn == 0) {
errn = (exiFrag->PGPKeyID.bytesLen) <= EXIFragment_PGPKeyID_BYTES_SIZE ? 0 : EXI_ERROR_OUT_OF_BYTE_BUFFER; errn = (exiFrag->PGPKeyID.bytesLen) <= iso2EXIFragment_PGPKeyID_BYTES_SIZE ? 0 : EXI_ERROR_OUT_OF_BYTE_BUFFER;
} }
if (errn == 0) { if (errn == 0) {
errn = decodeBytes(stream, exiFrag->PGPKeyID.bytesLen, exiFrag->PGPKeyID.bytes); errn = decodeBytes(stream, exiFrag->PGPKeyID.bytesLen, exiFrag->PGPKeyID.bytes);
@ -85183,7 +85183,7 @@ int decode_iso2ExiFragment(bitstream_t* stream, struct iso2EXIFragment* exiFrag)
if(eventCode == 0) { if(eventCode == 0) {
errn = decodeUnsignedInteger16(stream, &exiFrag->PGPKeyPacket.bytesLen); errn = decodeUnsignedInteger16(stream, &exiFrag->PGPKeyPacket.bytesLen);
if (errn == 0) { if (errn == 0) {
errn = (exiFrag->PGPKeyPacket.bytesLen) <= EXIFragment_PGPKeyPacket_BYTES_SIZE ? 0 : EXI_ERROR_OUT_OF_BYTE_BUFFER; errn = (exiFrag->PGPKeyPacket.bytesLen) <= iso2EXIFragment_PGPKeyPacket_BYTES_SIZE ? 0 : EXI_ERROR_OUT_OF_BYTE_BUFFER;
} }
if (errn == 0) { if (errn == 0) {
errn = decodeBytes(stream, exiFrag->PGPKeyPacket.bytesLen, exiFrag->PGPKeyPacket.bytes); errn = decodeBytes(stream, exiFrag->PGPKeyPacket.bytesLen, exiFrag->PGPKeyPacket.bytes);
@ -85346,7 +85346,7 @@ int decode_iso2ExiFragment(bitstream_t* stream, struct iso2EXIFragment* exiFrag)
if(eventCode == 0) { if(eventCode == 0) {
errn = decodeUnsignedInteger16(stream, &exiFrag->PgenCounter.bytesLen); errn = decodeUnsignedInteger16(stream, &exiFrag->PgenCounter.bytesLen);
if (errn == 0) { if (errn == 0) {
errn = (exiFrag->PgenCounter.bytesLen) <= EXIFragment_PgenCounter_BYTES_SIZE ? 0 : EXI_ERROR_OUT_OF_BYTE_BUFFER; errn = (exiFrag->PgenCounter.bytesLen) <= iso2EXIFragment_PgenCounter_BYTES_SIZE ? 0 : EXI_ERROR_OUT_OF_BYTE_BUFFER;
} }
if (errn == 0) { if (errn == 0) {
errn = decodeBytes(stream, exiFrag->PgenCounter.bytesLen, exiFrag->PgenCounter.bytes); errn = decodeBytes(stream, exiFrag->PgenCounter.bytesLen, exiFrag->PgenCounter.bytes);
@ -85406,7 +85406,7 @@ int decode_iso2ExiFragment(bitstream_t* stream, struct iso2EXIFragment* exiFrag)
if(eventCode == 0) { if(eventCode == 0) {
errn = decodeUnsignedInteger16(stream, &exiFrag->Q.bytesLen); errn = decodeUnsignedInteger16(stream, &exiFrag->Q.bytesLen);
if (errn == 0) { if (errn == 0) {
errn = (exiFrag->Q.bytesLen) <= EXIFragment_Q_BYTES_SIZE ? 0 : EXI_ERROR_OUT_OF_BYTE_BUFFER; errn = (exiFrag->Q.bytesLen) <= iso2EXIFragment_Q_BYTES_SIZE ? 0 : EXI_ERROR_OUT_OF_BYTE_BUFFER;
} }
if (errn == 0) { if (errn == 0) {
errn = decodeBytes(stream, exiFrag->Q.bytesLen, exiFrag->Q.bytes); errn = decodeBytes(stream, exiFrag->Q.bytesLen, exiFrag->Q.bytes);
@ -85599,7 +85599,7 @@ int decode_iso2ExiFragment(bitstream_t* stream, struct iso2EXIFragment* exiFrag)
if(eventCode == 0) { if(eventCode == 0) {
errn = decodeUnsignedInteger16(stream, &exiFrag->SPKISexp.bytesLen); errn = decodeUnsignedInteger16(stream, &exiFrag->SPKISexp.bytesLen);
if (errn == 0) { if (errn == 0) {
errn = (exiFrag->SPKISexp.bytesLen) <= EXIFragment_SPKISexp_BYTES_SIZE ? 0 : EXI_ERROR_OUT_OF_BYTE_BUFFER; errn = (exiFrag->SPKISexp.bytesLen) <= iso2EXIFragment_SPKISexp_BYTES_SIZE ? 0 : EXI_ERROR_OUT_OF_BYTE_BUFFER;
} }
if (errn == 0) { if (errn == 0) {
errn = decodeBytes(stream, exiFrag->SPKISexp.bytesLen, exiFrag->SPKISexp.bytes); errn = decodeBytes(stream, exiFrag->SPKISexp.bytesLen, exiFrag->SPKISexp.bytes);
@ -85626,7 +85626,7 @@ int decode_iso2ExiFragment(bitstream_t* stream, struct iso2EXIFragment* exiFrag)
if (errn == 0) { if (errn == 0) {
if (exiFrag->SalesTariffDescription.charactersLen >= 2) { if (exiFrag->SalesTariffDescription.charactersLen >= 2) {
exiFrag->SalesTariffDescription.charactersLen = (uint16_t)(exiFrag->SalesTariffDescription.charactersLen - 2); /* string table miss */ exiFrag->SalesTariffDescription.charactersLen = (uint16_t)(exiFrag->SalesTariffDescription.charactersLen - 2); /* string table miss */
errn = decodeCharacters(stream, exiFrag->SalesTariffDescription.charactersLen, exiFrag->SalesTariffDescription.characters, EXIFragment_SalesTariffDescription_CHARACTERS_SIZE); errn = decodeCharacters(stream, exiFrag->SalesTariffDescription.charactersLen, exiFrag->SalesTariffDescription.characters, iso2EXIFragment_SalesTariffDescription_CHARACTERS_SIZE);
} else { } else {
/* string table hit */ /* string table hit */
errn = EXI_ERROR_STRINGVALUES_NOT_SUPPORTED; errn = EXI_ERROR_STRINGVALUES_NOT_SUPPORTED;
@ -85667,7 +85667,7 @@ int decode_iso2ExiFragment(bitstream_t* stream, struct iso2EXIFragment* exiFrag)
if(eventCode == 0) { if(eventCode == 0) {
errn = decodeUnsignedInteger16(stream, &exiFrag->Seed.bytesLen); errn = decodeUnsignedInteger16(stream, &exiFrag->Seed.bytesLen);
if (errn == 0) { if (errn == 0) {
errn = (exiFrag->Seed.bytesLen) <= EXIFragment_Seed_BYTES_SIZE ? 0 : EXI_ERROR_OUT_OF_BYTE_BUFFER; errn = (exiFrag->Seed.bytesLen) <= iso2EXIFragment_Seed_BYTES_SIZE ? 0 : EXI_ERROR_OUT_OF_BYTE_BUFFER;
} }
if (errn == 0) { if (errn == 0) {
errn = decodeBytes(stream, exiFrag->Seed.bytesLen, exiFrag->Seed.bytes); errn = decodeBytes(stream, exiFrag->Seed.bytesLen, exiFrag->Seed.bytes);
@ -85829,7 +85829,7 @@ int decode_iso2ExiFragment(bitstream_t* stream, struct iso2EXIFragment* exiFrag)
if(eventCode == 0) { if(eventCode == 0) {
errn = decodeUnsignedInteger16(stream, &exiFrag->SessionID.bytesLen); errn = decodeUnsignedInteger16(stream, &exiFrag->SessionID.bytesLen);
if (errn == 0) { if (errn == 0) {
errn = (exiFrag->SessionID.bytesLen) <= EXIFragment_SessionID_BYTES_SIZE ? 0 : EXI_ERROR_OUT_OF_BYTE_BUFFER; errn = (exiFrag->SessionID.bytesLen) <= iso2EXIFragment_SessionID_BYTES_SIZE ? 0 : EXI_ERROR_OUT_OF_BYTE_BUFFER;
} }
if (errn == 0) { if (errn == 0) {
errn = decodeBytes(stream, exiFrag->SessionID.bytesLen, exiFrag->SessionID.bytes); errn = decodeBytes(stream, exiFrag->SessionID.bytesLen, exiFrag->SessionID.bytes);
@ -85849,7 +85849,7 @@ int decode_iso2ExiFragment(bitstream_t* stream, struct iso2EXIFragment* exiFrag)
if(eventCode == 0) { if(eventCode == 0) {
errn = decodeUnsignedInteger16(stream, &exiFrag->SessionID.bytesLen); errn = decodeUnsignedInteger16(stream, &exiFrag->SessionID.bytesLen);
if (errn == 0) { if (errn == 0) {
errn = (exiFrag->SessionID.bytesLen) <= EXIFragment_SessionID_BYTES_SIZE ? 0 : EXI_ERROR_OUT_OF_BYTE_BUFFER; errn = (exiFrag->SessionID.bytesLen) <= iso2EXIFragment_SessionID_BYTES_SIZE ? 0 : EXI_ERROR_OUT_OF_BYTE_BUFFER;
} }
if (errn == 0) { if (errn == 0) {
errn = decodeBytes(stream, exiFrag->SessionID.bytesLen, exiFrag->SessionID.bytes); errn = decodeBytes(stream, exiFrag->SessionID.bytesLen, exiFrag->SessionID.bytes);
@ -85889,7 +85889,7 @@ int decode_iso2ExiFragment(bitstream_t* stream, struct iso2EXIFragment* exiFrag)
if(eventCode == 0) { if(eventCode == 0) {
errn = decodeUnsignedInteger16(stream, &exiFrag->SigMeterReading.bytesLen); errn = decodeUnsignedInteger16(stream, &exiFrag->SigMeterReading.bytesLen);
if (errn == 0) { if (errn == 0) {
errn = (exiFrag->SigMeterReading.bytesLen) <= EXIFragment_SigMeterReading_BYTES_SIZE ? 0 : EXI_ERROR_OUT_OF_BYTE_BUFFER; errn = (exiFrag->SigMeterReading.bytesLen) <= iso2EXIFragment_SigMeterReading_BYTES_SIZE ? 0 : EXI_ERROR_OUT_OF_BYTE_BUFFER;
} }
if (errn == 0) { if (errn == 0) {
errn = decodeBytes(stream, exiFrag->SigMeterReading.bytesLen, exiFrag->SigMeterReading.bytes); errn = decodeBytes(stream, exiFrag->SigMeterReading.bytesLen, exiFrag->SigMeterReading.bytes);
@ -86163,7 +86163,7 @@ int decode_iso2ExiFragment(bitstream_t* stream, struct iso2EXIFragment* exiFrag)
if(eventCode == 0) { if(eventCode == 0) {
errn = decodeUnsignedInteger16(stream, &exiFrag->X509CRL.bytesLen); errn = decodeUnsignedInteger16(stream, &exiFrag->X509CRL.bytesLen);
if (errn == 0) { if (errn == 0) {
errn = (exiFrag->X509CRL.bytesLen) <= EXIFragment_X509CRL_BYTES_SIZE ? 0 : EXI_ERROR_OUT_OF_BYTE_BUFFER; errn = (exiFrag->X509CRL.bytesLen) <= iso2EXIFragment_X509CRL_BYTES_SIZE ? 0 : EXI_ERROR_OUT_OF_BYTE_BUFFER;
} }
if (errn == 0) { if (errn == 0) {
errn = decodeBytes(stream, exiFrag->X509CRL.bytesLen, exiFrag->X509CRL.bytes); errn = decodeBytes(stream, exiFrag->X509CRL.bytesLen, exiFrag->X509CRL.bytes);
@ -86183,7 +86183,7 @@ int decode_iso2ExiFragment(bitstream_t* stream, struct iso2EXIFragment* exiFrag)
if(eventCode == 0) { if(eventCode == 0) {
errn = decodeUnsignedInteger16(stream, &exiFrag->X509Certificate.bytesLen); errn = decodeUnsignedInteger16(stream, &exiFrag->X509Certificate.bytesLen);
if (errn == 0) { if (errn == 0) {
errn = (exiFrag->X509Certificate.bytesLen) <= EXIFragment_X509Certificate_BYTES_SIZE ? 0 : EXI_ERROR_OUT_OF_BYTE_BUFFER; errn = (exiFrag->X509Certificate.bytesLen) <= iso2EXIFragment_X509Certificate_BYTES_SIZE ? 0 : EXI_ERROR_OUT_OF_BYTE_BUFFER;
} }
if (errn == 0) { if (errn == 0) {
errn = decodeBytes(stream, exiFrag->X509Certificate.bytesLen, exiFrag->X509Certificate.bytes); errn = decodeBytes(stream, exiFrag->X509Certificate.bytesLen, exiFrag->X509Certificate.bytes);
@ -86210,7 +86210,7 @@ int decode_iso2ExiFragment(bitstream_t* stream, struct iso2EXIFragment* exiFrag)
if (errn == 0) { if (errn == 0) {
if (exiFrag->X509IssuerName.charactersLen >= 2) { if (exiFrag->X509IssuerName.charactersLen >= 2) {
exiFrag->X509IssuerName.charactersLen = (uint16_t)(exiFrag->X509IssuerName.charactersLen - 2); /* string table miss */ exiFrag->X509IssuerName.charactersLen = (uint16_t)(exiFrag->X509IssuerName.charactersLen - 2); /* string table miss */
errn = decodeCharacters(stream, exiFrag->X509IssuerName.charactersLen, exiFrag->X509IssuerName.characters, EXIFragment_X509IssuerName_CHARACTERS_SIZE); errn = decodeCharacters(stream, exiFrag->X509IssuerName.charactersLen, exiFrag->X509IssuerName.characters, iso2EXIFragment_X509IssuerName_CHARACTERS_SIZE);
} else { } else {
/* string table hit */ /* string table hit */
errn = EXI_ERROR_STRINGVALUES_NOT_SUPPORTED; errn = EXI_ERROR_STRINGVALUES_NOT_SUPPORTED;
@ -86236,7 +86236,7 @@ int decode_iso2ExiFragment(bitstream_t* stream, struct iso2EXIFragment* exiFrag)
if(eventCode == 0) { if(eventCode == 0) {
errn = decodeUnsignedInteger16(stream, &exiFrag->X509SKI.bytesLen); errn = decodeUnsignedInteger16(stream, &exiFrag->X509SKI.bytesLen);
if (errn == 0) { if (errn == 0) {
errn = (exiFrag->X509SKI.bytesLen) <= EXIFragment_X509SKI_BYTES_SIZE ? 0 : EXI_ERROR_OUT_OF_BYTE_BUFFER; errn = (exiFrag->X509SKI.bytesLen) <= iso2EXIFragment_X509SKI_BYTES_SIZE ? 0 : EXI_ERROR_OUT_OF_BYTE_BUFFER;
} }
if (errn == 0) { if (errn == 0) {
errn = decodeBytes(stream, exiFrag->X509SKI.bytesLen, exiFrag->X509SKI.bytes); errn = decodeBytes(stream, exiFrag->X509SKI.bytesLen, exiFrag->X509SKI.bytes);
@ -86272,7 +86272,7 @@ int decode_iso2ExiFragment(bitstream_t* stream, struct iso2EXIFragment* exiFrag)
if (errn == 0) { if (errn == 0) {
if (exiFrag->X509SubjectName.charactersLen >= 2) { if (exiFrag->X509SubjectName.charactersLen >= 2) {
exiFrag->X509SubjectName.charactersLen = (uint16_t)(exiFrag->X509SubjectName.charactersLen - 2); /* string table miss */ exiFrag->X509SubjectName.charactersLen = (uint16_t)(exiFrag->X509SubjectName.charactersLen - 2); /* string table miss */
errn = decodeCharacters(stream, exiFrag->X509SubjectName.charactersLen, exiFrag->X509SubjectName.characters, EXIFragment_X509SubjectName_CHARACTERS_SIZE); errn = decodeCharacters(stream, exiFrag->X509SubjectName.charactersLen, exiFrag->X509SubjectName.characters, iso2EXIFragment_X509SubjectName_CHARACTERS_SIZE);
} else { } else {
/* string table hit */ /* string table hit */
errn = EXI_ERROR_STRINGVALUES_NOT_SUPPORTED; errn = EXI_ERROR_STRINGVALUES_NOT_SUPPORTED;
@ -86309,7 +86309,7 @@ int decode_iso2ExiFragment(bitstream_t* stream, struct iso2EXIFragment* exiFrag)
if (errn == 0) { if (errn == 0) {
if (exiFrag->XPath.charactersLen >= 2) { if (exiFrag->XPath.charactersLen >= 2) {
exiFrag->XPath.charactersLen = (uint16_t)(exiFrag->XPath.charactersLen - 2); /* string table miss */ exiFrag->XPath.charactersLen = (uint16_t)(exiFrag->XPath.charactersLen - 2); /* string table miss */
errn = decodeCharacters(stream, exiFrag->XPath.charactersLen, exiFrag->XPath.characters, EXIFragment_XPath_CHARACTERS_SIZE); errn = decodeCharacters(stream, exiFrag->XPath.charactersLen, exiFrag->XPath.characters, iso2EXIFragment_XPath_CHARACTERS_SIZE);
} else { } else {
/* string table hit */ /* string table hit */
errn = EXI_ERROR_STRINGVALUES_NOT_SUPPORTED; errn = EXI_ERROR_STRINGVALUES_NOT_SUPPORTED;
@ -86330,7 +86330,7 @@ int decode_iso2ExiFragment(bitstream_t* stream, struct iso2EXIFragment* exiFrag)
if(eventCode == 0) { if(eventCode == 0) {
errn = decodeUnsignedInteger16(stream, &exiFrag->Y.bytesLen); errn = decodeUnsignedInteger16(stream, &exiFrag->Y.bytesLen);
if (errn == 0) { if (errn == 0) {
errn = (exiFrag->Y.bytesLen) <= EXIFragment_Y_BYTES_SIZE ? 0 : EXI_ERROR_OUT_OF_BYTE_BUFFER; errn = (exiFrag->Y.bytesLen) <= iso2EXIFragment_Y_BYTES_SIZE ? 0 : EXI_ERROR_OUT_OF_BYTE_BUFFER;
} }
if (errn == 0) { if (errn == 0) {
errn = decodeBytes(stream, exiFrag->Y.bytesLen, exiFrag->Y.bytes); errn = decodeBytes(stream, exiFrag->Y.bytesLen, exiFrag->Y.bytes);
@ -86500,7 +86500,7 @@ int decode_iso2ExiFragment(bitstream_t* stream, struct iso2EXIFragment* exiFrag)
if (errn == 0) { if (errn == 0) {
if (exiFrag->stringValue.charactersLen >= 2) { if (exiFrag->stringValue.charactersLen >= 2) {
exiFrag->stringValue.charactersLen = (uint16_t)(exiFrag->stringValue.charactersLen - 2); /* string table miss */ exiFrag->stringValue.charactersLen = (uint16_t)(exiFrag->stringValue.charactersLen - 2); /* string table miss */
errn = decodeCharacters(stream, exiFrag->stringValue.charactersLen, exiFrag->stringValue.characters, EXIFragment_stringValue_CHARACTERS_SIZE); errn = decodeCharacters(stream, exiFrag->stringValue.charactersLen, exiFrag->stringValue.characters, iso2EXIFragment_stringValue_CHARACTERS_SIZE);
} else { } else {
/* string table hit */ /* string table hit */
errn = EXI_ERROR_STRINGVALUES_NOT_SUPPORTED; errn = EXI_ERROR_STRINGVALUES_NOT_SUPPORTED;