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

git-svn-id: https://svn.code.sf.net/p/openv2g/code/trunk@116 d9f2db14-54d0-4bde-b00c-16405c910529
This commit is contained in:
daniel_peintner 2019-07-08 14:32:06 +00:00 committed by Martin-P
parent 1536a0653b
commit 8ce766def6
2 changed files with 125 additions and 125 deletions

View file

@ -2000,47 +2000,47 @@ struct dinAnonType_V2G_Message {
#define EXIDocument_MgmtData_CHARACTERS_SIZE 50 + EXTRA_CHAR #define dinEXIDocument_MgmtData_CHARACTERS_SIZE 50 + EXTRA_CHAR
#define EXIDocument_KeyName_CHARACTERS_SIZE 50 + EXTRA_CHAR #define dinEXIDocument_KeyName_CHARACTERS_SIZE 50 + EXTRA_CHAR
#define EXIDocument_DigestValue_BYTES_SIZE 350 #define dinEXIDocument_DigestValue_BYTES_SIZE 350
#define EXIFragment_Certificate_BYTES_SIZE 1200 /* XML schema facet maxLength for urn:iso:15118:2:2010:MsgDataTypes,certificateType is 1200 */ #define dinEXIFragment_Certificate_BYTES_SIZE 1200 /* XML schema facet maxLength for urn:iso:15118:2:2010:MsgDataTypes,certificateType is 1200 */
#define EXIFragment_stringValue_CHARACTERS_SIZE 50 + EXTRA_CHAR #define dinEXIFragment_stringValue_CHARACTERS_SIZE 50 + EXTRA_CHAR
#define EXIFragment_OEMProvisioningCert_BYTES_SIZE 1200 /* XML schema facet maxLength for urn:iso:15118:2:2010:MsgDataTypes,certificateType is 1200 */ #define dinEXIFragment_OEMProvisioningCert_BYTES_SIZE 1200 /* XML schema facet maxLength for urn:iso:15118:2:2010:MsgDataTypes,certificateType is 1200 */
#define EXIFragment_Exponent_BYTES_SIZE 350 #define dinEXIFragment_Exponent_BYTES_SIZE 350
#define EXIFragment_SessionID_BYTES_SIZE 8 /* XML schema facet length for urn:iso:15118:2:2010:MsgDataTypes,sessionIDType is 8 */ #define dinEXIFragment_SessionID_BYTES_SIZE 8 /* XML schema facet length for urn:iso:15118:2:2010:MsgDataTypes,sessionIDType is 8 */
#define EXIFragment_PgenCounter_BYTES_SIZE 350 #define dinEXIFragment_PgenCounter_BYTES_SIZE 350
#define EXIFragment_EVCCID_BYTES_SIZE 8 /* XML schema facet maxLength for urn:iso:15118:2:2010:MsgDataTypes,evccIDType is 8 */ #define dinEXIFragment_EVCCID_BYTES_SIZE 8 /* XML schema facet maxLength for urn:iso:15118:2:2010:MsgDataTypes,evccIDType is 8 */
#define EXIFragment_RootCertificateID_CHARACTERS_SIZE 40 + EXTRA_CHAR /* XML schema facet maxLength for urn:iso:15118:2:2010:MsgDataTypes,rootCertificateIDType is 40 */ #define dinEXIFragment_RootCertificateID_CHARACTERS_SIZE 40 + EXTRA_CHAR /* XML schema facet maxLength for urn:iso:15118:2:2010:MsgDataTypes,rootCertificateIDType is 40 */
#define EXIFragment_PGPKeyPacket_BYTES_SIZE 350 #define dinEXIFragment_PGPKeyPacket_BYTES_SIZE 350
#define EXIFragment_Seed_BYTES_SIZE 350 #define dinEXIFragment_Seed_BYTES_SIZE 350
#define EXIFragment_XPath_CHARACTERS_SIZE 50 + EXTRA_CHAR #define dinEXIFragment_XPath_CHARACTERS_SIZE 50 + EXTRA_CHAR
#define EXIFragment_ContractID_CHARACTERS_SIZE 24 + EXTRA_CHAR /* XML schema facet maxLength for urn:iso:15118:2:2010:MsgDataTypes,contractIDType is 24 */ #define dinEXIFragment_ContractID_CHARACTERS_SIZE 24 + EXTRA_CHAR /* XML schema facet maxLength for urn:iso:15118:2:2010:MsgDataTypes,contractIDType is 24 */
#define EXIFragment_MgmtData_CHARACTERS_SIZE 50 + EXTRA_CHAR #define dinEXIFragment_MgmtData_CHARACTERS_SIZE 50 + EXTRA_CHAR
#define EXIFragment_P_BYTES_SIZE 350 #define dinEXIFragment_P_BYTES_SIZE 350
#define EXIFragment_Q_BYTES_SIZE 350 #define dinEXIFragment_Q_BYTES_SIZE 350
#define EXIFragment_X509SubjectName_CHARACTERS_SIZE 50 + EXTRA_CHAR #define dinEXIFragment_X509SubjectName_CHARACTERS_SIZE 50 + EXTRA_CHAR
#define EXIFragment_G_BYTES_SIZE 350 #define dinEXIFragment_G_BYTES_SIZE 350
#define EXIFragment_J_BYTES_SIZE 350 #define dinEXIFragment_J_BYTES_SIZE 350
#define EXIFragment_X509CRL_BYTES_SIZE 350 #define dinEXIFragment_X509CRL_BYTES_SIZE 350
#define EXIFragment_Y_BYTES_SIZE 350 #define dinEXIFragment_Y_BYTES_SIZE 350
#define EXIFragment_DigestValue_BYTES_SIZE 350 #define dinEXIFragment_DigestValue_BYTES_SIZE 350
#define EXIFragment_ContractSignatureEncryptedPrivateKey_BYTES_SIZE 128 /* XML schema facet maxLength for urn:iso:15118:2:2010:MsgDataTypes,privateKeyType is 128 */ #define dinEXIFragment_ContractSignatureEncryptedPrivateKey_BYTES_SIZE 128 /* XML schema facet maxLength for urn:iso:15118:2:2010:MsgDataTypes,privateKeyType is 128 */
#define EXIFragment_SPKISexp_BYTES_SIZE 350 #define dinEXIFragment_SPKISexp_BYTES_SIZE 350
#define EXIFragment_DHParams_BYTES_SIZE 256 /* XML schema facet maxLength for urn:iso:15118:2:2010:MsgDataTypes,dHParamsType is 256 */ #define dinEXIFragment_DHParams_BYTES_SIZE 256 /* XML schema facet maxLength for urn:iso:15118:2:2010:MsgDataTypes,dHParamsType is 256 */
#define EXIFragment_PGPKeyID_BYTES_SIZE 350 #define dinEXIFragment_PGPKeyID_BYTES_SIZE 350
#define EXIFragment_X509Certificate_BYTES_SIZE 350 #define dinEXIFragment_X509Certificate_BYTES_SIZE 350
#define EXIFragment_ServiceName_CHARACTERS_SIZE 32 + EXTRA_CHAR /* XML schema facet maxLength for urn:iso:15118:2:2010:MsgDataTypes,serviceNameType is 32 */ #define dinEXIFragment_ServiceName_CHARACTERS_SIZE 32 + EXTRA_CHAR /* XML schema facet maxLength for urn:iso:15118:2:2010:MsgDataTypes,serviceNameType is 32 */
#define EXIFragment_EVSEID_BYTES_SIZE 32 /* XML schema facet maxLength for urn:iso:15118:2:2010:MsgDataTypes,evseIDType is 32 */ #define dinEXIFragment_EVSEID_BYTES_SIZE 32 /* XML schema facet maxLength for urn:iso:15118:2:2010:MsgDataTypes,evseIDType is 32 */
#define EXIFragment_ServiceScope_CHARACTERS_SIZE 32 + EXTRA_CHAR /* XML schema facet maxLength for urn:iso:15118:2:2010:MsgDataTypes,serviceScopeType is 32 */ #define dinEXIFragment_ServiceScope_CHARACTERS_SIZE 32 + EXTRA_CHAR /* XML schema facet maxLength for urn:iso:15118:2:2010:MsgDataTypes,serviceScopeType is 32 */
#define EXIFragment_GenChallenge_CHARACTERS_SIZE 50 + EXTRA_CHAR #define dinEXIFragment_GenChallenge_CHARACTERS_SIZE 50 + EXTRA_CHAR
#define EXIFragment_SalesTariffDescription_CHARACTERS_SIZE 32 + EXTRA_CHAR /* XML schema facet maxLength for urn:iso:15118:2:2010:MsgDataTypes,tariffDescriptionType is 32 */ #define dinEXIFragment_SalesTariffDescription_CHARACTERS_SIZE 32 + EXTRA_CHAR /* XML schema facet maxLength for urn:iso:15118:2:2010:MsgDataTypes,tariffDescriptionType is 32 */
#define EXIFragment_FaultMsg_CHARACTERS_SIZE 64 + EXTRA_CHAR /* XML schema facet maxLength for urn:iso:15118:2:2010:MsgDataTypes,faultMsgType is 64 */ #define dinEXIFragment_FaultMsg_CHARACTERS_SIZE 64 + EXTRA_CHAR /* XML schema facet maxLength for urn:iso:15118:2:2010:MsgDataTypes,faultMsgType is 64 */
#define EXIFragment_KeyName_CHARACTERS_SIZE 50 + EXTRA_CHAR #define dinEXIFragment_KeyName_CHARACTERS_SIZE 50 + EXTRA_CHAR
#define EXIFragment_SigMeterReading_BYTES_SIZE 32 /* XML schema facet maxLength for urn:iso:15118:2:2010:MsgDataTypes,sigMeterReadingType is 32 */ #define dinEXIFragment_SigMeterReading_BYTES_SIZE 32 /* XML schema facet maxLength for urn:iso:15118:2:2010:MsgDataTypes,sigMeterReadingType is 32 */
#define EXIFragment_X509SKI_BYTES_SIZE 350 #define dinEXIFragment_X509SKI_BYTES_SIZE 350
#define EXIFragment_X509IssuerName_CHARACTERS_SIZE 50 + EXTRA_CHAR #define dinEXIFragment_X509IssuerName_CHARACTERS_SIZE 50 + EXTRA_CHAR
#define EXIFragment_MeterID_CHARACTERS_SIZE 32 + EXTRA_CHAR /* XML schema facet maxLength for urn:iso:15118:2:2010:MsgDataTypes,meterIDType is 32 */ #define dinEXIFragment_MeterID_CHARACTERS_SIZE 32 + EXTRA_CHAR /* XML schema facet maxLength for urn:iso:15118:2:2010:MsgDataTypes,meterIDType is 32 */
#define EXIFragment_Modulus_BYTES_SIZE 350 #define dinEXIFragment_Modulus_BYTES_SIZE 350
/* Global elements of EXI Document */ /* Global elements of EXI Document */
@ -2065,7 +2065,7 @@ struct dinEXIDocument {
struct dinTransformType Transform ; struct dinTransformType Transform ;
struct dinPGPDataType PGPData ; struct dinPGPDataType PGPData ;
struct { struct {
exi_string_character_t characters[EXIDocument_MgmtData_CHARACTERS_SIZE]; exi_string_character_t characters[dinEXIDocument_MgmtData_CHARACTERS_SIZE];
uint16_t charactersLen; uint16_t charactersLen;
} MgmtData ; } MgmtData ;
struct dinSignatureMethodType SignatureMethod ; struct dinSignatureMethodType SignatureMethod ;
@ -2074,11 +2074,11 @@ struct dinEXIDocument {
struct dinX509DataType X509Data ; struct dinX509DataType X509Data ;
struct dinSignatureValueType SignatureValue ; struct dinSignatureValueType SignatureValue ;
struct { struct {
exi_string_character_t characters[EXIDocument_KeyName_CHARACTERS_SIZE]; exi_string_character_t characters[dinEXIDocument_KeyName_CHARACTERS_SIZE];
uint16_t charactersLen; uint16_t charactersLen;
} KeyName ; } KeyName ;
struct { struct {
uint8_t bytes[EXIDocument_DigestValue_BYTES_SIZE]; uint8_t bytes[dinEXIDocument_DigestValue_BYTES_SIZE];
uint16_t bytesLen; uint16_t bytesLen;
} DigestValue ; } DigestValue ;
struct dinSignedInfoType SignedInfo ; struct dinSignedInfoType SignedInfo ;
@ -2249,7 +2249,7 @@ struct dinEXIFragment {
struct dinPhysicalValueType EVSEMaximumVoltageLimit ; struct dinPhysicalValueType EVSEMaximumVoltageLimit ;
struct dinSelectedServiceType SelectedService ; struct dinSelectedServiceType SelectedService ;
struct { struct {
uint8_t bytes[EXIFragment_Certificate_BYTES_SIZE]; uint8_t bytes[dinEXIFragment_Certificate_BYTES_SIZE];
uint16_t bytesLen; uint16_t bytesLen;
} Certificate ; } Certificate ;
struct dinPhysicalValueType EVSEMaximumPowerLimit ; struct dinPhysicalValueType EVSEMaximumPowerLimit ;
@ -2263,7 +2263,7 @@ struct dinEXIFragment {
int8_t Multiplier ; int8_t Multiplier ;
uint8_t EPriceLevel ; uint8_t EPriceLevel ;
struct { struct {
exi_string_character_t characters[EXIFragment_stringValue_CHARACTERS_SIZE]; exi_string_character_t characters[dinEXIFragment_stringValue_CHARACTERS_SIZE];
uint16_t charactersLen; uint16_t charactersLen;
} stringValue ; } stringValue ;
struct dinServiceDiscoveryReqType ServiceDiscoveryReq ; struct dinServiceDiscoveryReqType ServiceDiscoveryReq ;
@ -2271,7 +2271,7 @@ struct dinEXIFragment {
struct dinMeteringReceiptResType MeteringReceiptRes ; struct dinMeteringReceiptResType MeteringReceiptRes ;
struct dinPreChargeReqType PreChargeReq ; struct dinPreChargeReqType PreChargeReq ;
struct { struct {
uint8_t bytes[EXIFragment_OEMProvisioningCert_BYTES_SIZE]; uint8_t bytes[dinEXIFragment_OEMProvisioningCert_BYTES_SIZE];
uint16_t bytesLen; uint16_t bytesLen;
} OEMProvisioningCert ; } OEMProvisioningCert ;
struct dinServiceDiscoveryResType ServiceDiscoveryRes ; struct dinServiceDiscoveryResType ServiceDiscoveryRes ;
@ -2282,7 +2282,7 @@ struct dinEXIFragment {
int64_t HMACOutputLength ; int64_t HMACOutputLength ;
int BulkChargingComplete ; int BulkChargingComplete ;
struct { struct {
uint8_t bytes[EXIFragment_Exponent_BYTES_SIZE]; uint8_t bytes[dinEXIFragment_Exponent_BYTES_SIZE];
uint16_t bytesLen; uint16_t bytesLen;
} Exponent ; } Exponent ;
struct dinDC_EVStatusType DC_EVStatus ; struct dinDC_EVStatusType DC_EVStatus ;
@ -2295,13 +2295,13 @@ struct dinEXIFragment {
struct dinPhysicalValueType EVEnergyRequest ; struct dinPhysicalValueType EVEnergyRequest ;
struct dinPreChargeResType PreChargeRes ; struct dinPreChargeResType PreChargeRes ;
struct { struct {
uint8_t bytes[EXIFragment_SessionID_BYTES_SIZE]; uint8_t bytes[dinEXIFragment_SessionID_BYTES_SIZE];
uint16_t bytesLen; uint16_t bytesLen;
} SessionID ; } SessionID ;
struct dinPMaxScheduleType PMaxSchedule ; struct dinPMaxScheduleType PMaxSchedule ;
struct dinServiceChargeType ServiceCharge ; struct dinServiceChargeType ServiceCharge ;
struct { struct {
uint8_t bytes[EXIFragment_PgenCounter_BYTES_SIZE]; uint8_t bytes[dinEXIFragment_PgenCounter_BYTES_SIZE];
uint16_t bytesLen; uint16_t bytesLen;
} PgenCounter ; } PgenCounter ;
struct dinChargingStatusReqType ChargingStatusReq ; struct dinChargingStatusReqType ChargingStatusReq ;
@ -2316,12 +2316,12 @@ struct dinEXIFragment {
struct dinPhysicalValueType EVSEPresentVoltage ; struct dinPhysicalValueType EVSEPresentVoltage ;
struct dinBodyBaseType BodyElement ; struct dinBodyBaseType BodyElement ;
struct { struct {
uint8_t bytes[EXIFragment_EVCCID_BYTES_SIZE]; uint8_t bytes[dinEXIFragment_EVCCID_BYTES_SIZE];
uint16_t bytesLen; uint16_t bytesLen;
} EVCCID ; } EVCCID ;
struct dinPGPDataType PGPData ; struct dinPGPDataType PGPData ;
struct { struct {
exi_string_character_t characters[EXIFragment_RootCertificateID_CHARACTERS_SIZE]; exi_string_character_t characters[dinEXIFragment_RootCertificateID_CHARACTERS_SIZE];
uint16_t charactersLen; uint16_t charactersLen;
} RootCertificateID ; } RootCertificateID ;
dinfaultCodeType FaultCode ; dinfaultCodeType FaultCode ;
@ -2334,11 +2334,11 @@ struct dinEXIFragment {
struct dinSignaturePropertyType SignatureProperty ; struct dinSignaturePropertyType SignatureProperty ;
struct dinPhysicalValueType EVMaxCurrent ; struct dinPhysicalValueType EVMaxCurrent ;
struct { struct {
uint8_t bytes[EXIFragment_PGPKeyPacket_BYTES_SIZE]; uint8_t bytes[dinEXIFragment_PGPKeyPacket_BYTES_SIZE];
uint16_t bytesLen; uint16_t bytesLen;
} PGPKeyPacket ; } PGPKeyPacket ;
struct { struct {
uint8_t bytes[EXIFragment_Seed_BYTES_SIZE]; uint8_t bytes[dinEXIFragment_Seed_BYTES_SIZE];
uint16_t bytesLen; uint16_t bytesLen;
} Seed ; } Seed ;
struct dinRSAKeyValueType RSAKeyValue ; struct dinRSAKeyValueType RSAKeyValue ;
@ -2351,14 +2351,14 @@ struct dinEXIFragment {
struct dinPowerDeliveryReqType PowerDeliveryReq ; struct dinPowerDeliveryReqType PowerDeliveryReq ;
struct dinSessionStopType SessionStopReq ; struct dinSessionStopType SessionStopReq ;
struct { struct {
exi_string_character_t characters[EXIFragment_XPath_CHARACTERS_SIZE]; exi_string_character_t characters[dinEXIFragment_XPath_CHARACTERS_SIZE];
uint16_t charactersLen; uint16_t charactersLen;
} XPath ; } XPath ;
int8_t BulkSOC ; int8_t BulkSOC ;
int16_t PMax ; int16_t PMax ;
int16_t ParameterSetID ; int16_t ParameterSetID ;
struct { struct {
exi_string_character_t characters[EXIFragment_ContractID_CHARACTERS_SIZE]; exi_string_character_t characters[dinEXIFragment_ContractID_CHARACTERS_SIZE];
uint16_t charactersLen; uint16_t charactersLen;
} ContractID ; } ContractID ;
struct dinSignatureType Signature ; struct dinSignatureType Signature ;
@ -2373,7 +2373,7 @@ struct dinEXIFragment {
struct dinPaymentDetailsResType PaymentDetailsRes ; struct dinPaymentDetailsResType PaymentDetailsRes ;
struct dinPaymentDetailsReqType PaymentDetailsReq ; struct dinPaymentDetailsReqType PaymentDetailsReq ;
struct { struct {
exi_string_character_t characters[EXIFragment_MgmtData_CHARACTERS_SIZE]; exi_string_character_t characters[dinEXIFragment_MgmtData_CHARACTERS_SIZE];
uint16_t charactersLen; uint16_t charactersLen;
} MgmtData ; } MgmtData ;
int16_t Value ; int16_t Value ;
@ -2388,24 +2388,24 @@ struct dinEXIFragment {
int PowerSwitchClosed ; int PowerSwitchClosed ;
struct dinManifestType Manifest ; struct dinManifestType Manifest ;
struct { struct {
uint8_t bytes[EXIFragment_P_BYTES_SIZE]; uint8_t bytes[dinEXIFragment_P_BYTES_SIZE];
uint16_t bytesLen; uint16_t bytesLen;
} P ; } P ;
struct dinSAScheduleListType SAScheduleList ; struct dinSAScheduleListType SAScheduleList ;
struct { struct {
uint8_t bytes[EXIFragment_Q_BYTES_SIZE]; uint8_t bytes[dinEXIFragment_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[dinEXIFragment_X509SubjectName_CHARACTERS_SIZE];
uint16_t charactersLen; uint16_t charactersLen;
} X509SubjectName ; } X509SubjectName ;
struct { struct {
uint8_t bytes[EXIFragment_G_BYTES_SIZE]; uint8_t bytes[dinEXIFragment_G_BYTES_SIZE];
uint16_t bytesLen; uint16_t bytesLen;
} G ; } G ;
struct { struct {
uint8_t bytes[EXIFragment_J_BYTES_SIZE]; uint8_t bytes[dinEXIFragment_J_BYTES_SIZE];
uint16_t bytesLen; uint16_t bytesLen;
} J ; } J ;
struct dinCertificateInstallationResType CertificateInstallationRes ; struct dinCertificateInstallationResType CertificateInstallationRes ;
@ -2414,25 +2414,25 @@ struct dinEXIFragment {
struct dinMessageHeaderType Header ; struct dinMessageHeaderType Header ;
struct dinPhysicalValueType EVSEMinimumCurrentLimit ; struct dinPhysicalValueType EVSEMinimumCurrentLimit ;
struct { struct {
uint8_t bytes[EXIFragment_X509CRL_BYTES_SIZE]; uint8_t bytes[dinEXIFragment_X509CRL_BYTES_SIZE];
uint16_t bytesLen; uint16_t bytesLen;
} X509CRL ; } X509CRL ;
struct { struct {
uint8_t bytes[EXIFragment_Y_BYTES_SIZE]; uint8_t bytes[dinEXIFragment_Y_BYTES_SIZE];
uint16_t bytesLen; uint16_t bytesLen;
} Y ; } Y ;
struct { struct {
uint8_t bytes[EXIFragment_DigestValue_BYTES_SIZE]; uint8_t bytes[dinEXIFragment_DigestValue_BYTES_SIZE];
uint16_t bytesLen; uint16_t bytesLen;
} DigestValue ; } DigestValue ;
struct dinDC_EVChargeParameterType DC_EVChargeParameter ; struct dinDC_EVChargeParameterType DC_EVChargeParameter ;
struct { struct {
uint8_t bytes[EXIFragment_ContractSignatureEncryptedPrivateKey_BYTES_SIZE]; uint8_t bytes[dinEXIFragment_ContractSignatureEncryptedPrivateKey_BYTES_SIZE];
uint16_t bytesLen; uint16_t bytesLen;
} ContractSignatureEncryptedPrivateKey ; } ContractSignatureEncryptedPrivateKey ;
struct dinDigestMethodType DigestMethod ; struct dinDigestMethodType DigestMethod ;
struct { struct {
uint8_t bytes[EXIFragment_SPKISexp_BYTES_SIZE]; uint8_t bytes[dinEXIFragment_SPKISexp_BYTES_SIZE];
uint16_t bytesLen; uint16_t bytesLen;
} SPKISexp ; } SPKISexp ;
struct dinServiceChargeType ChargeService ; struct dinServiceChargeType ChargeService ;
@ -2442,11 +2442,11 @@ struct dinEXIFragment {
struct dinEVSEStatusType EVSEStatus ; struct dinEVSEStatusType EVSEStatus ;
struct dinServiceType Service ; struct dinServiceType Service ;
struct { struct {
uint8_t bytes[EXIFragment_DHParams_BYTES_SIZE]; uint8_t bytes[dinEXIFragment_DHParams_BYTES_SIZE];
uint16_t bytesLen; uint16_t bytesLen;
} DHParams ; } DHParams ;
struct { struct {
uint8_t bytes[EXIFragment_PGPKeyID_BYTES_SIZE]; uint8_t bytes[dinEXIFragment_PGPKeyID_BYTES_SIZE];
uint16_t bytesLen; uint16_t bytesLen;
} PGPKeyID ; } PGPKeyID ;
struct dinDSAKeyValueType DSAKeyValue ; struct dinDSAKeyValueType DSAKeyValue ;
@ -2458,7 +2458,7 @@ struct dinEXIFragment {
struct dinPhysicalValueType EVTargetVoltage ; struct dinPhysicalValueType EVTargetVoltage ;
struct dinCanonicalizationMethodType CanonicalizationMethod ; struct dinCanonicalizationMethodType CanonicalizationMethod ;
struct { struct {
uint8_t bytes[EXIFragment_X509Certificate_BYTES_SIZE]; uint8_t bytes[dinEXIFragment_X509Certificate_BYTES_SIZE];
uint16_t bytesLen; uint16_t bytesLen;
} X509Certificate ; } X509Certificate ;
struct dinCertificateUpdateResType CertificateUpdateRes ; struct dinCertificateUpdateResType CertificateUpdateRes ;
@ -2487,43 +2487,43 @@ struct dinEXIFragment {
int32_t intValue ; int32_t intValue ;
dinpaymentOptionType SelectedPaymentOption ; dinpaymentOptionType SelectedPaymentOption ;
struct { struct {
exi_string_character_t characters[EXIFragment_ServiceName_CHARACTERS_SIZE]; exi_string_character_t characters[dinEXIFragment_ServiceName_CHARACTERS_SIZE];
uint16_t charactersLen; uint16_t charactersLen;
} ServiceName ; } ServiceName ;
int EVCabinConditioning ; int EVCabinConditioning ;
struct { struct {
uint8_t bytes[EXIFragment_EVSEID_BYTES_SIZE]; uint8_t bytes[dinEXIFragment_EVSEID_BYTES_SIZE];
uint16_t bytesLen; uint16_t bytesLen;
} EVSEID ; } EVSEID ;
struct { struct {
exi_string_character_t characters[EXIFragment_ServiceScope_CHARACTERS_SIZE]; exi_string_character_t characters[dinEXIFragment_ServiceScope_CHARACTERS_SIZE];
uint16_t charactersLen; uint16_t charactersLen;
} ServiceScope ; } ServiceScope ;
int16_t MeterStatus ; int16_t MeterStatus ;
dinEVRequestedEnergyTransferType EVRequestedEnergyTransferType ; dinEVRequestedEnergyTransferType EVRequestedEnergyTransferType ;
dinserviceCategoryType ServiceCategory ; dinserviceCategoryType ServiceCategory ;
struct { struct {
exi_string_character_t characters[EXIFragment_GenChallenge_CHARACTERS_SIZE]; exi_string_character_t characters[dinEXIFragment_GenChallenge_CHARACTERS_SIZE];
uint16_t charactersLen; uint16_t charactersLen;
} GenChallenge ; } GenChallenge ;
struct { struct {
exi_string_character_t characters[EXIFragment_SalesTariffDescription_CHARACTERS_SIZE]; exi_string_character_t characters[dinEXIFragment_SalesTariffDescription_CHARACTERS_SIZE];
uint16_t charactersLen; uint16_t charactersLen;
} SalesTariffDescription ; } SalesTariffDescription ;
uint32_t NotificationMaxDelay ; uint32_t NotificationMaxDelay ;
int boolValue ; int boolValue ;
dinDC_EVSEStatusCodeType EVSEStatusCode ; dinDC_EVSEStatusCodeType EVSEStatusCode ;
struct { struct {
exi_string_character_t characters[EXIFragment_FaultMsg_CHARACTERS_SIZE]; exi_string_character_t characters[dinEXIFragment_FaultMsg_CHARACTERS_SIZE];
uint16_t charactersLen; uint16_t charactersLen;
} FaultMsg ; } FaultMsg ;
struct { struct {
exi_string_character_t characters[EXIFragment_KeyName_CHARACTERS_SIZE]; exi_string_character_t characters[dinEXIFragment_KeyName_CHARACTERS_SIZE];
uint16_t charactersLen; uint16_t charactersLen;
} KeyName ; } KeyName ;
struct dinParameterSetType ParameterSet ; struct dinParameterSetType ParameterSet ;
struct { struct {
uint8_t bytes[EXIFragment_SigMeterReading_BYTES_SIZE]; uint8_t bytes[dinEXIFragment_SigMeterReading_BYTES_SIZE];
uint16_t bytesLen; uint16_t bytesLen;
} SigMeterReading ; } SigMeterReading ;
struct dinEVSEChargeParameterType EVSEChargeParameter ; struct dinEVSEChargeParameterType EVSEChargeParameter ;
@ -2536,7 +2536,7 @@ struct dinEXIFragment {
struct dinSubCertificatesType SubCertificates ; struct dinSubCertificatesType SubCertificates ;
dinpaymentOptionType PaymentOption ; dinpaymentOptionType PaymentOption ;
struct { struct {
uint8_t bytes[EXIFragment_X509SKI_BYTES_SIZE]; uint8_t bytes[dinEXIFragment_X509SKI_BYTES_SIZE];
uint16_t bytesLen; uint16_t bytesLen;
} X509SKI ; } X509SKI ;
struct dinServiceTagListType ServiceList ; struct dinServiceTagListType ServiceList ;
@ -2549,7 +2549,7 @@ struct dinEXIFragment {
struct dinEVChargeParameterType EVChargeParameter ; struct dinEVChargeParameterType EVChargeParameter ;
uint32_t start ; uint32_t start ;
struct { struct {
exi_string_character_t characters[EXIFragment_X509IssuerName_CHARACTERS_SIZE]; exi_string_character_t characters[dinEXIFragment_X509IssuerName_CHARACTERS_SIZE];
uint16_t charactersLen; uint16_t charactersLen;
} X509IssuerName ; } X509IssuerName ;
struct dinReferenceType Reference ; struct dinReferenceType Reference ;
@ -2561,7 +2561,7 @@ struct dinEXIFragment {
struct dinEntryType Entry ; struct dinEntryType Entry ;
int16_t SalesTariffID ; int16_t SalesTariffID ;
struct { struct {
exi_string_character_t characters[EXIFragment_MeterID_CHARACTERS_SIZE]; exi_string_character_t characters[dinEXIFragment_MeterID_CHARACTERS_SIZE];
uint16_t charactersLen; uint16_t charactersLen;
} MeterID ; } MeterID ;
struct dinChargeParameterDiscoveryReqType ChargeParameterDiscoveryReq ; struct dinChargeParameterDiscoveryReqType ChargeParameterDiscoveryReq ;
@ -2573,7 +2573,7 @@ struct dinEXIFragment {
struct dinNotificationType Notification ; struct dinNotificationType Notification ;
uint32_t startValue ; uint32_t startValue ;
struct { struct {
uint8_t bytes[EXIFragment_Modulus_BYTES_SIZE]; uint8_t bytes[dinEXIFragment_Modulus_BYTES_SIZE];
uint16_t bytesLen; uint16_t bytesLen;
} Modulus ; } Modulus ;
#if SAVE_MEMORY_WITH_UNNAMED_UNION == UNION_YES #if SAVE_MEMORY_WITH_UNNAMED_UNION == UNION_YES

View file

@ -14225,7 +14225,7 @@ int decode_dinExiDocument(bitstream_t* stream, struct dinEXIDocument* 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) <= dinEXIDocument_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);
@ -14282,7 +14282,7 @@ int decode_dinExiDocument(bitstream_t* stream, struct dinEXIDocument* 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, dinEXIDocument_KeyName_CHARACTERS_SIZE);
} else { } else {
/* string table hit */ /* string table hit */
errn = EXI_ERROR_STRINGVALUES_NOT_SUPPORTED; errn = EXI_ERROR_STRINGVALUES_NOT_SUPPORTED;
@ -14325,7 +14325,7 @@ int decode_dinExiDocument(bitstream_t* stream, struct dinEXIDocument* 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, dinEXIDocument_MgmtData_CHARACTERS_SIZE);
} else { } else {
/* string table hit */ /* string table hit */
errn = EXI_ERROR_STRINGVALUES_NOT_SUPPORTED; errn = EXI_ERROR_STRINGVALUES_NOT_SUPPORTED;
@ -14664,7 +14664,7 @@ int decode_dinExiFragment(bitstream_t* stream, struct dinEXIFragment* 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) <= dinEXIFragment_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);
@ -14807,7 +14807,7 @@ int decode_dinExiFragment(bitstream_t* stream, struct dinEXIFragment* exiFrag) {
if (errn == 0) { if (errn == 0) {
if (exiFrag->ContractID.charactersLen >= 2) { if (exiFrag->ContractID.charactersLen >= 2) {
exiFrag->ContractID.charactersLen = (uint16_t)(exiFrag->ContractID.charactersLen - 2); /* string table miss */ exiFrag->ContractID.charactersLen = (uint16_t)(exiFrag->ContractID.charactersLen - 2); /* string table miss */
errn = decodeCharacters(stream, exiFrag->ContractID.charactersLen, exiFrag->ContractID.characters, EXIFragment_ContractID_CHARACTERS_SIZE); errn = decodeCharacters(stream, exiFrag->ContractID.charactersLen, exiFrag->ContractID.characters, dinEXIFragment_ContractID_CHARACTERS_SIZE);
} else { } else {
/* string table hit */ /* string table hit */
errn = EXI_ERROR_STRINGVALUES_NOT_SUPPORTED; errn = EXI_ERROR_STRINGVALUES_NOT_SUPPORTED;
@ -14833,7 +14833,7 @@ int decode_dinExiFragment(bitstream_t* stream, struct dinEXIFragment* exiFrag) {
if(eventCode == 0) { if(eventCode == 0) {
errn = decodeUnsignedInteger16(stream, &exiFrag->ContractSignatureEncryptedPrivateKey.bytesLen); errn = decodeUnsignedInteger16(stream, &exiFrag->ContractSignatureEncryptedPrivateKey.bytesLen);
if (errn == 0) { if (errn == 0) {
errn = (exiFrag->ContractSignatureEncryptedPrivateKey.bytesLen) <= EXIFragment_ContractSignatureEncryptedPrivateKey_BYTES_SIZE ? 0 : EXI_ERROR_OUT_OF_BYTE_BUFFER; errn = (exiFrag->ContractSignatureEncryptedPrivateKey.bytesLen) <= dinEXIFragment_ContractSignatureEncryptedPrivateKey_BYTES_SIZE ? 0 : EXI_ERROR_OUT_OF_BYTE_BUFFER;
} }
if (errn == 0) { if (errn == 0) {
errn = decodeBytes(stream, exiFrag->ContractSignatureEncryptedPrivateKey.bytesLen, exiFrag->ContractSignatureEncryptedPrivateKey.bytes); errn = decodeBytes(stream, exiFrag->ContractSignatureEncryptedPrivateKey.bytesLen, exiFrag->ContractSignatureEncryptedPrivateKey.bytes);
@ -14903,7 +14903,7 @@ int decode_dinExiFragment(bitstream_t* stream, struct dinEXIFragment* exiFrag) {
if(eventCode == 0) { if(eventCode == 0) {
errn = decodeUnsignedInteger16(stream, &exiFrag->DHParams.bytesLen); errn = decodeUnsignedInteger16(stream, &exiFrag->DHParams.bytesLen);
if (errn == 0) { if (errn == 0) {
errn = (exiFrag->DHParams.bytesLen) <= EXIFragment_DHParams_BYTES_SIZE ? 0 : EXI_ERROR_OUT_OF_BYTE_BUFFER; errn = (exiFrag->DHParams.bytesLen) <= dinEXIFragment_DHParams_BYTES_SIZE ? 0 : EXI_ERROR_OUT_OF_BYTE_BUFFER;
} }
if (errn == 0) { if (errn == 0) {
errn = decodeBytes(stream, exiFrag->DHParams.bytesLen, exiFrag->DHParams.bytes); errn = decodeBytes(stream, exiFrag->DHParams.bytesLen, exiFrag->DHParams.bytes);
@ -14961,7 +14961,7 @@ int decode_dinExiFragment(bitstream_t* stream, struct dinEXIFragment* 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) <= dinEXIFragment_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);
@ -15001,7 +15001,7 @@ int decode_dinExiFragment(bitstream_t* stream, struct dinEXIFragment* 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) <= dinEXIFragment_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);
@ -15202,7 +15202,7 @@ int decode_dinExiFragment(bitstream_t* stream, struct dinEXIFragment* exiFrag) {
if(eventCode == 0) { if(eventCode == 0) {
errn = decodeUnsignedInteger16(stream, &exiFrag->EVSEID.bytesLen); errn = decodeUnsignedInteger16(stream, &exiFrag->EVSEID.bytesLen);
if (errn == 0) { if (errn == 0) {
errn = (exiFrag->EVSEID.bytesLen) <= EXIFragment_EVSEID_BYTES_SIZE ? 0 : EXI_ERROR_OUT_OF_BYTE_BUFFER; errn = (exiFrag->EVSEID.bytesLen) <= dinEXIFragment_EVSEID_BYTES_SIZE ? 0 : EXI_ERROR_OUT_OF_BYTE_BUFFER;
} }
if (errn == 0) { if (errn == 0) {
errn = decodeBytes(stream, exiFrag->EVSEID.bytesLen, exiFrag->EVSEID.bytes); errn = decodeBytes(stream, exiFrag->EVSEID.bytesLen, exiFrag->EVSEID.bytes);
@ -15425,7 +15425,7 @@ int decode_dinExiFragment(bitstream_t* stream, struct dinEXIFragment* exiFrag) {
if(eventCode == 0) { if(eventCode == 0) {
errn = decodeUnsignedInteger16(stream, &exiFrag->Exponent.bytesLen); errn = decodeUnsignedInteger16(stream, &exiFrag->Exponent.bytesLen);
if (errn == 0) { if (errn == 0) {
errn = (exiFrag->Exponent.bytesLen) <= EXIFragment_Exponent_BYTES_SIZE ? 0 : EXI_ERROR_OUT_OF_BYTE_BUFFER; errn = (exiFrag->Exponent.bytesLen) <= dinEXIFragment_Exponent_BYTES_SIZE ? 0 : EXI_ERROR_OUT_OF_BYTE_BUFFER;
} }
if (errn == 0) { if (errn == 0) {
errn = decodeBytes(stream, exiFrag->Exponent.bytesLen, exiFrag->Exponent.bytes); errn = decodeBytes(stream, exiFrag->Exponent.bytesLen, exiFrag->Exponent.bytes);
@ -15462,7 +15462,7 @@ int decode_dinExiFragment(bitstream_t* stream, struct dinEXIFragment* exiFrag) {
if (errn == 0) { if (errn == 0) {
if (exiFrag->FaultMsg.charactersLen >= 2) { if (exiFrag->FaultMsg.charactersLen >= 2) {
exiFrag->FaultMsg.charactersLen = (uint16_t)(exiFrag->FaultMsg.charactersLen - 2); /* string table miss */ exiFrag->FaultMsg.charactersLen = (uint16_t)(exiFrag->FaultMsg.charactersLen - 2); /* string table miss */
errn = decodeCharacters(stream, exiFrag->FaultMsg.charactersLen, exiFrag->FaultMsg.characters, EXIFragment_FaultMsg_CHARACTERS_SIZE); errn = decodeCharacters(stream, exiFrag->FaultMsg.charactersLen, exiFrag->FaultMsg.characters, dinEXIFragment_FaultMsg_CHARACTERS_SIZE);
} else { } else {
/* string table hit */ /* string table hit */
errn = EXI_ERROR_STRINGVALUES_NOT_SUPPORTED; errn = EXI_ERROR_STRINGVALUES_NOT_SUPPORTED;
@ -15512,7 +15512,7 @@ int decode_dinExiFragment(bitstream_t* stream, struct dinEXIFragment* 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) <= dinEXIFragment_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);
@ -15534,7 +15534,7 @@ int decode_dinExiFragment(bitstream_t* stream, struct dinEXIFragment* exiFrag) {
if (errn == 0) { if (errn == 0) {
if (exiFrag->GenChallenge.charactersLen >= 2) { if (exiFrag->GenChallenge.charactersLen >= 2) {
exiFrag->GenChallenge.charactersLen = (uint16_t)(exiFrag->GenChallenge.charactersLen - 2); /* string table miss */ exiFrag->GenChallenge.charactersLen = (uint16_t)(exiFrag->GenChallenge.charactersLen - 2); /* string table miss */
errn = decodeCharacters(stream, exiFrag->GenChallenge.charactersLen, exiFrag->GenChallenge.characters, EXIFragment_GenChallenge_CHARACTERS_SIZE); errn = decodeCharacters(stream, exiFrag->GenChallenge.charactersLen, exiFrag->GenChallenge.characters, dinEXIFragment_GenChallenge_CHARACTERS_SIZE);
} else { } else {
/* string table hit */ /* string table hit */
errn = EXI_ERROR_STRINGVALUES_NOT_SUPPORTED; errn = EXI_ERROR_STRINGVALUES_NOT_SUPPORTED;
@ -15574,7 +15574,7 @@ int decode_dinExiFragment(bitstream_t* stream, struct dinEXIFragment* 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) <= dinEXIFragment_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);
@ -15601,7 +15601,7 @@ int decode_dinExiFragment(bitstream_t* stream, struct dinEXIFragment* 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, dinEXIFragment_KeyName_CHARACTERS_SIZE);
} else { } else {
/* string table hit */ /* string table hit */
errn = EXI_ERROR_STRINGVALUES_NOT_SUPPORTED; errn = EXI_ERROR_STRINGVALUES_NOT_SUPPORTED;
@ -15639,7 +15639,7 @@ int decode_dinExiFragment(bitstream_t* stream, struct dinEXIFragment* 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, dinEXIFragment_MeterID_CHARACTERS_SIZE);
} else { } else {
/* string table hit */ /* string table hit */
errn = EXI_ERROR_STRINGVALUES_NOT_SUPPORTED; errn = EXI_ERROR_STRINGVALUES_NOT_SUPPORTED;
@ -15696,7 +15696,7 @@ int decode_dinExiFragment(bitstream_t* stream, struct dinEXIFragment* 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, dinEXIFragment_MgmtData_CHARACTERS_SIZE);
} else { } else {
/* string table hit */ /* string table hit */
errn = EXI_ERROR_STRINGVALUES_NOT_SUPPORTED; errn = EXI_ERROR_STRINGVALUES_NOT_SUPPORTED;
@ -15717,7 +15717,7 @@ int decode_dinExiFragment(bitstream_t* stream, struct dinEXIFragment* 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) <= dinEXIFragment_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);
@ -15786,7 +15786,7 @@ int decode_dinExiFragment(bitstream_t* stream, struct dinEXIFragment* 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) <= dinEXIFragment_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);
@ -15811,7 +15811,7 @@ int decode_dinExiFragment(bitstream_t* stream, struct dinEXIFragment* 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) <= dinEXIFragment_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);
@ -15836,7 +15836,7 @@ int decode_dinExiFragment(bitstream_t* stream, struct dinEXIFragment* 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) <= dinEXIFragment_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);
@ -15856,7 +15856,7 @@ int decode_dinExiFragment(bitstream_t* stream, struct dinEXIFragment* 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) <= dinEXIFragment_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);
@ -15968,7 +15968,7 @@ int decode_dinExiFragment(bitstream_t* stream, struct dinEXIFragment* 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) <= dinEXIFragment_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);
@ -16027,7 +16027,7 @@ int decode_dinExiFragment(bitstream_t* stream, struct dinEXIFragment* 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) <= dinEXIFragment_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);
@ -16150,7 +16150,7 @@ int decode_dinExiFragment(bitstream_t* stream, struct dinEXIFragment* exiFrag) {
if (errn == 0) { if (errn == 0) {
if (exiFrag->RootCertificateID.charactersLen >= 2) { if (exiFrag->RootCertificateID.charactersLen >= 2) {
exiFrag->RootCertificateID.charactersLen = (uint16_t)(exiFrag->RootCertificateID.charactersLen - 2); /* string table miss */ exiFrag->RootCertificateID.charactersLen = (uint16_t)(exiFrag->RootCertificateID.charactersLen - 2); /* string table miss */
errn = decodeCharacters(stream, exiFrag->RootCertificateID.charactersLen, exiFrag->RootCertificateID.characters, EXIFragment_RootCertificateID_CHARACTERS_SIZE); errn = decodeCharacters(stream, exiFrag->RootCertificateID.charactersLen, exiFrag->RootCertificateID.characters, dinEXIFragment_RootCertificateID_CHARACTERS_SIZE);
} else { } else {
/* string table hit */ /* string table hit */
errn = EXI_ERROR_STRINGVALUES_NOT_SUPPORTED; errn = EXI_ERROR_STRINGVALUES_NOT_SUPPORTED;
@ -16219,7 +16219,7 @@ int decode_dinExiFragment(bitstream_t* stream, struct dinEXIFragment* 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) <= dinEXIFragment_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);
@ -16246,7 +16246,7 @@ int decode_dinExiFragment(bitstream_t* stream, struct dinEXIFragment* 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, dinEXIFragment_SalesTariffDescription_CHARACTERS_SIZE);
} else { } else {
/* string table hit */ /* string table hit */
errn = EXI_ERROR_STRINGVALUES_NOT_SUPPORTED; errn = EXI_ERROR_STRINGVALUES_NOT_SUPPORTED;
@ -16286,7 +16286,7 @@ int decode_dinExiFragment(bitstream_t* stream, struct dinEXIFragment* 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) <= dinEXIFragment_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);
@ -16426,7 +16426,7 @@ int decode_dinExiFragment(bitstream_t* stream, struct dinEXIFragment* exiFrag) {
if (errn == 0) { if (errn == 0) {
if (exiFrag->ServiceName.charactersLen >= 2) { if (exiFrag->ServiceName.charactersLen >= 2) {
exiFrag->ServiceName.charactersLen = (uint16_t)(exiFrag->ServiceName.charactersLen - 2); /* string table miss */ exiFrag->ServiceName.charactersLen = (uint16_t)(exiFrag->ServiceName.charactersLen - 2); /* string table miss */
errn = decodeCharacters(stream, exiFrag->ServiceName.charactersLen, exiFrag->ServiceName.characters, EXIFragment_ServiceName_CHARACTERS_SIZE); errn = decodeCharacters(stream, exiFrag->ServiceName.charactersLen, exiFrag->ServiceName.characters, dinEXIFragment_ServiceName_CHARACTERS_SIZE);
} else { } else {
/* string table hit */ /* string table hit */
errn = EXI_ERROR_STRINGVALUES_NOT_SUPPORTED; errn = EXI_ERROR_STRINGVALUES_NOT_SUPPORTED;
@ -16464,7 +16464,7 @@ int decode_dinExiFragment(bitstream_t* stream, struct dinEXIFragment* exiFrag) {
if (errn == 0) { if (errn == 0) {
if (exiFrag->ServiceScope.charactersLen >= 2) { if (exiFrag->ServiceScope.charactersLen >= 2) {
exiFrag->ServiceScope.charactersLen = (uint16_t)(exiFrag->ServiceScope.charactersLen - 2); /* string table miss */ exiFrag->ServiceScope.charactersLen = (uint16_t)(exiFrag->ServiceScope.charactersLen - 2); /* string table miss */
errn = decodeCharacters(stream, exiFrag->ServiceScope.charactersLen, exiFrag->ServiceScope.characters, EXIFragment_ServiceScope_CHARACTERS_SIZE); errn = decodeCharacters(stream, exiFrag->ServiceScope.charactersLen, exiFrag->ServiceScope.characters, dinEXIFragment_ServiceScope_CHARACTERS_SIZE);
} else { } else {
/* string table hit */ /* string table hit */
errn = EXI_ERROR_STRINGVALUES_NOT_SUPPORTED; errn = EXI_ERROR_STRINGVALUES_NOT_SUPPORTED;
@ -16487,7 +16487,7 @@ int decode_dinExiFragment(bitstream_t* stream, struct dinEXIFragment* exiFrag) {
if (errn == 0) { if (errn == 0) {
if (exiFrag->ServiceScope.charactersLen >= 2) { if (exiFrag->ServiceScope.charactersLen >= 2) {
exiFrag->ServiceScope.charactersLen = (uint16_t)(exiFrag->ServiceScope.charactersLen - 2); /* string table miss */ exiFrag->ServiceScope.charactersLen = (uint16_t)(exiFrag->ServiceScope.charactersLen - 2); /* string table miss */
errn = decodeCharacters(stream, exiFrag->ServiceScope.charactersLen, exiFrag->ServiceScope.characters, EXIFragment_ServiceScope_CHARACTERS_SIZE); errn = decodeCharacters(stream, exiFrag->ServiceScope.charactersLen, exiFrag->ServiceScope.characters, dinEXIFragment_ServiceScope_CHARACTERS_SIZE);
} else { } else {
/* string table hit */ /* string table hit */
errn = EXI_ERROR_STRINGVALUES_NOT_SUPPORTED; errn = EXI_ERROR_STRINGVALUES_NOT_SUPPORTED;
@ -16513,7 +16513,7 @@ int decode_dinExiFragment(bitstream_t* stream, struct dinEXIFragment* 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) <= dinEXIFragment_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);
@ -16533,7 +16533,7 @@ int decode_dinExiFragment(bitstream_t* stream, struct dinEXIFragment* 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) <= dinEXIFragment_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);
@ -16573,7 +16573,7 @@ int decode_dinExiFragment(bitstream_t* stream, struct dinEXIFragment* 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) <= dinEXIFragment_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);
@ -16701,7 +16701,7 @@ int decode_dinExiFragment(bitstream_t* stream, struct dinEXIFragment* 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) <= dinEXIFragment_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);
@ -16721,7 +16721,7 @@ int decode_dinExiFragment(bitstream_t* stream, struct dinEXIFragment* 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) <= dinEXIFragment_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);
@ -16748,7 +16748,7 @@ int decode_dinExiFragment(bitstream_t* stream, struct dinEXIFragment* 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, dinEXIFragment_X509IssuerName_CHARACTERS_SIZE);
} else { } else {
/* string table hit */ /* string table hit */
errn = EXI_ERROR_STRINGVALUES_NOT_SUPPORTED; errn = EXI_ERROR_STRINGVALUES_NOT_SUPPORTED;
@ -16774,7 +16774,7 @@ int decode_dinExiFragment(bitstream_t* stream, struct dinEXIFragment* 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) <= dinEXIFragment_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);
@ -16810,7 +16810,7 @@ int decode_dinExiFragment(bitstream_t* stream, struct dinEXIFragment* 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, dinEXIFragment_X509SubjectName_CHARACTERS_SIZE);
} else { } else {
/* string table hit */ /* string table hit */
errn = EXI_ERROR_STRINGVALUES_NOT_SUPPORTED; errn = EXI_ERROR_STRINGVALUES_NOT_SUPPORTED;
@ -16833,7 +16833,7 @@ int decode_dinExiFragment(bitstream_t* stream, struct dinEXIFragment* 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, dinEXIFragment_XPath_CHARACTERS_SIZE);
} else { } else {
/* string table hit */ /* string table hit */
errn = EXI_ERROR_STRINGVALUES_NOT_SUPPORTED; errn = EXI_ERROR_STRINGVALUES_NOT_SUPPORTED;
@ -16854,7 +16854,7 @@ int decode_dinExiFragment(bitstream_t* stream, struct dinEXIFragment* 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) <= dinEXIFragment_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);
@ -17024,7 +17024,7 @@ int decode_dinExiFragment(bitstream_t* stream, struct dinEXIFragment* 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, dinEXIFragment_stringValue_CHARACTERS_SIZE);
} else { } else {
/* string table hit */ /* string table hit */
errn = EXI_ERROR_STRINGVALUES_NOT_SUPPORTED; errn = EXI_ERROR_STRINGVALUES_NOT_SUPPORTED;