codec update

git-svn-id: https://svn.code.sf.net/p/openv2g/code/trunk@53 d9f2db14-54d0-4bde-b00c-16405c910529
This commit is contained in:
sebastiankb 2012-01-31 13:20:47 +00:00
parent c9210283c7
commit 32078408b5
43 changed files with 455 additions and 384 deletions

View file

@ -19,7 +19,7 @@
/******************************************************************* /*******************************************************************
* *
* @author Daniel.Peintner.EXT@siemens.com * @author Daniel.Peintner.EXT@siemens.com
* @version 0.6 * @version 2012-01-31
* @contact Joerg.Heuer@siemens.com * @contact Joerg.Heuer@siemens.com
* *
* <p>Code generated by EXIdizer</p> * <p>Code generated by EXIdizer</p>

View file

@ -19,7 +19,7 @@
/******************************************************************* /*******************************************************************
* *
* @author Daniel.Peintner.EXT@siemens.com * @author Daniel.Peintner.EXT@siemens.com
* @version 0.6 * @version 2012-01-31
* @contact Joerg.Heuer@siemens.com * @contact Joerg.Heuer@siemens.com
* *
* <p>Code generated by EXIdizer</p> * <p>Code generated by EXIdizer</p>

View file

@ -19,7 +19,7 @@
/******************************************************************* /*******************************************************************
* *
* @author Daniel.Peintner.EXT@siemens.com * @author Daniel.Peintner.EXT@siemens.com
* @version 0.6 * @version 2012-01-31
* @contact Joerg.Heuer@siemens.com * @contact Joerg.Heuer@siemens.com
* *
* <p>Code generated by EXIdizer</p> * <p>Code generated by EXIdizer</p>

View file

@ -19,7 +19,7 @@
/******************************************************************* /*******************************************************************
* *
* @author Daniel.Peintner.EXT@siemens.com * @author Daniel.Peintner.EXT@siemens.com
* @version 0.6 * @version 2012-01-31
* @contact Joerg.Heuer@siemens.com * @contact Joerg.Heuer@siemens.com
* *
* <p>Code generated by EXIdizer</p> * <p>Code generated by EXIdizer</p>

View file

@ -19,7 +19,7 @@
/******************************************************************* /*******************************************************************
* *
* @author Daniel.Peintner.EXT@siemens.com * @author Daniel.Peintner.EXT@siemens.com
* @version 0.6 * @version 2012-01-31
* @contact Joerg.Heuer@siemens.com * @contact Joerg.Heuer@siemens.com
* *
* <p>Code generated by EXIdizer</p> * <p>Code generated by EXIdizer</p>

View file

@ -19,7 +19,7 @@
/******************************************************************* /*******************************************************************
* *
* @author Daniel.Peintner.EXT@siemens.com * @author Daniel.Peintner.EXT@siemens.com
* @version 0.6 * @version 2012-01-31
* @contact Joerg.Heuer@siemens.com * @contact Joerg.Heuer@siemens.com
* *
* <p>Code generated by EXIdizer</p> * <p>Code generated by EXIdizer</p>

View file

@ -19,7 +19,7 @@
/******************************************************************* /*******************************************************************
* *
* @author Daniel.Peintner.EXT@siemens.com * @author Daniel.Peintner.EXT@siemens.com
* @version 0.6 * @version 2012-01-31
* @contact Joerg.Heuer@siemens.com * @contact Joerg.Heuer@siemens.com
* *
* <p>Code generated by EXIdizer</p> * <p>Code generated by EXIdizer</p>

View file

@ -19,7 +19,7 @@
/******************************************************************* /*******************************************************************
* *
* @author Daniel.Peintner.EXT@siemens.com * @author Daniel.Peintner.EXT@siemens.com
* @version 0.6 * @version 2012-01-31
* @contact Joerg.Heuer@siemens.com * @contact Joerg.Heuer@siemens.com
* *
* <p>Code generated by EXIdizer</p> * <p>Code generated by EXIdizer</p>

View file

@ -19,7 +19,7 @@
/******************************************************************* /*******************************************************************
* *
* @author Daniel.Peintner.EXT@siemens.com * @author Daniel.Peintner.EXT@siemens.com
* @version 0.6 * @version 2012-01-31
* @contact Joerg.Heuer@siemens.com * @contact Joerg.Heuer@siemens.com
* *
* <p>Code generated by EXIdizer</p> * <p>Code generated by EXIdizer</p>

View file

@ -19,7 +19,7 @@
/******************************************************************* /*******************************************************************
* *
* @author Daniel.Peintner.EXT@siemens.com * @author Daniel.Peintner.EXT@siemens.com
* @version 0.6 * @version 2012-01-31
* @contact Joerg.Heuer@siemens.com * @contact Joerg.Heuer@siemens.com
* *
* <p>Code generated by EXIdizer</p> * <p>Code generated by EXIdizer</p>

View file

@ -19,7 +19,7 @@
/******************************************************************* /*******************************************************************
* *
* @author Daniel.Peintner.EXT@siemens.com * @author Daniel.Peintner.EXT@siemens.com
* @version 0.6 * @version 2012-01-31
* @contact Joerg.Heuer@siemens.com * @contact Joerg.Heuer@siemens.com
* *
* <p>Code generated by EXIdizer</p> * <p>Code generated by EXIdizer</p>

View file

@ -19,7 +19,7 @@
/******************************************************************* /*******************************************************************
* *
* @author Daniel.Peintner.EXT@siemens.com * @author Daniel.Peintner.EXT@siemens.com
* @version 0.6 * @version 2012-01-31
* @contact Joerg.Heuer@siemens.com * @contact Joerg.Heuer@siemens.com
* *
* <p>Code generated by EXIdizer</p> * <p>Code generated by EXIdizer</p>

View file

@ -19,7 +19,7 @@
/******************************************************************* /*******************************************************************
* *
* @author Daniel.Peintner.EXT@siemens.com * @author Daniel.Peintner.EXT@siemens.com
* @version 0.6 * @version 2012-01-31
* @contact Joerg.Heuer@siemens.com * @contact Joerg.Heuer@siemens.com
* *
* <p>Code generated by EXIdizer</p> * <p>Code generated by EXIdizer</p>

View file

@ -19,7 +19,7 @@
/******************************************************************* /*******************************************************************
* *
* @author Daniel.Peintner.EXT@siemens.com * @author Daniel.Peintner.EXT@siemens.com
* @version 0.6 * @version 2012-01-31
* @contact Joerg.Heuer@siemens.com * @contact Joerg.Heuer@siemens.com
* *
* <p>Code generated by EXIdizer</p> * <p>Code generated by EXIdizer</p>

View file

@ -19,7 +19,7 @@
/******************************************************************* /*******************************************************************
* *
* @author Daniel.Peintner.EXT@siemens.com * @author Daniel.Peintner.EXT@siemens.com
* @version 0.6 * @version 2012-01-31
* @contact Joerg.Heuer@siemens.com * @contact Joerg.Heuer@siemens.com
* *
* <p>Code generated by EXIdizer</p> * <p>Code generated by EXIdizer</p>
@ -976,6 +976,10 @@ int exiMoveToElementContentRule(exi_state_t* state) {
/* FirstStartTag[START_ELEMENT({urn:iso:15118:2:2010:MsgBody}ResponseCode)] --> Element[START_ELEMENT({urn:iso:15118:2:2010:MsgBody}ResponseCode)] */ /* FirstStartTag[START_ELEMENT({urn:iso:15118:2:2010:MsgBody}ResponseCode)] --> Element[START_ELEMENT({urn:iso:15118:2:2010:MsgBody}ResponseCode)] */
state->grammarStack[state->stackIndex] = 394; state->grammarStack[state->stackIndex] = 394;
return 0; return 0;
case 92:
/* FirstStartTag[START_ELEMENT({urn:iso:15118:2:2010:MsgDataTypes}Certificate)] --> Element[START_ELEMENT({urn:iso:15118:2:2010:MsgDataTypes}Certificate)] */
state->grammarStack[state->stackIndex] = 98;
return 0;
case 534: case 534:
/* First(xsi:type)StartTag[CHARACTERS[INTEGER]] --> Element[CHARACTERS[INTEGER]] */ /* First(xsi:type)StartTag[CHARACTERS[INTEGER]] --> Element[CHARACTERS[INTEGER]] */
case 410: case 410:
@ -986,10 +990,6 @@ int exiMoveToElementContentRule(exi_state_t* state) {
/* First(xsi:type)StartTag[CHARACTERS[INTEGER]] --> Element[CHARACTERS[INTEGER]] */ /* First(xsi:type)StartTag[CHARACTERS[INTEGER]] --> Element[CHARACTERS[INTEGER]] */
state->grammarStack[state->stackIndex] = 243; state->grammarStack[state->stackIndex] = 243;
return 0; return 0;
case 92:
/* FirstStartTag[START_ELEMENT({urn:iso:15118:2:2010:MsgDataTypes}Certificate)] --> Element[START_ELEMENT({urn:iso:15118:2:2010:MsgDataTypes}Certificate)] */
state->grammarStack[state->stackIndex] = 98;
return 0;
case 82: case 82:
/* FirstStartTag[START_ELEMENT({urn:iso:15118:2:2010:MsgDataTypes}RootCertificateID)] --> Element[START_ELEMENT({urn:iso:15118:2:2010:MsgDataTypes}RootCertificateID)] */ /* FirstStartTag[START_ELEMENT({urn:iso:15118:2:2010:MsgDataTypes}RootCertificateID)] --> Element[START_ELEMENT({urn:iso:15118:2:2010:MsgDataTypes}RootCertificateID)] */
state->grammarStack[state->stackIndex] = 86; state->grammarStack[state->stackIndex] = 86;
@ -1400,6 +1400,8 @@ int exiMoveToElementContentRule(exi_state_t* state) {
/* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgBody}ResponseCode)] --> Element[START_ELEMENT({urn:iso:15118:2:2010:MsgBody}ResponseCode)] */ /* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgBody}ResponseCode)] --> Element[START_ELEMENT({urn:iso:15118:2:2010:MsgBody}ResponseCode)] */
case 62: case 62:
/* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgDataTypes}EVSEStatusCode)] --> Element[START_ELEMENT({urn:iso:15118:2:2010:MsgDataTypes}EVSEStatusCode)] */ /* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgDataTypes}EVSEStatusCode)] --> Element[START_ELEMENT({urn:iso:15118:2:2010:MsgDataTypes}EVSEStatusCode)] */
case 91:
/* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgBody}ContractSignatureEncryptedPrivateKey)] --> Element[START_ELEMENT({urn:iso:15118:2:2010:MsgBody}ContractSignatureEncryptedPrivateKey)] */
case 451: case 451:
/* Element[CHARACTERS[ENUMERATION]] --> Element[CHARACTERS[ENUMERATION]] */ /* Element[CHARACTERS[ENUMERATION]] --> Element[CHARACTERS[ENUMERATION]] */
case 500: case 500:
@ -1542,8 +1544,6 @@ int exiMoveToElementContentRule(exi_state_t* state) {
/* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgBody}DC_EVSEStatus)] --> Element[START_ELEMENT({urn:iso:15118:2:2010:MsgBody}DC_EVSEStatus)] */ /* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgBody}DC_EVSEStatus)] --> Element[START_ELEMENT({urn:iso:15118:2:2010:MsgBody}DC_EVSEStatus)] */
case 282: case 282:
/* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgDataTypes}BulkChargingComplete), START_ELEMENT({urn:iso:15118:2:2010:MsgDataTypes}ChargingComplete)] --> Element[START_ELEMENT({urn:iso:15118:2:2010:MsgDataTypes}BulkChargingComplete), START_ELEMENT({urn:iso:15118:2:2010:MsgDataTypes}ChargingComplete)] */ /* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgDataTypes}BulkChargingComplete), START_ELEMENT({urn:iso:15118:2:2010:MsgDataTypes}ChargingComplete)] --> Element[START_ELEMENT({urn:iso:15118:2:2010:MsgDataTypes}BulkChargingComplete), START_ELEMENT({urn:iso:15118:2:2010:MsgDataTypes}ChargingComplete)] */
case 51:
/* Element[END_ELEMENT] --> Element[END_ELEMENT] */
case 588: case 588:
/* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgHeader}SessionID)] --> Element[START_ELEMENT({urn:iso:15118:2:2010:MsgHeader}SessionID)] */ /* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgHeader}SessionID)] --> Element[START_ELEMENT({urn:iso:15118:2:2010:MsgHeader}SessionID)] */
case 610: case 610:
@ -1602,6 +1602,8 @@ int exiMoveToElementContentRule(exi_state_t* state) {
/* Element[CHARACTERS[DATETIME]] --> Element[CHARACTERS[DATETIME]] */ /* Element[CHARACTERS[DATETIME]] --> Element[CHARACTERS[DATETIME]] */
case 593: case 593:
/* Element[END_ELEMENT] --> Element[END_ELEMENT] */ /* Element[END_ELEMENT] --> Element[END_ELEMENT] */
case 126:
/* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgBody}ResponseCode)] --> Element[START_ELEMENT({urn:iso:15118:2:2010:MsgBody}ResponseCode)] */
case 172: case 172:
/* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgDataTypes}PMaxScheduleID)] --> Element[START_ELEMENT({urn:iso:15118:2:2010:MsgDataTypes}PMaxScheduleID)] */ /* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgDataTypes}PMaxScheduleID)] --> Element[START_ELEMENT({urn:iso:15118:2:2010:MsgDataTypes}PMaxScheduleID)] */
case 517: case 517:
@ -1674,6 +1676,8 @@ int exiMoveToElementContentRule(exi_state_t* state) {
/* Element[START_ELEMENT_GENERIC, END_ELEMENT, CHARACTERS_GENERIC[STRING]] --> Element[START_ELEMENT_GENERIC, END_ELEMENT, CHARACTERS_GENERIC[STRING]] */ /* Element[START_ELEMENT_GENERIC, END_ELEMENT, CHARACTERS_GENERIC[STRING]] --> Element[START_ELEMENT_GENERIC, END_ELEMENT, CHARACTERS_GENERIC[STRING]] */
case 206: case 206:
/* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgDataTypes}EVSEMaximumPowerLimit), START_ELEMENT({urn:iso:15118:2:2010:MsgDataTypes}EVSEMaximumVoltageLimit)] --> Element[START_ELEMENT({urn:iso:15118:2:2010:MsgDataTypes}EVSEMaximumPowerLimit), START_ELEMENT({urn:iso:15118:2:2010:MsgDataTypes}EVSEMaximumVoltageLimit)] */ /* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgDataTypes}EVSEMaximumPowerLimit), START_ELEMENT({urn:iso:15118:2:2010:MsgDataTypes}EVSEMaximumVoltageLimit)] --> Element[START_ELEMENT({urn:iso:15118:2:2010:MsgDataTypes}EVSEMaximumPowerLimit), START_ELEMENT({urn:iso:15118:2:2010:MsgDataTypes}EVSEMaximumVoltageLimit)] */
case 34:
/* Element[END_ELEMENT] --> Element[END_ELEMENT] */
case 112: case 112:
/* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgBody}ContractID)] --> Element[START_ELEMENT({urn:iso:15118:2:2010:MsgBody}ContractID)] */ /* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgBody}ContractID)] --> Element[START_ELEMENT({urn:iso:15118:2:2010:MsgBody}ContractID)] */
case 13: case 13:
@ -1682,6 +1686,8 @@ int exiMoveToElementContentRule(exi_state_t* state) {
/* Element[START_ELEMENT({http://www.w3.org/2000/09/xmldsig#}KeyName), START_ELEMENT({http://www.w3.org/2000/09/xmldsig#}KeyValue), START_ELEMENT({http://www.w3.org/2000/09/xmldsig#}RetrievalMethod), START_ELEMENT({http://www.w3.org/2000/09/xmldsig#}X509Data), START_ELEMENT({http://www.w3.org/2000/09/xmldsig#}PGPData), START_ELEMENT({http://www.w3.org/2000/09/xmldsig#}SPKIData), START_ELEMENT({http://www.w3.org/2000/09/xmldsig#}MgmtData), START_ELEMENT_GENERIC, CHARACTERS_GENERIC[STRING]] --> Element[START_ELEMENT({http://www.w3.org/2000/09/xmldsig#}KeyName), START_ELEMENT({http://www.w3.org/2000/09/xmldsig#}KeyValue), START_ELEMENT({http://www.w3.org/2000/09/xmldsig#}RetrievalMethod), START_ELEMENT({http://www.w3.org/2000/09/xmldsig#}X509Data), START_ELEMENT({http://www.w3.org/2000/09/xmldsig#}PGPData), START_ELEMENT({http://www.w3.org/2000/09/xmldsig#}SPKIData), START_ELEMENT({http://www.w3.org/2000/09/xmldsig#}MgmtData), START_ELEMENT_GENERIC, CHARACTERS_GENERIC[STRING]] */ /* Element[START_ELEMENT({http://www.w3.org/2000/09/xmldsig#}KeyName), START_ELEMENT({http://www.w3.org/2000/09/xmldsig#}KeyValue), START_ELEMENT({http://www.w3.org/2000/09/xmldsig#}RetrievalMethod), START_ELEMENT({http://www.w3.org/2000/09/xmldsig#}X509Data), START_ELEMENT({http://www.w3.org/2000/09/xmldsig#}PGPData), START_ELEMENT({http://www.w3.org/2000/09/xmldsig#}SPKIData), START_ELEMENT({http://www.w3.org/2000/09/xmldsig#}MgmtData), START_ELEMENT_GENERIC, CHARACTERS_GENERIC[STRING]] --> Element[START_ELEMENT({http://www.w3.org/2000/09/xmldsig#}KeyName), START_ELEMENT({http://www.w3.org/2000/09/xmldsig#}KeyValue), START_ELEMENT({http://www.w3.org/2000/09/xmldsig#}RetrievalMethod), START_ELEMENT({http://www.w3.org/2000/09/xmldsig#}X509Data), START_ELEMENT({http://www.w3.org/2000/09/xmldsig#}PGPData), START_ELEMENT({http://www.w3.org/2000/09/xmldsig#}SPKIData), START_ELEMENT({http://www.w3.org/2000/09/xmldsig#}MgmtData), START_ELEMENT_GENERIC, CHARACTERS_GENERIC[STRING]] */
case 557: case 557:
/* Element[START_ELEMENT({http://www.w3.org/2000/09/xmldsig#}KeyInfo), START_ELEMENT({http://www.w3.org/2000/09/xmldsig#}Object), END_ELEMENT] --> Element[START_ELEMENT({http://www.w3.org/2000/09/xmldsig#}KeyInfo), START_ELEMENT({http://www.w3.org/2000/09/xmldsig#}Object), END_ELEMENT] */ /* Element[START_ELEMENT({http://www.w3.org/2000/09/xmldsig#}KeyInfo), START_ELEMENT({http://www.w3.org/2000/09/xmldsig#}Object), END_ELEMENT] --> Element[START_ELEMENT({http://www.w3.org/2000/09/xmldsig#}KeyInfo), START_ELEMENT({http://www.w3.org/2000/09/xmldsig#}Object), END_ELEMENT] */
case 51:
/* Element[END_ELEMENT] --> Element[END_ELEMENT] */
case 343: case 343:
/* Element[START_ELEMENT({http://www.w3.org/2000/09/xmldsig#}X509SerialNumber)] --> Element[START_ELEMENT({http://www.w3.org/2000/09/xmldsig#}X509SerialNumber)] */ /* Element[START_ELEMENT({http://www.w3.org/2000/09/xmldsig#}X509SerialNumber)] --> Element[START_ELEMENT({http://www.w3.org/2000/09/xmldsig#}X509SerialNumber)] */
case 575: case 575:
@ -1798,8 +1804,6 @@ int exiMoveToElementContentRule(exi_state_t* state) {
/* Element[CHARACTERS[STRING]] --> Element[CHARACTERS[STRING]] */ /* Element[CHARACTERS[STRING]] --> Element[CHARACTERS[STRING]] */
case 419: case 419:
/* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgDataTypes}ChargingProfileEntryMaxPower)] --> Element[START_ELEMENT({urn:iso:15118:2:2010:MsgDataTypes}ChargingProfileEntryMaxPower)] */ /* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgDataTypes}ChargingProfileEntryMaxPower)] --> Element[START_ELEMENT({urn:iso:15118:2:2010:MsgDataTypes}ChargingProfileEntryMaxPower)] */
case 91:
/* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgBody}ContractSignatureEncryptedPrivateKey)] --> Element[START_ELEMENT({urn:iso:15118:2:2010:MsgBody}ContractSignatureEncryptedPrivateKey)] */
case 531: case 531:
/* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgBody}EVSEID)] --> Element[START_ELEMENT({urn:iso:15118:2:2010:MsgBody}EVSEID)] */ /* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgBody}EVSEID)] --> Element[START_ELEMENT({urn:iso:15118:2:2010:MsgBody}EVSEID)] */
case 321: case 321:
@ -1968,8 +1972,6 @@ int exiMoveToElementContentRule(exi_state_t* state) {
/* Element[START_ELEMENT({http://www.w3.org/2000/09/xmldsig#}XPath), START_ELEMENT_GENERIC, END_ELEMENT, CHARACTERS_GENERIC[STRING]] --> Element[START_ELEMENT({http://www.w3.org/2000/09/xmldsig#}XPath), START_ELEMENT_GENERIC, END_ELEMENT, CHARACTERS_GENERIC[STRING]] */ /* Element[START_ELEMENT({http://www.w3.org/2000/09/xmldsig#}XPath), START_ELEMENT_GENERIC, END_ELEMENT, CHARACTERS_GENERIC[STRING]] --> Element[START_ELEMENT({http://www.w3.org/2000/09/xmldsig#}XPath), START_ELEMENT_GENERIC, END_ELEMENT, CHARACTERS_GENERIC[STRING]] */
case 46: case 46:
/* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgDataTypes}EVRESSConditioning), START_ELEMENT({urn:iso:15118:2:2010:MsgDataTypes}EVErrorCode)] --> Element[START_ELEMENT({urn:iso:15118:2:2010:MsgDataTypes}EVRESSConditioning), START_ELEMENT({urn:iso:15118:2:2010:MsgDataTypes}EVErrorCode)] */ /* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgDataTypes}EVRESSConditioning), START_ELEMENT({urn:iso:15118:2:2010:MsgDataTypes}EVErrorCode)] --> Element[START_ELEMENT({urn:iso:15118:2:2010:MsgDataTypes}EVRESSConditioning), START_ELEMENT({urn:iso:15118:2:2010:MsgDataTypes}EVErrorCode)] */
case 153:
/* Element[CHARACTERS[INTEGER]] --> Element[CHARACTERS[INTEGER]] */
case 262: case 262:
/* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgBody}BulkChargingComplete), START_ELEMENT({urn:iso:15118:2:2010:MsgBody}ChargingComplete)] --> Element[START_ELEMENT({urn:iso:15118:2:2010:MsgBody}BulkChargingComplete), START_ELEMENT({urn:iso:15118:2:2010:MsgBody}ChargingComplete)] */ /* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgBody}BulkChargingComplete), START_ELEMENT({urn:iso:15118:2:2010:MsgBody}ChargingComplete)] --> Element[START_ELEMENT({urn:iso:15118:2:2010:MsgBody}BulkChargingComplete), START_ELEMENT({urn:iso:15118:2:2010:MsgBody}ChargingComplete)] */
case 237: case 237:
@ -2124,8 +2126,6 @@ int exiMoveToElementContentRule(exi_state_t* state) {
/* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgDataTypes}SalesTariffEntry), END_ELEMENT] --> Element[START_ELEMENT({urn:iso:15118:2:2010:MsgDataTypes}SalesTariffEntry), END_ELEMENT] */ /* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgDataTypes}SalesTariffEntry), END_ELEMENT] --> Element[START_ELEMENT({urn:iso:15118:2:2010:MsgDataTypes}SalesTariffEntry), END_ELEMENT] */
case 516: case 516:
/* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgDataTypes}ParameterSetID), END_ELEMENT] --> Element[START_ELEMENT({urn:iso:15118:2:2010:MsgDataTypes}ParameterSetID), END_ELEMENT] */ /* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgDataTypes}ParameterSetID), END_ELEMENT] --> Element[START_ELEMENT({urn:iso:15118:2:2010:MsgDataTypes}ParameterSetID), END_ELEMENT] */
case 126:
/* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgBody}ResponseCode)] --> Element[START_ELEMENT({urn:iso:15118:2:2010:MsgBody}ResponseCode)] */
case 120: case 120:
/* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgBody}ContractEncryptionEncryptedPrivateKey)] --> Element[START_ELEMENT({urn:iso:15118:2:2010:MsgBody}ContractEncryptionEncryptedPrivateKey)] */ /* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgBody}ContractEncryptionEncryptedPrivateKey)] --> Element[START_ELEMENT({urn:iso:15118:2:2010:MsgBody}ContractEncryptionEncryptedPrivateKey)] */
case 394: case 394:
@ -2134,8 +2134,6 @@ int exiMoveToElementContentRule(exi_state_t* state) {
/* Element[CHARACTERS[ENUMERATION]] --> Element[CHARACTERS[ENUMERATION]] */ /* Element[CHARACTERS[ENUMERATION]] --> Element[CHARACTERS[ENUMERATION]] */
case 602: case 602:
/* Element[START_ELEMENT_GENERIC, END_ELEMENT, CHARACTERS_GENERIC[STRING]] --> Element[START_ELEMENT_GENERIC, END_ELEMENT, CHARACTERS_GENERIC[STRING]] */ /* Element[START_ELEMENT_GENERIC, END_ELEMENT, CHARACTERS_GENERIC[STRING]] --> Element[START_ELEMENT_GENERIC, END_ELEMENT, CHARACTERS_GENERIC[STRING]] */
case 34:
/* Element[END_ELEMENT] --> Element[END_ELEMENT] */
case 59: case 59:
/* Element[CHARACTERS[ENUMERATION]] --> Element[CHARACTERS[ENUMERATION]] */ /* Element[CHARACTERS[ENUMERATION]] --> Element[CHARACTERS[ENUMERATION]] */
case 457: case 457:
@ -2170,6 +2168,8 @@ int exiMoveToElementContentRule(exi_state_t* state) {
/* Element[START_ELEMENT({http://www.w3.org/2000/09/xmldsig#}Transform), END_ELEMENT] --> Element[START_ELEMENT({http://www.w3.org/2000/09/xmldsig#}Transform), END_ELEMENT] */ /* Element[START_ELEMENT({http://www.w3.org/2000/09/xmldsig#}Transform), END_ELEMENT] --> Element[START_ELEMENT({http://www.w3.org/2000/09/xmldsig#}Transform), END_ELEMENT] */
case 594: case 594:
/* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgBody}DC_EVStatus)] --> Element[START_ELEMENT({urn:iso:15118:2:2010:MsgBody}DC_EVStatus)] */ /* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgBody}DC_EVStatus)] --> Element[START_ELEMENT({urn:iso:15118:2:2010:MsgBody}DC_EVStatus)] */
case 153:
/* Element[CHARACTERS[INTEGER]] --> Element[CHARACTERS[INTEGER]] */
case 151: case 151:
/* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgDataTypes}PMaxSchedule)] --> Element[START_ELEMENT({urn:iso:15118:2:2010:MsgDataTypes}PMaxSchedule)] */ /* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgDataTypes}PMaxSchedule)] --> Element[START_ELEMENT({urn:iso:15118:2:2010:MsgDataTypes}PMaxSchedule)] */
case 261: case 261:

View file

@ -19,7 +19,7 @@
/******************************************************************* /*******************************************************************
* *
* @author Daniel.Peintner.EXT@siemens.com * @author Daniel.Peintner.EXT@siemens.com
* @version 0.6 * @version 2012-01-31
* @contact Joerg.Heuer@siemens.com * @contact Joerg.Heuer@siemens.com
* *
* <p>Code generated by EXIdizer</p> * <p>Code generated by EXIdizer</p>

View file

@ -19,7 +19,7 @@
/******************************************************************* /*******************************************************************
* *
* @author Daniel.Peintner.EXT@siemens.com * @author Daniel.Peintner.EXT@siemens.com
* @version 0.6 * @version 2012-01-31
* @contact Joerg.Heuer@siemens.com * @contact Joerg.Heuer@siemens.com
* *
* <p>Code generated by EXIdizer</p> * <p>Code generated by EXIdizer</p>
@ -159,6 +159,8 @@ static int exiDecodeNext2Event(bitstream_t* stream, exi_state_t* state,
/* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgBody}ResponseCode)] */ /* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgBody}ResponseCode)] */
case 62: case 62:
/* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgDataTypes}EVSEStatusCode)] */ /* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgDataTypes}EVSEStatusCode)] */
case 91:
/* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgBody}ContractSignatureEncryptedPrivateKey)] */
case 451: case 451:
/* Element[CHARACTERS[ENUMERATION]] */ /* Element[CHARACTERS[ENUMERATION]] */
case 253: case 253:
@ -285,6 +287,8 @@ static int exiDecodeNext2Event(bitstream_t* stream, exi_state_t* state,
/* Element[CHARACTERS[ENUMERATION]] */ /* Element[CHARACTERS[ENUMERATION]] */
case 654: case 654:
/* Element[CHARACTERS[DATETIME]] */ /* Element[CHARACTERS[DATETIME]] */
case 126:
/* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgBody}ResponseCode)] */
case 172: case 172:
/* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgDataTypes}PMaxScheduleID)] */ /* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgDataTypes}PMaxScheduleID)] */
case 36: case 36:
@ -429,8 +433,6 @@ static int exiDecodeNext2Event(bitstream_t* stream, exi_state_t* state,
/* Element[CHARACTERS[STRING]] */ /* Element[CHARACTERS[STRING]] */
case 419: case 419:
/* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgDataTypes}ChargingProfileEntryMaxPower)] */ /* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgDataTypes}ChargingProfileEntryMaxPower)] */
case 91:
/* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgBody}ContractSignatureEncryptedPrivateKey)] */
case 531: case 531:
/* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgBody}EVSEID)] */ /* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgBody}EVSEID)] */
case 321: case 321:
@ -523,8 +525,6 @@ static int exiDecodeNext2Event(bitstream_t* stream, exi_state_t* state,
/* Element[START_ELEMENT({http://www.w3.org/2000/09/xmldsig#}Transform)] */ /* Element[START_ELEMENT({http://www.w3.org/2000/09/xmldsig#}Transform)] */
case 46: case 46:
/* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgDataTypes}EVRESSConditioning), START_ELEMENT({urn:iso:15118:2:2010:MsgDataTypes}EVErrorCode)] */ /* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgDataTypes}EVRESSConditioning), START_ELEMENT({urn:iso:15118:2:2010:MsgDataTypes}EVErrorCode)] */
case 153:
/* Element[CHARACTERS[INTEGER]] */
case 262: case 262:
/* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgBody}BulkChargingComplete), START_ELEMENT({urn:iso:15118:2:2010:MsgBody}ChargingComplete)] */ /* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgBody}BulkChargingComplete), START_ELEMENT({urn:iso:15118:2:2010:MsgBody}ChargingComplete)] */
case 237: case 237:
@ -619,8 +619,6 @@ static int exiDecodeNext2Event(bitstream_t* stream, exi_state_t* state,
/* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgDataTypes}ServiceID)] */ /* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgDataTypes}ServiceID)] */
case 64: case 64:
/* Element[CHARACTERS[ENUMERATION]] */ /* Element[CHARACTERS[ENUMERATION]] */
case 126:
/* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgBody}ResponseCode)] */
case 120: case 120:
/* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgBody}ContractEncryptionEncryptedPrivateKey)] */ /* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgBody}ContractEncryptionEncryptedPrivateKey)] */
case 394: case 394:
@ -643,6 +641,8 @@ static int exiDecodeNext2Event(bitstream_t* stream, exi_state_t* state,
/* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgBody}EVRequestedEnergyTransferType)] */ /* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgBody}EVRequestedEnergyTransferType)] */
case 594: case 594:
/* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgBody}DC_EVStatus)] */ /* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgBody}DC_EVStatus)] */
case 153:
/* Element[CHARACTERS[INTEGER]] */
case 151: case 151:
/* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgDataTypes}PMaxSchedule)] */ /* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgDataTypes}PMaxSchedule)] */
case 261: case 261:
@ -778,8 +778,6 @@ static int exiDecodeNext2Event(bitstream_t* stream, exi_state_t* state,
/* Element[END_ELEMENT] */ /* Element[END_ELEMENT] */
case 277: case 277:
/* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgBody}EVSEMaximumCurrentLimit), START_ELEMENT({urn:iso:15118:2:2010:MsgBody}EVSEMaximumPowerLimit), END_ELEMENT] */ /* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgBody}EVSEMaximumCurrentLimit), START_ELEMENT({urn:iso:15118:2:2010:MsgBody}EVSEMaximumPowerLimit), END_ELEMENT] */
case 51:
/* Element[END_ELEMENT] */
case 443: case 443:
/* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgDataTypes}ServiceName), START_ELEMENT({urn:iso:15118:2:2010:MsgDataTypes}ServiceCategory), START_ELEMENT({urn:iso:15118:2:2010:MsgDataTypes}ServiceScope), END_ELEMENT] */ /* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgDataTypes}ServiceName), START_ELEMENT({urn:iso:15118:2:2010:MsgDataTypes}ServiceCategory), START_ELEMENT({urn:iso:15118:2:2010:MsgDataTypes}ServiceScope), END_ELEMENT] */
case 562: case 562:
@ -824,8 +822,12 @@ static int exiDecodeNext2Event(bitstream_t* stream, exi_state_t* state,
/* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgDef}BodyElement), START_ELEMENT({urn:iso:15118:2:2010:MsgBody}CableCheckReq), START_ELEMENT({urn:iso:15118:2:2010:MsgBody}CableCheckRes), START_ELEMENT({urn:iso:15118:2:2010:MsgBody}CertificateInstallationReq), START_ELEMENT({urn:iso:15118:2:2010:MsgBody}CertificateInstallationRes), START_ELEMENT({urn:iso:15118:2:2010:MsgBody}CertificateUpdateReq), START_ELEMENT({urn:iso:15118:2:2010:MsgBody}CertificateUpdateRes), START_ELEMENT({urn:iso:15118:2:2010:MsgBody}ChargeParameterDiscoveryReq), START_ELEMENT({urn:iso:15118:2:2010:MsgBody}ChargeParameterDiscoveryRes), START_ELEMENT({urn:iso:15118:2:2010:MsgBody}ChargingStatusReq), START_ELEMENT({urn:iso:15118:2:2010:MsgBody}ChargingStatusRes), START_ELEMENT({urn:iso:15118:2:2010:MsgBody}ContractAuthenticationReq), START_ELEMENT({urn:iso:15118:2:2010:MsgBody}ContractAuthenticationRes), START_ELEMENT({urn:iso:15118:2:2010:MsgBody}CurrentDemandReq), START_ELEMENT({urn:iso:15118:2:2010:MsgBody}CurrentDemandRes), START_ELEMENT({urn:iso:15118:2:2010:MsgBody}MeteringReceiptReq), START_ELEMENT({urn:iso:15118:2:2010:MsgBody}MeteringReceiptRes), START_ELEMENT({urn:iso:15118:2:2010:MsgBody}PaymentDetailsReq), START_ELEMENT({urn:iso:15118:2:2010:MsgBody}PaymentDetailsRes), START_ELEMENT({urn:iso:15118:2:2010:MsgBody}PowerDeliveryReq), START_ELEMENT({urn:iso:15118:2:2010:MsgBody}PowerDeliveryRes), START_ELEMENT({urn:iso:15118:2:2010:MsgBody}PreChargeReq), START_ELEMENT({urn:iso:15118:2:2010:MsgBody}PreChargeRes), START_ELEMENT({urn:iso:15118:2:2010:MsgBody}ServiceDetailReq), START_ELEMENT({urn:iso:15118:2:2010:MsgBody}ServiceDetailRes), START_ELEMENT({urn:iso:15118:2:2010:MsgBody}ServiceDiscoveryReq), START_ELEMENT({urn:iso:15118:2:2010:MsgBody}ServiceDiscoveryRes), START_ELEMENT({urn:iso:15118:2:2010:MsgBody}ServicePaymentSelectionReq), START_ELEMENT({urn:iso:15118:2:2010:MsgBody}ServicePaymentSelectionRes), START_ELEMENT({urn:iso:15118:2:2010:MsgBody}SessionSetupReq), START_ELEMENT({urn:iso:15118:2:2010:MsgBody}SessionSetupRes), START_ELEMENT({urn:iso:15118:2:2010:MsgBody}SessionStopReq), START_ELEMENT({urn:iso:15118:2:2010:MsgBody}SessionStopRes), START_ELEMENT({urn:iso:15118:2:2010:MsgBody}WeldingDetectionReq), START_ELEMENT({urn:iso:15118:2:2010:MsgBody}WeldingDetectionRes), END_ELEMENT] */ /* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgDef}BodyElement), START_ELEMENT({urn:iso:15118:2:2010:MsgBody}CableCheckReq), START_ELEMENT({urn:iso:15118:2:2010:MsgBody}CableCheckRes), START_ELEMENT({urn:iso:15118:2:2010:MsgBody}CertificateInstallationReq), START_ELEMENT({urn:iso:15118:2:2010:MsgBody}CertificateInstallationRes), START_ELEMENT({urn:iso:15118:2:2010:MsgBody}CertificateUpdateReq), START_ELEMENT({urn:iso:15118:2:2010:MsgBody}CertificateUpdateRes), START_ELEMENT({urn:iso:15118:2:2010:MsgBody}ChargeParameterDiscoveryReq), START_ELEMENT({urn:iso:15118:2:2010:MsgBody}ChargeParameterDiscoveryRes), START_ELEMENT({urn:iso:15118:2:2010:MsgBody}ChargingStatusReq), START_ELEMENT({urn:iso:15118:2:2010:MsgBody}ChargingStatusRes), START_ELEMENT({urn:iso:15118:2:2010:MsgBody}ContractAuthenticationReq), START_ELEMENT({urn:iso:15118:2:2010:MsgBody}ContractAuthenticationRes), START_ELEMENT({urn:iso:15118:2:2010:MsgBody}CurrentDemandReq), START_ELEMENT({urn:iso:15118:2:2010:MsgBody}CurrentDemandRes), START_ELEMENT({urn:iso:15118:2:2010:MsgBody}MeteringReceiptReq), START_ELEMENT({urn:iso:15118:2:2010:MsgBody}MeteringReceiptRes), START_ELEMENT({urn:iso:15118:2:2010:MsgBody}PaymentDetailsReq), START_ELEMENT({urn:iso:15118:2:2010:MsgBody}PaymentDetailsRes), START_ELEMENT({urn:iso:15118:2:2010:MsgBody}PowerDeliveryReq), START_ELEMENT({urn:iso:15118:2:2010:MsgBody}PowerDeliveryRes), START_ELEMENT({urn:iso:15118:2:2010:MsgBody}PreChargeReq), START_ELEMENT({urn:iso:15118:2:2010:MsgBody}PreChargeRes), START_ELEMENT({urn:iso:15118:2:2010:MsgBody}ServiceDetailReq), START_ELEMENT({urn:iso:15118:2:2010:MsgBody}ServiceDetailRes), START_ELEMENT({urn:iso:15118:2:2010:MsgBody}ServiceDiscoveryReq), START_ELEMENT({urn:iso:15118:2:2010:MsgBody}ServiceDiscoveryRes), START_ELEMENT({urn:iso:15118:2:2010:MsgBody}ServicePaymentSelectionReq), START_ELEMENT({urn:iso:15118:2:2010:MsgBody}ServicePaymentSelectionRes), START_ELEMENT({urn:iso:15118:2:2010:MsgBody}SessionSetupReq), START_ELEMENT({urn:iso:15118:2:2010:MsgBody}SessionSetupRes), START_ELEMENT({urn:iso:15118:2:2010:MsgBody}SessionStopReq), START_ELEMENT({urn:iso:15118:2:2010:MsgBody}SessionStopRes), START_ELEMENT({urn:iso:15118:2:2010:MsgBody}WeldingDetectionReq), START_ELEMENT({urn:iso:15118:2:2010:MsgBody}WeldingDetectionRes), END_ELEMENT] */
case 300: case 300:
/* Element[START_ELEMENT_GENERIC, END_ELEMENT, CHARACTERS_GENERIC[STRING]] */ /* Element[START_ELEMENT_GENERIC, END_ELEMENT, CHARACTERS_GENERIC[STRING]] */
case 34:
/* Element[END_ELEMENT] */
case 557: case 557:
/* Element[START_ELEMENT({http://www.w3.org/2000/09/xmldsig#}KeyInfo), START_ELEMENT({http://www.w3.org/2000/09/xmldsig#}Object), END_ELEMENT] */ /* Element[START_ELEMENT({http://www.w3.org/2000/09/xmldsig#}KeyInfo), START_ELEMENT({http://www.w3.org/2000/09/xmldsig#}Object), END_ELEMENT] */
case 51:
/* Element[END_ELEMENT] */
case 322: case 322:
/* Element[END_ELEMENT] */ /* Element[END_ELEMENT] */
case 93: case 93:
@ -986,8 +988,6 @@ static int exiDecodeNext2Event(bitstream_t* stream, exi_state_t* state,
/* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgDataTypes}ParameterSetID), END_ELEMENT] */ /* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgDataTypes}ParameterSetID), END_ELEMENT] */
case 602: case 602:
/* Element[START_ELEMENT_GENERIC, END_ELEMENT, CHARACTERS_GENERIC[STRING]] */ /* Element[START_ELEMENT_GENERIC, END_ELEMENT, CHARACTERS_GENERIC[STRING]] */
case 34:
/* Element[END_ELEMENT] */
case 457: case 457:
/* Element[END_ELEMENT] */ /* Element[END_ELEMENT] */
case 307: case 307:
@ -1239,8 +1239,6 @@ static int exiDecodeNext2Event(bitstream_t* stream, exi_state_t* state,
/* FirstStartTag[CHARACTERS[ENUMERATION]] */ /* FirstStartTag[CHARACTERS[ENUMERATION]] */
case 603: case 603:
/* FirstStartTag[CHARACTERS[LIST]] */ /* FirstStartTag[CHARACTERS[LIST]] */
case 92:
/* FirstStartTag[START_ELEMENT({urn:iso:15118:2:2010:MsgDataTypes}Certificate)] */
case 371: case 371:
/* FirstStartTag[ATTRIBUTE[STRING](Id), START_ELEMENT({http://www.w3.org/2000/09/xmldsig#}Reference)] */ /* FirstStartTag[ATTRIBUTE[STRING](Id), START_ELEMENT({http://www.w3.org/2000/09/xmldsig#}Reference)] */
case 518: case 518:
@ -1285,6 +1283,8 @@ static int exiDecodeNext2Event(bitstream_t* stream, exi_state_t* state,
/* FirstStartTag[START_ELEMENT({http://www.w3.org/2000/09/xmldsig#}PGPKeyID), START_ELEMENT({http://www.w3.org/2000/09/xmldsig#}PGPKeyPacket)] */ /* FirstStartTag[START_ELEMENT({http://www.w3.org/2000/09/xmldsig#}PGPKeyID), START_ELEMENT({http://www.w3.org/2000/09/xmldsig#}PGPKeyPacket)] */
case 678: case 678:
/* FirstStartTag[CHARACTERS[UNSIGNED_INTEGER]] */ /* FirstStartTag[CHARACTERS[UNSIGNED_INTEGER]] */
case 52:
/* FirstStartTag[CHARACTERS[NBIT_UNSIGNED_INTEGER]] */
case 104: case 104:
/* FirstStartTag[CHARACTERS[BINARY_BASE64]] */ /* FirstStartTag[CHARACTERS[BINARY_BASE64]] */
case 116: case 116:
@ -1411,6 +1411,8 @@ static int exiDecodeNext2Event(bitstream_t* stream, exi_state_t* state,
/* First(xsi:type)StartTag[CHARACTERS[STRING]] */ /* First(xsi:type)StartTag[CHARACTERS[STRING]] */
case 480: case 480:
/* First(xsi:type)StartTag[CHARACTERS[INTEGER]] */ /* First(xsi:type)StartTag[CHARACTERS[INTEGER]] */
case 92:
/* FirstStartTag[START_ELEMENT({urn:iso:15118:2:2010:MsgDataTypes}Certificate)] */
case 651: case 651:
/* FirstStartTag[CHARACTERS[DATETIME]] */ /* FirstStartTag[CHARACTERS[DATETIME]] */
case 342: case 342:
@ -1539,8 +1541,6 @@ static int exiDecodeNext2Event(bitstream_t* stream, exi_state_t* state,
/* FirstStartTag[START_ELEMENT({urn:iso:15118:2:2010:MsgDataTypes}ServiceID)] */ /* FirstStartTag[START_ELEMENT({urn:iso:15118:2:2010:MsgDataTypes}ServiceID)] */
case 230: case 230:
/* FirstStartTag[START_ELEMENT({urn:iso:15118:2:2010:MsgDataTypes}MeterID)] */ /* FirstStartTag[START_ELEMENT({urn:iso:15118:2:2010:MsgDataTypes}MeterID)] */
case 52:
/* FirstStartTag[CHARACTERS[NBIT_UNSIGNED_INTEGER]] */
case 82: case 82:
/* FirstStartTag[START_ELEMENT({urn:iso:15118:2:2010:MsgDataTypes}RootCertificateID)] */ /* FirstStartTag[START_ELEMENT({urn:iso:15118:2:2010:MsgDataTypes}RootCertificateID)] */
case 623: case 623:
@ -1792,6 +1792,8 @@ int exiDecodeNextEvent(bitstream_t* stream, exi_state_t* state,
/* Element[CHARACTERS[BINARY_BASE64]] */ /* Element[CHARACTERS[BINARY_BASE64]] */
case 678: case 678:
/* FirstStartTag[CHARACTERS[UNSIGNED_INTEGER]] */ /* FirstStartTag[CHARACTERS[UNSIGNED_INTEGER]] */
case 52:
/* FirstStartTag[CHARACTERS[NBIT_UNSIGNED_INTEGER]] */
case 104: case 104:
/* FirstStartTag[CHARACTERS[BINARY_BASE64]] */ /* FirstStartTag[CHARACTERS[BINARY_BASE64]] */
case 610: case 610:
@ -1996,8 +1998,6 @@ int exiDecodeNextEvent(bitstream_t* stream, exi_state_t* state,
/* FirstStartTag[CHARACTERS[STRING]] */ /* FirstStartTag[CHARACTERS[STRING]] */
case 189: case 189:
/* First(xsi:type)StartTag[CHARACTERS[UNSIGNED_INTEGER]] */ /* First(xsi:type)StartTag[CHARACTERS[UNSIGNED_INTEGER]] */
case 153:
/* Element[CHARACTERS[INTEGER]] */
case 237: case 237:
/* Element[CHARACTERS[BINARY_BASE64]] */ /* Element[CHARACTERS[BINARY_BASE64]] */
case 347: case 347:
@ -2048,8 +2048,6 @@ int exiDecodeNextEvent(bitstream_t* stream, exi_state_t* state,
/* FirstStartTag[CHARACTERS[UNSIGNED_INTEGER]] */ /* FirstStartTag[CHARACTERS[UNSIGNED_INTEGER]] */
case 616: case 616:
/* Element[CHARACTERS[STRING]] */ /* Element[CHARACTERS[STRING]] */
case 52:
/* FirstStartTag[CHARACTERS[NBIT_UNSIGNED_INTEGER]] */
case 623: case 623:
/* FirstStartTag[CHARACTERS[STRING]] */ /* FirstStartTag[CHARACTERS[STRING]] */
case 5: case 5:
@ -2066,6 +2064,8 @@ int exiDecodeNextEvent(bitstream_t* stream, exi_state_t* state,
/* Element[CHARACTERS[ENUMERATION]] */ /* Element[CHARACTERS[ENUMERATION]] */
case 447: case 447:
/* FirstStartTag[CHARACTERS[STRING]] */ /* FirstStartTag[CHARACTERS[STRING]] */
case 153:
/* Element[CHARACTERS[INTEGER]] */
case 125: case 125:
/* First(xsi:type)StartTag[CHARACTERS[INTEGER]] */ /* First(xsi:type)StartTag[CHARACTERS[INTEGER]] */
case 647: case 647:
@ -2911,6 +2911,8 @@ int exiDecodeNextEvent(bitstream_t* stream, exi_state_t* state,
/* StartTag[START_ELEMENT({urn:iso:15118:2:2010:MsgBody}SessionID)] */ /* StartTag[START_ELEMENT({urn:iso:15118:2:2010:MsgBody}SessionID)] */
case 62: case 62:
/* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgDataTypes}EVSEStatusCode)] */ /* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgDataTypes}EVSEStatusCode)] */
case 91:
/* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgBody}ContractSignatureEncryptedPrivateKey)] */
case 253: case 253:
/* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgBody}GenChallenge)] */ /* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgBody}GenChallenge)] */
case 390: case 390:
@ -2941,8 +2943,6 @@ int exiDecodeNextEvent(bitstream_t* stream, exi_state_t* state,
/* Element[START_ELEMENT({http://www.w3.org/2000/09/xmldsig#}SignatureValue)] */ /* Element[START_ELEMENT({http://www.w3.org/2000/09/xmldsig#}SignatureValue)] */
case 219: case 219:
/* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgBody}ResponseCode)] */ /* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgBody}ResponseCode)] */
case 92:
/* FirstStartTag[START_ELEMENT({urn:iso:15118:2:2010:MsgDataTypes}Certificate)] */
case 42: case 42:
/* FirstStartTag[START_ELEMENT({urn:iso:15118:2:2010:MsgBody}DC_EVStatus)] */ /* FirstStartTag[START_ELEMENT({urn:iso:15118:2:2010:MsgBody}DC_EVStatus)] */
case 55: case 55:
@ -3021,6 +3021,8 @@ int exiDecodeNextEvent(bitstream_t* stream, exi_state_t* state,
/* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgBody}SelectedPaymentOption)] */ /* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgBody}SelectedPaymentOption)] */
case 391: case 391:
/* FirstStartTag[START_ELEMENT({urn:iso:15118:2:2010:MsgBody}ResponseCode)] */ /* FirstStartTag[START_ELEMENT({urn:iso:15118:2:2010:MsgBody}ResponseCode)] */
case 126:
/* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgBody}ResponseCode)] */
case 172: case 172:
/* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgDataTypes}PMaxScheduleID)] */ /* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgDataTypes}PMaxScheduleID)] */
case 36: case 36:
@ -3135,8 +3137,8 @@ int exiDecodeNextEvent(bitstream_t* stream, exi_state_t* state,
/* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgBody}ResponseCode)] */ /* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgBody}ResponseCode)] */
case 419: case 419:
/* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgDataTypes}ChargingProfileEntryMaxPower)] */ /* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgDataTypes}ChargingProfileEntryMaxPower)] */
case 91: case 92:
/* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgBody}ContractSignatureEncryptedPrivateKey)] */ /* FirstStartTag[START_ELEMENT({urn:iso:15118:2:2010:MsgDataTypes}Certificate)] */
case 531: case 531:
/* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgBody}EVSEID)] */ /* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgBody}EVSEID)] */
case 321: case 321:
@ -3303,8 +3305,6 @@ int exiDecodeNextEvent(bitstream_t* stream, exi_state_t* state,
/* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgDataTypes}ServiceID)] */ /* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgDataTypes}ServiceID)] */
case 269: case 269:
/* FirstStartTag[START_ELEMENT({urn:iso:15118:2:2010:MsgBody}ResponseCode)] */ /* FirstStartTag[START_ELEMENT({urn:iso:15118:2:2010:MsgBody}ResponseCode)] */
case 126:
/* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgBody}ResponseCode)] */
case 120: case 120:
/* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgBody}ContractEncryptionEncryptedPrivateKey)] */ /* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgBody}ContractEncryptionEncryptedPrivateKey)] */
case 394: case 394:
@ -3610,8 +3610,6 @@ int exiDecodeNextEvent(bitstream_t* stream, exi_state_t* state,
/* Element[END_ELEMENT] */ /* Element[END_ELEMENT] */
case 477: case 477:
/* Element[END_ELEMENT] */ /* Element[END_ELEMENT] */
case 51:
/* Element[END_ELEMENT] */
case 305: case 305:
/* Element[END_ELEMENT] */ /* Element[END_ELEMENT] */
case 131: case 131:
@ -3638,10 +3636,14 @@ int exiDecodeNextEvent(bitstream_t* stream, exi_state_t* state,
/* Element[END_ELEMENT] */ /* Element[END_ELEMENT] */
case 308: case 308:
/* First(xsi:type)StartTag[END_ELEMENT] */ /* First(xsi:type)StartTag[END_ELEMENT] */
case 34:
/* Element[END_ELEMENT] */
case 689: case 689:
/* FirstStartTag[END_ELEMENT] */ /* FirstStartTag[END_ELEMENT] */
case 40: case 40:
/* First(xsi:type)StartTag[END_ELEMENT] */ /* First(xsi:type)StartTag[END_ELEMENT] */
case 51:
/* Element[END_ELEMENT] */
case 322: case 322:
/* Element[END_ELEMENT] */ /* Element[END_ELEMENT] */
case 169: case 169:
@ -3736,8 +3738,6 @@ int exiDecodeNextEvent(bitstream_t* stream, exi_state_t* state,
/* Element[END_ELEMENT] */ /* Element[END_ELEMENT] */
case 589: case 589:
/* Element[END_ELEMENT] */ /* Element[END_ELEMENT] */
case 34:
/* Element[END_ELEMENT] */
case 536: case 536:
/* FirstStartTag[END_ELEMENT] */ /* FirstStartTag[END_ELEMENT] */
case 457: case 457:

View file

@ -19,7 +19,7 @@
/******************************************************************* /*******************************************************************
* *
* @author Daniel.Peintner.EXT@siemens.com * @author Daniel.Peintner.EXT@siemens.com
* @version 0.6 * @version 2012-01-31
* @contact Joerg.Heuer@siemens.com * @contact Joerg.Heuer@siemens.com
* *
* <p>Code generated by EXIdizer</p> * <p>Code generated by EXIdizer</p>

View file

@ -19,7 +19,7 @@
/******************************************************************* /*******************************************************************
* *
* @author Daniel.Peintner.EXT@siemens.com * @author Daniel.Peintner.EXT@siemens.com
* @version 0.6 * @version 2012-01-31
* @contact Joerg.Heuer@siemens.com * @contact Joerg.Heuer@siemens.com
* *
* <p>Code generated by EXIdizer</p> * <p>Code generated by EXIdizer</p>
@ -4661,8 +4661,6 @@ static int _exiEncodeEndElementUndeclared(bitstream_t* stream, exi_state_t* stat
/* FirstStartTag[CHARACTERS[ENUMERATION]] */ /* FirstStartTag[CHARACTERS[ENUMERATION]] */
case 603: case 603:
/* FirstStartTag[CHARACTERS[LIST]] */ /* FirstStartTag[CHARACTERS[LIST]] */
case 92:
/* FirstStartTag[START_ELEMENT({urn:iso:15118:2:2010:MsgDataTypes}Certificate)] */
case 518: case 518:
/* First(xsi:type)StartTag[CHARACTERS[INTEGER]] */ /* First(xsi:type)StartTag[CHARACTERS[INTEGER]] */
case 42: case 42:
@ -4709,6 +4707,8 @@ static int _exiEncodeEndElementUndeclared(bitstream_t* stream, exi_state_t* stat
/* FirstStartTag[CHARACTERS[STRING]] */ /* FirstStartTag[CHARACTERS[STRING]] */
case 678: case 678:
/* FirstStartTag[CHARACTERS[UNSIGNED_INTEGER]] */ /* FirstStartTag[CHARACTERS[UNSIGNED_INTEGER]] */
case 52:
/* FirstStartTag[CHARACTERS[NBIT_UNSIGNED_INTEGER]] */
case 104: case 104:
/* FirstStartTag[CHARACTERS[BINARY_BASE64]] */ /* FirstStartTag[CHARACTERS[BINARY_BASE64]] */
case 116: case 116:
@ -4825,6 +4825,8 @@ static int _exiEncodeEndElementUndeclared(bitstream_t* stream, exi_state_t* stat
/* First(xsi:type)StartTag[CHARACTERS[STRING]] */ /* First(xsi:type)StartTag[CHARACTERS[STRING]] */
case 480: case 480:
/* First(xsi:type)StartTag[CHARACTERS[INTEGER]] */ /* First(xsi:type)StartTag[CHARACTERS[INTEGER]] */
case 92:
/* FirstStartTag[START_ELEMENT({urn:iso:15118:2:2010:MsgDataTypes}Certificate)] */
case 651: case 651:
/* FirstStartTag[CHARACTERS[DATETIME]] */ /* FirstStartTag[CHARACTERS[DATETIME]] */
case 342: case 342:
@ -4953,8 +4955,6 @@ static int _exiEncodeEndElementUndeclared(bitstream_t* stream, exi_state_t* stat
/* FirstStartTag[START_ELEMENT({urn:iso:15118:2:2010:MsgDataTypes}ServiceID)] */ /* FirstStartTag[START_ELEMENT({urn:iso:15118:2:2010:MsgDataTypes}ServiceID)] */
case 230: case 230:
/* FirstStartTag[START_ELEMENT({urn:iso:15118:2:2010:MsgDataTypes}MeterID)] */ /* FirstStartTag[START_ELEMENT({urn:iso:15118:2:2010:MsgDataTypes}MeterID)] */
case 52:
/* FirstStartTag[CHARACTERS[NBIT_UNSIGNED_INTEGER]] */
case 82: case 82:
/* FirstStartTag[START_ELEMENT({urn:iso:15118:2:2010:MsgDataTypes}RootCertificateID)] */ /* FirstStartTag[START_ELEMENT({urn:iso:15118:2:2010:MsgDataTypes}RootCertificateID)] */
case 623: case 623:
@ -5081,6 +5081,8 @@ static int _exiEncodeEndElementUndeclared(bitstream_t* stream, exi_state_t* stat
return 0; return 0;
case 599: case 599:
/* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgBody}ResponseCode)] */ /* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgBody}ResponseCode)] */
case 91:
/* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgBody}ContractSignatureEncryptedPrivateKey)] */
case 62: case 62:
/* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgDataTypes}EVSEStatusCode)] */ /* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgDataTypes}EVSEStatusCode)] */
case 451: case 451:
@ -5193,6 +5195,8 @@ static int _exiEncodeEndElementUndeclared(bitstream_t* stream, exi_state_t* stat
/* Element[CHARACTERS[ENUMERATION]] */ /* Element[CHARACTERS[ENUMERATION]] */
case 654: case 654:
/* Element[CHARACTERS[DATETIME]] */ /* Element[CHARACTERS[DATETIME]] */
case 126:
/* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgBody}ResponseCode)] */
case 172: case 172:
/* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgDataTypes}PMaxScheduleID)] */ /* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgDataTypes}PMaxScheduleID)] */
case 36: case 36:
@ -5325,8 +5329,6 @@ static int _exiEncodeEndElementUndeclared(bitstream_t* stream, exi_state_t* stat
/* Element[CHARACTERS[STRING]] */ /* Element[CHARACTERS[STRING]] */
case 419: case 419:
/* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgDataTypes}ChargingProfileEntryMaxPower)] */ /* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgDataTypes}ChargingProfileEntryMaxPower)] */
case 91:
/* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgBody}ContractSignatureEncryptedPrivateKey)] */
case 531: case 531:
/* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgBody}EVSEID)] */ /* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgBody}EVSEID)] */
case 321: case 321:
@ -5401,8 +5403,6 @@ static int _exiEncodeEndElementUndeclared(bitstream_t* stream, exi_state_t* stat
/* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgDataTypes}PMaxScheduleEntry)] */ /* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgDataTypes}PMaxScheduleEntry)] */
case 338: case 338:
/* Element[START_ELEMENT({http://www.w3.org/2000/09/xmldsig#}Transform)] */ /* Element[START_ELEMENT({http://www.w3.org/2000/09/xmldsig#}Transform)] */
case 153:
/* Element[CHARACTERS[INTEGER]] */
case 237: case 237:
/* Element[CHARACTERS[BINARY_BASE64]] */ /* Element[CHARACTERS[BINARY_BASE64]] */
case 347: case 347:
@ -5489,8 +5489,6 @@ static int _exiEncodeEndElementUndeclared(bitstream_t* stream, exi_state_t* stat
/* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgDataTypes}ServiceID)] */ /* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgDataTypes}ServiceID)] */
case 64: case 64:
/* Element[CHARACTERS[ENUMERATION]] */ /* Element[CHARACTERS[ENUMERATION]] */
case 126:
/* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgBody}ResponseCode)] */
case 120: case 120:
/* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgBody}ContractEncryptionEncryptedPrivateKey)] */ /* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgBody}ContractEncryptionEncryptedPrivateKey)] */
case 394: case 394:
@ -5513,6 +5511,8 @@ static int _exiEncodeEndElementUndeclared(bitstream_t* stream, exi_state_t* stat
/* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgBody}EVRequestedEnergyTransferType)] */ /* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgBody}EVRequestedEnergyTransferType)] */
case 594: case 594:
/* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgBody}DC_EVStatus)] */ /* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgBody}DC_EVStatus)] */
case 153:
/* Element[CHARACTERS[INTEGER]] */
case 151: case 151:
/* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgDataTypes}PMaxSchedule)] */ /* Element[START_ELEMENT({urn:iso:15118:2:2010:MsgDataTypes}PMaxSchedule)] */
case 680: case 680:

View file

@ -19,7 +19,7 @@
/******************************************************************* /*******************************************************************
* *
* @author Daniel.Peintner.EXT@siemens.com * @author Daniel.Peintner.EXT@siemens.com
* @version 0.6 * @version 2012-01-31
* @contact Joerg.Heuer@siemens.com * @contact Joerg.Heuer@siemens.com
* *
* <p>Code generated by EXIdizer</p> * <p>Code generated by EXIdizer</p>

View file

@ -19,7 +19,7 @@
/******************************************************************* /*******************************************************************
* *
* @author Daniel.Peintner.EXT@siemens.com * @author Daniel.Peintner.EXT@siemens.com
* @version 0.6 * @version 2012-01-31
* @contact Joerg.Heuer@siemens.com * @contact Joerg.Heuer@siemens.com
* *
* <p>Code generated by EXIdizer</p> * <p>Code generated by EXIdizer</p>

View file

@ -19,7 +19,7 @@
/******************************************************************* /*******************************************************************
* *
* @author Daniel.Peintner.EXT@siemens.com * @author Daniel.Peintner.EXT@siemens.com
* @version 0.6 * @version 2012-01-31
* @contact Joerg.Heuer@siemens.com * @contact Joerg.Heuer@siemens.com
* *
* <p>Code generated by EXIdizer</p> * <p>Code generated by EXIdizer</p>

View file

@ -19,7 +19,7 @@
/******************************************************************* /*******************************************************************
* *
* @author Daniel.Peintner.EXT@siemens.com * @author Daniel.Peintner.EXT@siemens.com
* @version 0.6 * @version 2012-01-31
* @contact Joerg.Heuer@siemens.com * @contact Joerg.Heuer@siemens.com
* *
* <p>Code generated by EXIdizer</p> * <p>Code generated by EXIdizer</p>

View file

@ -19,7 +19,7 @@
/******************************************************************* /*******************************************************************
* *
* @author Daniel.Peintner.EXT@siemens.com * @author Daniel.Peintner.EXT@siemens.com
* @version 0.6 * @version 2012-01-31
* @contact Joerg.Heuer@siemens.com * @contact Joerg.Heuer@siemens.com
* *
* <p>Code generated by EXIdizer</p> * <p>Code generated by EXIdizer</p>

View file

@ -19,7 +19,7 @@
/******************************************************************* /*******************************************************************
* *
* @author Daniel.Peintner.EXT@siemens.com * @author Daniel.Peintner.EXT@siemens.com
* @version 0.6 * @version 2012-01-31
* @contact Joerg.Heuer@siemens.com * @contact Joerg.Heuer@siemens.com
* *
* <p>Code generated by EXIdizer</p> * <p>Code generated by EXIdizer</p>

View file

@ -19,7 +19,7 @@
/******************************************************************* /*******************************************************************
* *
* @author Daniel.Peintner.EXT@siemens.com * @author Daniel.Peintner.EXT@siemens.com
* @version 0.6 * @version 2012-01-31
* @contact Joerg.Heuer@siemens.com * @contact Joerg.Heuer@siemens.com
* *
* <p>Code generated by EXIdizer</p> * <p>Code generated by EXIdizer</p>

View file

@ -19,7 +19,7 @@
/******************************************************************* /*******************************************************************
* *
* @author Daniel.Peintner.EXT@siemens.com * @author Daniel.Peintner.EXT@siemens.com
* @version 0.6 * @version 2012-01-31
* @contact Joerg.Heuer@siemens.com * @contact Joerg.Heuer@siemens.com
* *
* <p>Code generated by EXIdizer</p> * <p>Code generated by EXIdizer</p>

View file

@ -19,7 +19,7 @@
/******************************************************************* /*******************************************************************
* *
* @author Daniel.Peintner.EXT@siemens.com * @author Daniel.Peintner.EXT@siemens.com
* @version 0.6 * @version 2012-01-31
* @contact Joerg.Heuer@siemens.com * @contact Joerg.Heuer@siemens.com
* *
* <p>Code generated by EXIdizer</p> * <p>Code generated by EXIdizer</p>

View file

@ -19,7 +19,7 @@
/******************************************************************* /*******************************************************************
* *
* @author Daniel.Peintner.EXT@siemens.com * @author Daniel.Peintner.EXT@siemens.com
* @version 0.6 * @version 2012-01-31
* @contact Joerg.Heuer@siemens.com * @contact Joerg.Heuer@siemens.com
* *
* <p>Code generated by EXIdizer</p> * <p>Code generated by EXIdizer</p>

View file

@ -19,7 +19,7 @@
/******************************************************************* /*******************************************************************
* *
* @author Daniel.Peintner.EXT@siemens.com * @author Daniel.Peintner.EXT@siemens.com
* @version 0.6 * @version 2012-01-31
* @contact Joerg.Heuer@siemens.com * @contact Joerg.Heuer@siemens.com
* *
* <p>Code generated by EXIdizer</p> * <p>Code generated by EXIdizer</p>

View file

@ -19,7 +19,7 @@
/******************************************************************* /*******************************************************************
* *
* @author Daniel.Peintner.EXT@siemens.com * @author Daniel.Peintner.EXT@siemens.com
* @version 0.6 * @version 2012-01-31
* @contact Joerg.Heuer@siemens.com * @contact Joerg.Heuer@siemens.com
* *
* <p>Code generated by EXIdizer</p> * <p>Code generated by EXIdizer</p>

View file

@ -19,7 +19,7 @@
/******************************************************************* /*******************************************************************
* *
* @author Daniel.Peintner.EXT@siemens.com * @author Daniel.Peintner.EXT@siemens.com
* @version 0.6 * @version 2012-01-31
* @contact Joerg.Heuer@siemens.com * @contact Joerg.Heuer@siemens.com
* *
* <p>Code generated by EXIdizer</p> * <p>Code generated by EXIdizer</p>

View file

@ -19,7 +19,7 @@
/******************************************************************* /*******************************************************************
* *
* @author Daniel.Peintner.EXT@siemens.com * @author Daniel.Peintner.EXT@siemens.com
* @version 0.6 * @version 2012-01-31
* @contact Joerg.Heuer@siemens.com * @contact Joerg.Heuer@siemens.com
* *
* <p>Code generated by EXIdizer</p> * <p>Code generated by EXIdizer</p>

View file

@ -19,7 +19,7 @@
/******************************************************************* /*******************************************************************
* *
* @author Daniel.Peintner.EXT@siemens.com * @author Daniel.Peintner.EXT@siemens.com
* @version 0.6 * @version 2012-01-31
* @contact Joerg.Heuer@siemens.com * @contact Joerg.Heuer@siemens.com
* *
* <p>Code generated by EXIdizer</p> * <p>Code generated by EXIdizer</p>

View file

@ -19,7 +19,7 @@
/******************************************************************* /*******************************************************************
* *
* @author Daniel.Peintner.EXT@siemens.com * @author Daniel.Peintner.EXT@siemens.com
* @version 0.6 * @version 2012-01-31
* @contact Joerg.Heuer@siemens.com * @contact Joerg.Heuer@siemens.com
* *
* <p>Code generated by EXIdizer</p> * <p>Code generated by EXIdizer</p>
@ -109,6 +109,32 @@ static int _decodeListValues(bitstream_t* stream, exi_datatype_t dt, uint16_t le
return 0; return 0;
} }
static int _decodeListIntegerValues(bitstream_t* stream, exi_integer_type_t dt, uint16_t len) {
unsigned int i;
integer_t iv;
for(i = 0; i<len; i++) {
switch(dt) {
case UNSIGNED_INTEGER_8:
case UNSIGNED_INTEGER_16:
case UNSIGNED_INTEGER_32:
case UNSIGNED_INTEGER_64:
errn = decodeUnsignedInteger(stream, &iv);
break;
case INTEGER_8:
case INTEGER_16:
case INTEGER_32:
case INTEGER_64:
errn = decodeInteger(stream, &iv);
break;
default:
return EXI_UNSUPPORTED_LIST_VALUE_TYPE;
}
}
return 0;
}
int exiappHandInitDecoder(bitstream_t* stream, exi_state_t* state, exi_name_table_runtime_t runtimeTable) { int exiappHandInitDecoder(bitstream_t* stream, exi_state_t* state, exi_name_table_runtime_t runtimeTable) {
@ -116,7 +142,7 @@ int exiappHandInitDecoder(bitstream_t* stream, exi_state_t* state, exi_name_tabl
state->stackIndex = 0; state->stackIndex = 0;
state->grammarStack[0] = DOCUMENT; state->grammarStack[0] = DOCUMENT;
/* string table */ /* string table */
/* state->nameTablePrepopulated = exiappHandNameTablePrepopulated; */ state->nameTablePrepopulated = exiappHandNameTablePrepopulated;
state->nameTableRuntime = runtimeTable; state->nameTableRuntime = runtimeTable;
/* decode header */ /* decode header */
return readEXIHeader(stream); return readEXIHeader(stream);
@ -131,30 +157,28 @@ static int exiDecodeNext2Event(bitstream_t* stream, exi_state_t* state,
/* Element[CHARACTERS[STRING]] */ /* Element[CHARACTERS[STRING]] */
case 124: case 124:
/* Element[CHARACTERS[STRING]] */ /* Element[CHARACTERS[STRING]] */
case 96:
/* Element[CHARACTERS[FLOAT]] */
case 88:
/* Element[CHARACTERS[DATETIME]] */
case 139: case 139:
/* Element[CHARACTERS[UNSIGNED_INTEGER]] */ /* Element[CHARACTERS[UNSIGNED_INTEGER]] */
case 46: case 46:
/* Element[CHARACTERS[ENUMERATION]] */ /* Element[CHARACTERS[ENUMERATION]] */
case 22: case 22:
/* Element[START_ELEMENT(ProtocolNamespace)] */ /* Element[START_ELEMENT(ProtocolNamespace)] */
case 86:
/* Element[CHARACTERS[DATETIME]] */
case 92:
/* Element[CHARACTERS[FLOAT]] */
case 134: case 134:
/* Element[CHARACTERS[STRING]] */ /* Element[CHARACTERS[STRING]] */
case 98:
/* Element[CHARACTERS[DATETIME]] */
case 120: case 120:
/* Element[CHARACTERS[UNSIGNED_INTEGER]] */ /* Element[CHARACTERS[UNSIGNED_INTEGER]] */
case 100:
/* Element[CHARACTERS[DATETIME]] */
case 54: case 54:
/* Element[CHARACTERS[STRING]] */ /* Element[CHARACTERS[STRING]] */
case 68: case 68:
/* Element[CHARACTERS[STRING]] */ /* Element[CHARACTERS[STRING]] */
case 72: case 72:
/* Element[CHARACTERS[STRING]] */ /* Element[CHARACTERS[STRING]] */
case 100:
/* Element[CHARACTERS[DATETIME]] */
case 21: case 21:
/* Element[CHARACTERS[NBIT_UNSIGNED_INTEGER]] */ /* Element[CHARACTERS[NBIT_UNSIGNED_INTEGER]] */
case 78: case 78:
@ -163,14 +187,20 @@ static int exiDecodeNext2Event(bitstream_t* stream, exi_state_t* state,
/* Element[CHARACTERS[UNSIGNED_INTEGER]] */ /* Element[CHARACTERS[UNSIGNED_INTEGER]] */
case 52: case 52:
/* Element[CHARACTERS[LIST]] */ /* Element[CHARACTERS[LIST]] */
case 82: case 102:
/* Element[CHARACTERS[BOOLEAN]] */ /* Element[CHARACTERS[DATETIME]] */
case 84: case 96:
/* Element[CHARACTERS[NBIT_UNSIGNED_INTEGER]] */ /* Element[CHARACTERS[FLOAT]] */
case 60: case 60:
/* Element[CHARACTERS[LIST]] */ /* Element[CHARACTERS[LIST]] */
case 82:
/* Element[CHARACTERS[BOOLEAN]] */
case 88:
/* Element[CHARACTERS[DATETIME]] */
case 116: case 116:
/* Element[CHARACTERS[INTEGER]] */ /* Element[CHARACTERS[INTEGER]] */
case 98:
/* Element[CHARACTERS[DATETIME]] */
case 128: case 128:
/* Element[CHARACTERS[INTEGER]] */ /* Element[CHARACTERS[INTEGER]] */
case 13: case 13:
@ -185,8 +215,8 @@ static int exiDecodeNext2Event(bitstream_t* stream, exi_state_t* state,
/* Element[CHARACTERS[INTEGER]] */ /* Element[CHARACTERS[INTEGER]] */
case 66: case 66:
/* Element[CHARACTERS[LIST]] */ /* Element[CHARACTERS[LIST]] */
case 92: case 94:
/* Element[CHARACTERS[FLOAT]] */ /* Element[CHARACTERS[STRING]] */
case 112: case 112:
/* Element[CHARACTERS[INTEGER]] */ /* Element[CHARACTERS[INTEGER]] */
case 58: case 58:
@ -203,6 +233,8 @@ static int exiDecodeNext2Event(bitstream_t* stream, exi_state_t* state,
/* Element[CHARACTERS[STRING]] */ /* Element[CHARACTERS[STRING]] */
case 108: case 108:
/* Element[CHARACTERS[BINARY_HEX]] */ /* Element[CHARACTERS[BINARY_HEX]] */
case 84:
/* Element[CHARACTERS[NBIT_UNSIGNED_INTEGER]] */
case 106: case 106:
/* Element[CHARACTERS[DATETIME]] */ /* Element[CHARACTERS[DATETIME]] */
case 11: case 11:
@ -215,8 +247,6 @@ static int exiDecodeNext2Event(bitstream_t* stream, exi_state_t* state,
/* Element[CHARACTERS[STRING]] */ /* Element[CHARACTERS[STRING]] */
case 62: case 62:
/* Element[CHARACTERS[STRING]] */ /* Element[CHARACTERS[STRING]] */
case 102:
/* Element[CHARACTERS[DATETIME]] */
case 130: case 130:
/* Element[CHARACTERS[STRING]] */ /* Element[CHARACTERS[STRING]] */
case 126: case 126:
@ -231,14 +261,10 @@ static int exiDecodeNext2Event(bitstream_t* stream, exi_state_t* state,
/* Element[CHARACTERS[NBIT_UNSIGNED_INTEGER]] */ /* Element[CHARACTERS[NBIT_UNSIGNED_INTEGER]] */
case 80: case 80:
/* Element[CHARACTERS[BINARY_BASE64]] */ /* Element[CHARACTERS[BINARY_BASE64]] */
case 86:
/* Element[CHARACTERS[DATETIME]] */
case 56: case 56:
/* Element[CHARACTERS[STRING]] */ /* Element[CHARACTERS[STRING]] */
case 132: case 132:
/* Element[CHARACTERS[DATETIME]] */ /* Element[CHARACTERS[DATETIME]] */
case 94:
/* Element[CHARACTERS[STRING]] */
case 18: case 18:
/* Element[CHARACTERS[NBIT_UNSIGNED_INTEGER]] */ /* Element[CHARACTERS[NBIT_UNSIGNED_INTEGER]] */
errn = decodeNBitUnsignedInteger(stream, 2, &eventCode2); errn = decodeNBitUnsignedInteger(stream, 2, &eventCode2);
@ -352,38 +378,38 @@ static int exiDecodeNext2Event(bitstream_t* stream, exi_state_t* state,
/* FirstStartTag[CHARACTERS[UNSIGNED_INTEGER]] */ /* FirstStartTag[CHARACTERS[UNSIGNED_INTEGER]] */
case 57: case 57:
/* FirstStartTag[CHARACTERS[STRING]] */ /* FirstStartTag[CHARACTERS[STRING]] */
case 97:
/* FirstStartTag[CHARACTERS[DATETIME]] */
case 135: case 135:
/* FirstStartTag[CHARACTERS[NBIT_UNSIGNED_INTEGER]] */ /* FirstStartTag[CHARACTERS[NBIT_UNSIGNED_INTEGER]] */
case 5: case 5:
/* FirstStartTag[START_ELEMENT(ProtocolNamespace)] */ /* FirstStartTag[START_ELEMENT(ProtocolNamespace)] */
case 91:
/* FirstStartTag[CHARACTERS[FLOAT]] */
case 111: case 111:
/* FirstStartTag[CHARACTERS[INTEGER]] */ /* FirstStartTag[CHARACTERS[INTEGER]] */
case 103:
/* FirstStartTag[CHARACTERS[DATETIME]] */
case 7: case 7:
/* FirstStartTag[CHARACTERS[STRING]] */ /* FirstStartTag[CHARACTERS[STRING]] */
case 89:
/* FirstStartTag[CHARACTERS[DECIMAL]] */
case 123: case 123:
/* FirstStartTag[CHARACTERS[STRING]] */ /* FirstStartTag[CHARACTERS[STRING]] */
case 61: case 61:
/* FirstStartTag[CHARACTERS[STRING]] */ /* FirstStartTag[CHARACTERS[STRING]] */
case 99:
/* FirstStartTag[CHARACTERS[DATETIME]] */
case 73: case 73:
/* FirstStartTag[CHARACTERS[STRING]] */ /* FirstStartTag[CHARACTERS[STRING]] */
case 53: case 53:
/* FirstStartTag[CHARACTERS[STRING]] */ /* FirstStartTag[CHARACTERS[STRING]] */
case 91: case 93:
/* FirstStartTag[CHARACTERS[FLOAT]] */ /* FirstStartTag[CHARACTERS[STRING]] */
case 99:
/* FirstStartTag[CHARACTERS[DATETIME]] */
case 59: case 59:
/* FirstStartTag[CHARACTERS[LIST]] */ /* FirstStartTag[CHARACTERS[LIST]] */
case 63: case 63:
/* FirstStartTag[CHARACTERS[STRING]] */ /* FirstStartTag[CHARACTERS[STRING]] */
case 93:
/* FirstStartTag[CHARACTERS[STRING]] */
case 115: case 115:
/* FirstStartTag[CHARACTERS[INTEGER]] */ /* FirstStartTag[CHARACTERS[INTEGER]] */
case 101:
/* FirstStartTag[CHARACTERS[DATETIME]] */
case 71: case 71:
/* FirstStartTag[CHARACTERS[STRING]] */ /* FirstStartTag[CHARACTERS[STRING]] */
case 77: case 77:
@ -392,26 +418,20 @@ static int exiDecodeNext2Event(bitstream_t* stream, exi_state_t* state,
/* FirstStartTag[CHARACTERS[STRING]] */ /* FirstStartTag[CHARACTERS[STRING]] */
case 121: case 121:
/* FirstStartTag[CHARACTERS[INTEGER]] */ /* FirstStartTag[CHARACTERS[INTEGER]] */
case 101:
/* FirstStartTag[CHARACTERS[DATETIME]] */
case 95:
/* FirstStartTag[CHARACTERS[FLOAT]] */
case 17: case 17:
/* FirstStartTag[CHARACTERS[NBIT_UNSIGNED_INTEGER]] */ /* FirstStartTag[CHARACTERS[NBIT_UNSIGNED_INTEGER]] */
case 83:
/* FirstStartTag[CHARACTERS[NBIT_UNSIGNED_INTEGER]] */
case 117: case 117:
/* FirstStartTag[CHARACTERS[INTEGER]] */ /* FirstStartTag[CHARACTERS[INTEGER]] */
case 3: case 3:
/* FirstStartTag[START_ELEMENT(AppProtocol)] */ /* FirstStartTag[START_ELEMENT(AppProtocol)] */
case 79:
/* FirstStartTag[CHARACTERS[BINARY_BASE64]] */
case 85:
/* FirstStartTag[CHARACTERS[DATETIME]] */
case 97:
/* FirstStartTag[CHARACTERS[DATETIME]] */
case 67:
/* FirstStartTag[CHARACTERS[STRING]] */
case 87: case 87:
/* FirstStartTag[CHARACTERS[DATETIME]] */ /* FirstStartTag[CHARACTERS[DATETIME]] */
case 79:
/* FirstStartTag[CHARACTERS[BINARY_BASE64]] */
case 67:
/* FirstStartTag[CHARACTERS[STRING]] */
case 137: case 137:
/* FirstStartTag[CHARACTERS[UNSIGNED_INTEGER]] */ /* FirstStartTag[CHARACTERS[UNSIGNED_INTEGER]] */
case 81: case 81:
@ -436,10 +456,12 @@ static int exiDecodeNext2Event(bitstream_t* stream, exi_state_t* state,
/* FirstStartTag[START_ELEMENT(ResponseCode)] */ /* FirstStartTag[START_ELEMENT(ResponseCode)] */
case 20: case 20:
/* FirstStartTag[CHARACTERS[NBIT_UNSIGNED_INTEGER]] */ /* FirstStartTag[CHARACTERS[NBIT_UNSIGNED_INTEGER]] */
case 83: case 85:
/* FirstStartTag[CHARACTERS[NBIT_UNSIGNED_INTEGER]] */ /* FirstStartTag[CHARACTERS[DATETIME]] */
case 125: case 125:
/* FirstStartTag[CHARACTERS[UNSIGNED_INTEGER]] */ /* FirstStartTag[CHARACTERS[UNSIGNED_INTEGER]] */
case 103:
/* FirstStartTag[CHARACTERS[DATETIME]] */
case 138: case 138:
/* FirstStartTag[CHARACTERS[UNSIGNED_INTEGER]] */ /* FirstStartTag[CHARACTERS[UNSIGNED_INTEGER]] */
case 15: case 15:
@ -448,10 +470,14 @@ static int exiDecodeNext2Event(bitstream_t* stream, exi_state_t* state,
/* FirstStartTag[CHARACTERS[STRING]] */ /* FirstStartTag[CHARACTERS[STRING]] */
case 131: case 131:
/* FirstStartTag[CHARACTERS[DATETIME]] */ /* FirstStartTag[CHARACTERS[DATETIME]] */
case 89:
/* FirstStartTag[CHARACTERS[DECIMAL]] */
case 107: case 107:
/* FirstStartTag[CHARACTERS[BINARY_HEX]] */ /* FirstStartTag[CHARACTERS[BINARY_HEX]] */
case 127: case 127:
/* FirstStartTag[CHARACTERS[INTEGER]] */ /* FirstStartTag[CHARACTERS[INTEGER]] */
case 95:
/* FirstStartTag[CHARACTERS[FLOAT]] */
errn = decodeNBitUnsignedInteger(stream, 3, &eventCode2); errn = decodeNBitUnsignedInteger(stream, 3, &eventCode2);
switch (eventCode2) { switch (eventCode2) {
case 0: case 0:
@ -506,42 +532,42 @@ int exiappHandDecodeNextEvent(bitstream_t* stream, exi_state_t* state,
/* Element[CHARACTERS[STRING]] */ /* Element[CHARACTERS[STRING]] */
case 57: case 57:
/* FirstStartTag[CHARACTERS[STRING]] */ /* FirstStartTag[CHARACTERS[STRING]] */
case 96: case 97:
/* Element[CHARACTERS[FLOAT]] */ /* FirstStartTag[CHARACTERS[DATETIME]] */
case 135: case 135:
/* FirstStartTag[CHARACTERS[NBIT_UNSIGNED_INTEGER]] */ /* FirstStartTag[CHARACTERS[NBIT_UNSIGNED_INTEGER]] */
case 88: case 91:
/* Element[CHARACTERS[DATETIME]] */ /* FirstStartTag[CHARACTERS[FLOAT]] */
case 111: case 111:
/* FirstStartTag[CHARACTERS[INTEGER]] */ /* FirstStartTag[CHARACTERS[INTEGER]] */
case 139: case 139:
/* Element[CHARACTERS[UNSIGNED_INTEGER]] */ /* Element[CHARACTERS[UNSIGNED_INTEGER]] */
case 103:
/* FirstStartTag[CHARACTERS[DATETIME]] */
case 46: case 46:
/* Element[CHARACTERS[ENUMERATION]] */ /* Element[CHARACTERS[ENUMERATION]] */
case 86:
/* Element[CHARACTERS[DATETIME]] */
case 7: case 7:
/* FirstStartTag[CHARACTERS[STRING]] */ /* FirstStartTag[CHARACTERS[STRING]] */
case 89: case 92:
/* FirstStartTag[CHARACTERS[DECIMAL]] */ /* Element[CHARACTERS[FLOAT]] */
case 134: case 134:
/* Element[CHARACTERS[STRING]] */ /* Element[CHARACTERS[STRING]] */
case 123: case 123:
/* FirstStartTag[CHARACTERS[STRING]] */ /* FirstStartTag[CHARACTERS[STRING]] */
case 61: case 61:
/* FirstStartTag[CHARACTERS[STRING]] */ /* FirstStartTag[CHARACTERS[STRING]] */
case 98: case 99:
/* Element[CHARACTERS[DATETIME]] */ /* FirstStartTag[CHARACTERS[DATETIME]] */
case 120: case 120:
/* Element[CHARACTERS[UNSIGNED_INTEGER]] */ /* Element[CHARACTERS[UNSIGNED_INTEGER]] */
case 73: case 73:
/* FirstStartTag[CHARACTERS[STRING]] */ /* FirstStartTag[CHARACTERS[STRING]] */
case 53: case 53:
/* FirstStartTag[CHARACTERS[STRING]] */ /* FirstStartTag[CHARACTERS[STRING]] */
case 91: case 93:
/* FirstStartTag[CHARACTERS[FLOAT]] */ /* FirstStartTag[CHARACTERS[STRING]] */
case 99: case 100:
/* FirstStartTag[CHARACTERS[DATETIME]] */ /* Element[CHARACTERS[DATETIME]] */
case 54: case 54:
/* Element[CHARACTERS[STRING]] */ /* Element[CHARACTERS[STRING]] */
case 59: case 59:
@ -552,12 +578,10 @@ int exiappHandDecodeNextEvent(bitstream_t* stream, exi_state_t* state,
/* Element[CHARACTERS[STRING]] */ /* Element[CHARACTERS[STRING]] */
case 63: case 63:
/* FirstStartTag[CHARACTERS[STRING]] */ /* FirstStartTag[CHARACTERS[STRING]] */
case 93:
/* FirstStartTag[CHARACTERS[STRING]] */
case 115: case 115:
/* FirstStartTag[CHARACTERS[INTEGER]] */ /* FirstStartTag[CHARACTERS[INTEGER]] */
case 100: case 101:
/* Element[CHARACTERS[DATETIME]] */ /* FirstStartTag[CHARACTERS[DATETIME]] */
case 21: case 21:
/* Element[CHARACTERS[NBIT_UNSIGNED_INTEGER]] */ /* Element[CHARACTERS[NBIT_UNSIGNED_INTEGER]] */
case 71: case 71:
@ -574,36 +598,36 @@ int exiappHandDecodeNextEvent(bitstream_t* stream, exi_state_t* state,
/* Element[CHARACTERS[UNSIGNED_INTEGER]] */ /* Element[CHARACTERS[UNSIGNED_INTEGER]] */
case 52: case 52:
/* Element[CHARACTERS[LIST]] */ /* Element[CHARACTERS[LIST]] */
case 101: case 102:
/* FirstStartTag[CHARACTERS[DATETIME]] */ /* Element[CHARACTERS[DATETIME]] */
case 95: case 96:
/* FirstStartTag[CHARACTERS[FLOAT]] */ /* Element[CHARACTERS[FLOAT]] */
case 17: case 17:
/* FirstStartTag[CHARACTERS[NBIT_UNSIGNED_INTEGER]] */ /* FirstStartTag[CHARACTERS[NBIT_UNSIGNED_INTEGER]] */
case 82: case 83:
/* Element[CHARACTERS[BOOLEAN]] */ /* FirstStartTag[CHARACTERS[NBIT_UNSIGNED_INTEGER]] */
case 117: case 117:
/* FirstStartTag[CHARACTERS[INTEGER]] */ /* FirstStartTag[CHARACTERS[INTEGER]] */
case 84: case 87:
/* Element[CHARACTERS[NBIT_UNSIGNED_INTEGER]] */ /* FirstStartTag[CHARACTERS[DATETIME]] */
case 60: case 60:
/* Element[CHARACTERS[LIST]] */ /* Element[CHARACTERS[LIST]] */
case 79: case 79:
/* FirstStartTag[CHARACTERS[BINARY_BASE64]] */ /* FirstStartTag[CHARACTERS[BINARY_BASE64]] */
case 85: case 82:
/* FirstStartTag[CHARACTERS[DATETIME]] */ /* Element[CHARACTERS[BOOLEAN]] */
case 88:
/* Element[CHARACTERS[DATETIME]] */
case 116: case 116:
/* Element[CHARACTERS[INTEGER]] */ /* Element[CHARACTERS[INTEGER]] */
case 97: case 98:
/* FirstStartTag[CHARACTERS[DATETIME]] */ /* Element[CHARACTERS[DATETIME]] */
case 128: case 128:
/* Element[CHARACTERS[INTEGER]] */ /* Element[CHARACTERS[INTEGER]] */
case 67: case 67:
/* FirstStartTag[CHARACTERS[STRING]] */ /* FirstStartTag[CHARACTERS[STRING]] */
case 13: case 13:
/* Element[CHARACTERS[UNSIGNED_INTEGER]] */ /* Element[CHARACTERS[UNSIGNED_INTEGER]] */
case 87:
/* FirstStartTag[CHARACTERS[DATETIME]] */
case 90: case 90:
/* Element[CHARACTERS[DECIMAL]] */ /* Element[CHARACTERS[DECIMAL]] */
case 137: case 137:
@ -620,8 +644,8 @@ int exiappHandDecodeNextEvent(bitstream_t* stream, exi_state_t* state,
/* Element[CHARACTERS[LIST]] */ /* Element[CHARACTERS[LIST]] */
case 51: case 51:
/* FirstStartTag[CHARACTERS[LIST]] */ /* FirstStartTag[CHARACTERS[LIST]] */
case 92: case 94:
/* Element[CHARACTERS[FLOAT]] */ /* Element[CHARACTERS[STRING]] */
case 112: case 112:
/* Element[CHARACTERS[INTEGER]] */ /* Element[CHARACTERS[INTEGER]] */
case 58: case 58:
@ -642,6 +666,8 @@ int exiappHandDecodeNextEvent(bitstream_t* stream, exi_state_t* state,
/* FirstStartTag[CHARACTERS[LIST]] */ /* FirstStartTag[CHARACTERS[LIST]] */
case 108: case 108:
/* Element[CHARACTERS[BINARY_HEX]] */ /* Element[CHARACTERS[BINARY_HEX]] */
case 84:
/* Element[CHARACTERS[NBIT_UNSIGNED_INTEGER]] */
case 129: case 129:
/* FirstStartTag[CHARACTERS[STRING]] */ /* FirstStartTag[CHARACTERS[STRING]] */
case 106: case 106:
@ -652,16 +678,16 @@ int exiappHandDecodeNextEvent(bitstream_t* stream, exi_state_t* state,
/* Element[CHARACTERS[STRING]] */ /* Element[CHARACTERS[STRING]] */
case 20: case 20:
/* FirstStartTag[CHARACTERS[NBIT_UNSIGNED_INTEGER]] */ /* FirstStartTag[CHARACTERS[NBIT_UNSIGNED_INTEGER]] */
case 83: case 85:
/* FirstStartTag[CHARACTERS[NBIT_UNSIGNED_INTEGER]] */ /* FirstStartTag[CHARACTERS[DATETIME]] */
case 125: case 125:
/* FirstStartTag[CHARACTERS[UNSIGNED_INTEGER]] */ /* FirstStartTag[CHARACTERS[UNSIGNED_INTEGER]] */
case 64: case 64:
/* Element[CHARACTERS[STRING]] */ /* Element[CHARACTERS[STRING]] */
case 62: case 62:
/* Element[CHARACTERS[STRING]] */ /* Element[CHARACTERS[STRING]] */
case 102: case 103:
/* Element[CHARACTERS[DATETIME]] */ /* FirstStartTag[CHARACTERS[DATETIME]] */
case 138: case 138:
/* FirstStartTag[CHARACTERS[UNSIGNED_INTEGER]] */ /* FirstStartTag[CHARACTERS[UNSIGNED_INTEGER]] */
case 130: case 130:
@ -682,8 +708,8 @@ int exiappHandDecodeNextEvent(bitstream_t* stream, exi_state_t* state,
/* Element[CHARACTERS[NBIT_UNSIGNED_INTEGER]] */ /* Element[CHARACTERS[NBIT_UNSIGNED_INTEGER]] */
case 80: case 80:
/* Element[CHARACTERS[BINARY_BASE64]] */ /* Element[CHARACTERS[BINARY_BASE64]] */
case 86: case 89:
/* Element[CHARACTERS[DATETIME]] */ /* FirstStartTag[CHARACTERS[DECIMAL]] */
case 56: case 56:
/* Element[CHARACTERS[STRING]] */ /* Element[CHARACTERS[STRING]] */
case 107: case 107:
@ -692,8 +718,8 @@ int exiappHandDecodeNextEvent(bitstream_t* stream, exi_state_t* state,
/* FirstStartTag[CHARACTERS[INTEGER]] */ /* FirstStartTag[CHARACTERS[INTEGER]] */
case 132: case 132:
/* Element[CHARACTERS[DATETIME]] */ /* Element[CHARACTERS[DATETIME]] */
case 94: case 95:
/* Element[CHARACTERS[STRING]] */ /* FirstStartTag[CHARACTERS[FLOAT]] */
case 18: case 18:
/* Element[CHARACTERS[NBIT_UNSIGNED_INTEGER]] */ /* Element[CHARACTERS[NBIT_UNSIGNED_INTEGER]] */
errn = decodeNBitUnsignedInteger(stream, 1, &state->eventCode); errn = decodeNBitUnsignedInteger(stream, 1, &state->eventCode);

View file

@ -19,7 +19,7 @@
/******************************************************************* /*******************************************************************
* *
* @author Daniel.Peintner.EXT@siemens.com * @author Daniel.Peintner.EXT@siemens.com
* @version 0.6 * @version 2012-01-31
* @contact Joerg.Heuer@siemens.com * @contact Joerg.Heuer@siemens.com
* *
* <p>Code generated by EXIdizer</p> * <p>Code generated by EXIdizer</p>

View file

@ -19,7 +19,7 @@
/******************************************************************* /*******************************************************************
* *
* @author Daniel.Peintner.EXT@siemens.com * @author Daniel.Peintner.EXT@siemens.com
* @version 0.6 * @version 2012-01-31
* @contact Joerg.Heuer@siemens.com * @contact Joerg.Heuer@siemens.com
* *
* <p>Code generated by EXIdizer</p> * <p>Code generated by EXIdizer</p>
@ -201,7 +201,7 @@ int exiappHandInitEncoder(bitstream_t* stream, exi_state_t* state, exi_name_tabl
state->stackIndex = 0; state->stackIndex = 0;
state->grammarStack[0] = DOCUMENT; state->grammarStack[0] = DOCUMENT;
/* string tables */ /* string tables */
/* state->nameTablePrepopulated = exiappHandNameTablePrepopulated; */ state->nameTablePrepopulated = exiappHandNameTablePrepopulated;
state->nameTableRuntime = runtimeTable; state->nameTableRuntime = runtimeTable;
/* encode header */ /* encode header */
return writeEXIHeader(stream); return writeEXIHeader(stream);
@ -834,30 +834,28 @@ static int _exiEncodeEndElementUndeclared(bitstream_t* stream, exi_state_t* stat
/* Element[CHARACTERS[STRING]] */ /* Element[CHARACTERS[STRING]] */
case 124: case 124:
/* Element[CHARACTERS[STRING]] */ /* Element[CHARACTERS[STRING]] */
case 96:
/* Element[CHARACTERS[FLOAT]] */
case 88:
/* Element[CHARACTERS[DATETIME]] */
case 139: case 139:
/* Element[CHARACTERS[UNSIGNED_INTEGER]] */ /* Element[CHARACTERS[UNSIGNED_INTEGER]] */
case 46: case 46:
/* Element[CHARACTERS[ENUMERATION]] */ /* Element[CHARACTERS[ENUMERATION]] */
case 22: case 22:
/* Element[START_ELEMENT(ProtocolNamespace)] */ /* Element[START_ELEMENT(ProtocolNamespace)] */
case 86:
/* Element[CHARACTERS[DATETIME]] */
case 92:
/* Element[CHARACTERS[FLOAT]] */
case 134: case 134:
/* Element[CHARACTERS[STRING]] */ /* Element[CHARACTERS[STRING]] */
case 98:
/* Element[CHARACTERS[DATETIME]] */
case 120: case 120:
/* Element[CHARACTERS[UNSIGNED_INTEGER]] */ /* Element[CHARACTERS[UNSIGNED_INTEGER]] */
case 100:
/* Element[CHARACTERS[DATETIME]] */
case 54: case 54:
/* Element[CHARACTERS[STRING]] */ /* Element[CHARACTERS[STRING]] */
case 68: case 68:
/* Element[CHARACTERS[STRING]] */ /* Element[CHARACTERS[STRING]] */
case 72: case 72:
/* Element[CHARACTERS[STRING]] */ /* Element[CHARACTERS[STRING]] */
case 100:
/* Element[CHARACTERS[DATETIME]] */
case 21: case 21:
/* Element[CHARACTERS[NBIT_UNSIGNED_INTEGER]] */ /* Element[CHARACTERS[NBIT_UNSIGNED_INTEGER]] */
case 78: case 78:
@ -866,14 +864,20 @@ static int _exiEncodeEndElementUndeclared(bitstream_t* stream, exi_state_t* stat
/* Element[CHARACTERS[UNSIGNED_INTEGER]] */ /* Element[CHARACTERS[UNSIGNED_INTEGER]] */
case 52: case 52:
/* Element[CHARACTERS[LIST]] */ /* Element[CHARACTERS[LIST]] */
case 82: case 102:
/* Element[CHARACTERS[BOOLEAN]] */ /* Element[CHARACTERS[DATETIME]] */
case 84: case 96:
/* Element[CHARACTERS[NBIT_UNSIGNED_INTEGER]] */ /* Element[CHARACTERS[FLOAT]] */
case 60: case 60:
/* Element[CHARACTERS[LIST]] */ /* Element[CHARACTERS[LIST]] */
case 82:
/* Element[CHARACTERS[BOOLEAN]] */
case 88:
/* Element[CHARACTERS[DATETIME]] */
case 116: case 116:
/* Element[CHARACTERS[INTEGER]] */ /* Element[CHARACTERS[INTEGER]] */
case 98:
/* Element[CHARACTERS[DATETIME]] */
case 128: case 128:
/* Element[CHARACTERS[INTEGER]] */ /* Element[CHARACTERS[INTEGER]] */
case 13: case 13:
@ -888,8 +892,8 @@ static int _exiEncodeEndElementUndeclared(bitstream_t* stream, exi_state_t* stat
/* Element[CHARACTERS[INTEGER]] */ /* Element[CHARACTERS[INTEGER]] */
case 66: case 66:
/* Element[CHARACTERS[LIST]] */ /* Element[CHARACTERS[LIST]] */
case 92: case 94:
/* Element[CHARACTERS[FLOAT]] */ /* Element[CHARACTERS[STRING]] */
case 112: case 112:
/* Element[CHARACTERS[INTEGER]] */ /* Element[CHARACTERS[INTEGER]] */
case 58: case 58:
@ -906,6 +910,8 @@ static int _exiEncodeEndElementUndeclared(bitstream_t* stream, exi_state_t* stat
/* Element[CHARACTERS[STRING]] */ /* Element[CHARACTERS[STRING]] */
case 108: case 108:
/* Element[CHARACTERS[BINARY_HEX]] */ /* Element[CHARACTERS[BINARY_HEX]] */
case 84:
/* Element[CHARACTERS[NBIT_UNSIGNED_INTEGER]] */
case 106: case 106:
/* Element[CHARACTERS[DATETIME]] */ /* Element[CHARACTERS[DATETIME]] */
case 11: case 11:
@ -918,8 +924,6 @@ static int _exiEncodeEndElementUndeclared(bitstream_t* stream, exi_state_t* stat
/* Element[CHARACTERS[STRING]] */ /* Element[CHARACTERS[STRING]] */
case 62: case 62:
/* Element[CHARACTERS[STRING]] */ /* Element[CHARACTERS[STRING]] */
case 102:
/* Element[CHARACTERS[DATETIME]] */
case 130: case 130:
/* Element[CHARACTERS[STRING]] */ /* Element[CHARACTERS[STRING]] */
case 126: case 126:
@ -934,14 +938,10 @@ static int _exiEncodeEndElementUndeclared(bitstream_t* stream, exi_state_t* stat
/* Element[CHARACTERS[NBIT_UNSIGNED_INTEGER]] */ /* Element[CHARACTERS[NBIT_UNSIGNED_INTEGER]] */
case 80: case 80:
/* Element[CHARACTERS[BINARY_BASE64]] */ /* Element[CHARACTERS[BINARY_BASE64]] */
case 86:
/* Element[CHARACTERS[DATETIME]] */
case 56: case 56:
/* Element[CHARACTERS[STRING]] */ /* Element[CHARACTERS[STRING]] */
case 132: case 132:
/* Element[CHARACTERS[DATETIME]] */ /* Element[CHARACTERS[DATETIME]] */
case 94:
/* Element[CHARACTERS[STRING]] */
case 18: case 18:
/* Element[CHARACTERS[NBIT_UNSIGNED_INTEGER]] */ /* Element[CHARACTERS[NBIT_UNSIGNED_INTEGER]] */
/* 1st level and 2nd level event code */ /* 1st level and 2nd level event code */
@ -958,38 +958,38 @@ static int _exiEncodeEndElementUndeclared(bitstream_t* stream, exi_state_t* stat
/* FirstStartTag[CHARACTERS[UNSIGNED_INTEGER]] */ /* FirstStartTag[CHARACTERS[UNSIGNED_INTEGER]] */
case 57: case 57:
/* FirstStartTag[CHARACTERS[STRING]] */ /* FirstStartTag[CHARACTERS[STRING]] */
case 97:
/* FirstStartTag[CHARACTERS[DATETIME]] */
case 135: case 135:
/* FirstStartTag[CHARACTERS[NBIT_UNSIGNED_INTEGER]] */ /* FirstStartTag[CHARACTERS[NBIT_UNSIGNED_INTEGER]] */
case 5: case 5:
/* FirstStartTag[START_ELEMENT(ProtocolNamespace)] */ /* FirstStartTag[START_ELEMENT(ProtocolNamespace)] */
case 91:
/* FirstStartTag[CHARACTERS[FLOAT]] */
case 111: case 111:
/* FirstStartTag[CHARACTERS[INTEGER]] */ /* FirstStartTag[CHARACTERS[INTEGER]] */
case 103:
/* FirstStartTag[CHARACTERS[DATETIME]] */
case 7: case 7:
/* FirstStartTag[CHARACTERS[STRING]] */ /* FirstStartTag[CHARACTERS[STRING]] */
case 89:
/* FirstStartTag[CHARACTERS[DECIMAL]] */
case 123: case 123:
/* FirstStartTag[CHARACTERS[STRING]] */ /* FirstStartTag[CHARACTERS[STRING]] */
case 61: case 61:
/* FirstStartTag[CHARACTERS[STRING]] */ /* FirstStartTag[CHARACTERS[STRING]] */
case 99:
/* FirstStartTag[CHARACTERS[DATETIME]] */
case 73: case 73:
/* FirstStartTag[CHARACTERS[STRING]] */ /* FirstStartTag[CHARACTERS[STRING]] */
case 53: case 53:
/* FirstStartTag[CHARACTERS[STRING]] */ /* FirstStartTag[CHARACTERS[STRING]] */
case 91: case 93:
/* FirstStartTag[CHARACTERS[FLOAT]] */ /* FirstStartTag[CHARACTERS[STRING]] */
case 99:
/* FirstStartTag[CHARACTERS[DATETIME]] */
case 59: case 59:
/* FirstStartTag[CHARACTERS[LIST]] */ /* FirstStartTag[CHARACTERS[LIST]] */
case 63: case 63:
/* FirstStartTag[CHARACTERS[STRING]] */ /* FirstStartTag[CHARACTERS[STRING]] */
case 93:
/* FirstStartTag[CHARACTERS[STRING]] */
case 115: case 115:
/* FirstStartTag[CHARACTERS[INTEGER]] */ /* FirstStartTag[CHARACTERS[INTEGER]] */
case 101:
/* FirstStartTag[CHARACTERS[DATETIME]] */
case 71: case 71:
/* FirstStartTag[CHARACTERS[STRING]] */ /* FirstStartTag[CHARACTERS[STRING]] */
case 77: case 77:
@ -998,26 +998,20 @@ static int _exiEncodeEndElementUndeclared(bitstream_t* stream, exi_state_t* stat
/* FirstStartTag[CHARACTERS[STRING]] */ /* FirstStartTag[CHARACTERS[STRING]] */
case 121: case 121:
/* FirstStartTag[CHARACTERS[INTEGER]] */ /* FirstStartTag[CHARACTERS[INTEGER]] */
case 101:
/* FirstStartTag[CHARACTERS[DATETIME]] */
case 95:
/* FirstStartTag[CHARACTERS[FLOAT]] */
case 17: case 17:
/* FirstStartTag[CHARACTERS[NBIT_UNSIGNED_INTEGER]] */ /* FirstStartTag[CHARACTERS[NBIT_UNSIGNED_INTEGER]] */
case 83:
/* FirstStartTag[CHARACTERS[NBIT_UNSIGNED_INTEGER]] */
case 117: case 117:
/* FirstStartTag[CHARACTERS[INTEGER]] */ /* FirstStartTag[CHARACTERS[INTEGER]] */
case 3: case 3:
/* FirstStartTag[START_ELEMENT(AppProtocol)] */ /* FirstStartTag[START_ELEMENT(AppProtocol)] */
case 79:
/* FirstStartTag[CHARACTERS[BINARY_BASE64]] */
case 85:
/* FirstStartTag[CHARACTERS[DATETIME]] */
case 97:
/* FirstStartTag[CHARACTERS[DATETIME]] */
case 67:
/* FirstStartTag[CHARACTERS[STRING]] */
case 87: case 87:
/* FirstStartTag[CHARACTERS[DATETIME]] */ /* FirstStartTag[CHARACTERS[DATETIME]] */
case 79:
/* FirstStartTag[CHARACTERS[BINARY_BASE64]] */
case 67:
/* FirstStartTag[CHARACTERS[STRING]] */
case 137: case 137:
/* FirstStartTag[CHARACTERS[UNSIGNED_INTEGER]] */ /* FirstStartTag[CHARACTERS[UNSIGNED_INTEGER]] */
case 81: case 81:
@ -1042,10 +1036,12 @@ static int _exiEncodeEndElementUndeclared(bitstream_t* stream, exi_state_t* stat
/* FirstStartTag[START_ELEMENT(ResponseCode)] */ /* FirstStartTag[START_ELEMENT(ResponseCode)] */
case 20: case 20:
/* FirstStartTag[CHARACTERS[NBIT_UNSIGNED_INTEGER]] */ /* FirstStartTag[CHARACTERS[NBIT_UNSIGNED_INTEGER]] */
case 83: case 85:
/* FirstStartTag[CHARACTERS[NBIT_UNSIGNED_INTEGER]] */ /* FirstStartTag[CHARACTERS[DATETIME]] */
case 125: case 125:
/* FirstStartTag[CHARACTERS[UNSIGNED_INTEGER]] */ /* FirstStartTag[CHARACTERS[UNSIGNED_INTEGER]] */
case 103:
/* FirstStartTag[CHARACTERS[DATETIME]] */
case 138: case 138:
/* FirstStartTag[CHARACTERS[UNSIGNED_INTEGER]] */ /* FirstStartTag[CHARACTERS[UNSIGNED_INTEGER]] */
case 15: case 15:
@ -1054,10 +1050,14 @@ static int _exiEncodeEndElementUndeclared(bitstream_t* stream, exi_state_t* stat
/* FirstStartTag[CHARACTERS[STRING]] */ /* FirstStartTag[CHARACTERS[STRING]] */
case 131: case 131:
/* FirstStartTag[CHARACTERS[DATETIME]] */ /* FirstStartTag[CHARACTERS[DATETIME]] */
case 89:
/* FirstStartTag[CHARACTERS[DECIMAL]] */
case 107: case 107:
/* FirstStartTag[CHARACTERS[BINARY_HEX]] */ /* FirstStartTag[CHARACTERS[BINARY_HEX]] */
case 127: case 127:
/* FirstStartTag[CHARACTERS[INTEGER]] */ /* FirstStartTag[CHARACTERS[INTEGER]] */
case 95:
/* FirstStartTag[CHARACTERS[FLOAT]] */
/* 1st level and 2nd level event code */ /* 1st level and 2nd level event code */
encodeNBitUnsignedInteger(stream, 1, 1); encodeNBitUnsignedInteger(stream, 1, 1);
encodeNBitUnsignedInteger(stream, 3, 0); encodeNBitUnsignedInteger(stream, 3, 0);

View file

@ -19,7 +19,7 @@
/******************************************************************* /*******************************************************************
* *
* @author Daniel.Peintner.EXT@siemens.com * @author Daniel.Peintner.EXT@siemens.com
* @version 0.6 * @version 2012-01-31
* @contact Joerg.Heuer@siemens.com * @contact Joerg.Heuer@siemens.com
* *
* <p>Code generated by EXIdizer</p> * <p>Code generated by EXIdizer</p>

View file

@ -19,7 +19,7 @@
/******************************************************************* /*******************************************************************
* *
* @author Daniel.Peintner.EXT@siemens.com * @author Daniel.Peintner.EXT@siemens.com
* @version 2012-01-13 * @version 2012-01-31
* @contact Joerg.Heuer@siemens.com * @contact Joerg.Heuer@siemens.com
* *
* <p>Code generated by EXIdizer</p> * <p>Code generated by EXIdizer</p>

View file

@ -19,7 +19,7 @@
/******************************************************************* /*******************************************************************
* *
* @author Daniel.Peintner.EXT@siemens.com * @author Daniel.Peintner.EXT@siemens.com
* @version 2012-01-13 * @version 2012-01-31
* @contact Joerg.Heuer@siemens.com * @contact Joerg.Heuer@siemens.com
* *
* <p>Code generated by EXIdizer</p> * <p>Code generated by EXIdizer</p>

View file

@ -468,7 +468,7 @@ int currentDemand(struct MessageHeaderType* header, struct CurrentDemandReqType*
f.Multiplier = 0; f.Multiplier = 0;
f.Unit = V_unitSymbolType; f.Unit = V_unitSymbolType;
f.Value = 400; f.Value = 300;
result->EVSEPresentVoltage=f; result->EVSEPresentVoltage=f;
@ -479,7 +479,7 @@ int currentDemand(struct MessageHeaderType* header, struct CurrentDemandReqType*
result->EVSECurrentLimitAchieved=0; result->EVSECurrentLimitAchieved=0;
result->EVSEVoltageLimitAchieved=1; result->EVSEVoltageLimitAchieved=0;
result->EVSEPowerLimitAchieved=0; result->EVSEPowerLimitAchieved=0;

View file

@ -44,8 +44,6 @@
#include "EXITypes.h" #include "EXITypes.h"
#include "ByteStream.h" #include "ByteStream.h"
#define DEBUG 1
#if EXI_STREAM == BYTE_ARRAY #if EXI_STREAM == BYTE_ARRAY
/* 64 kilobytes = 65 536 bytes */ /* 64 kilobytes = 65 536 bytes */
/* 1 megabyte = 1 048 576 bytes*/ /* 1 megabyte = 1 048 576 bytes*/
@ -63,7 +61,9 @@ uint32_t codepoints[ARRAY_SIZE_STRINGS];
char charsNamespaceURI[ARRAY_SIZE_STRINGS_ASCII]; char charsNamespaceURI[ARRAY_SIZE_STRINGS_ASCII];
char charsLocalName[ARRAY_SIZE_STRINGS_ASCII]; char charsLocalName[ARRAY_SIZE_STRINGS_ASCII];
void debugValue(exi_value_t* val) ; #if EXI_DEBUG == EXI_DEBUG_ON
static void debugValue(exi_value_t* val);
#endif /*EXI_DEBUG*/
int main_codec(int argc, char *argv[]) { int main_codec(int argc, char *argv[]) {
@ -87,14 +87,18 @@ int main_codec(int argc, char *argv[]) {
/* BINARY memory setup */ /* BINARY memory setup */
bytes_t bytes = { ARRAY_SIZE_BYTES, bytesData, 0 }; bytes_t bytes = { ARRAY_SIZE_BYTES, bytesData, 0 };
#if EXI_DEBUG == EXI_DEBUG_ON
const char * localName; const char * localName;
const char * namespaceURI; const char * namespaceURI;
#endif /*EXI_DEBUG*/
int noEndOfDocument = 1; /* true */ int noEndOfDocument = 1; /* true */
/* STRING memory setup */ /* STRING memory setup */
string_ucs_t string = { ARRAY_SIZE_STRINGS, codepoints, 0 }; string_ucs_t string = { ARRAY_SIZE_STRINGS, codepoints, 0 };
string_ascii_t stringNamespaceURI = { ARRAY_SIZE_STRINGS_ASCII, charsNamespaceURI }; string_ascii_t stringNamespaceURI = { ARRAY_SIZE_STRINGS_ASCII,
string_ascii_t stringLocalName = { ARRAY_SIZE_STRINGS_ASCII, charsLocalName }; charsNamespaceURI };
string_ascii_t stringLocalName =
{ ARRAY_SIZE_STRINGS_ASCII, charsLocalName };
qn.namespaceURI = stringNamespaceURI; qn.namespaceURI = stringNamespaceURI;
qn.localName = stringLocalName; qn.localName = stringLocalName;
@ -153,240 +157,280 @@ int main_codec(int argc, char *argv[]) {
errn = exiInitNameTableRuntime(&runtimeTableEncode); errn = exiInitNameTableRuntime(&runtimeTableEncode);
exiInitEncoder(&oStream, &stateEncode, runtimeTableEncode); exiInitEncoder(&oStream, &stateEncode, runtimeTableEncode);
if (DEBUG) { #if EXI_DEBUG == EXI_DEBUG_ON
printf("[DECODE] >>> EXI >>> [ENCODE] \n"); printf("[DECODE] >>> EXI >>> [ENCODE] \n");
} #endif /*EXI_DEBUG*/
do { do {
if (errn < 0) { if (errn < 0) {
if (DEBUG) { #if EXI_DEBUG == EXI_DEBUG_ON
printf("[Encode-ERROR] %d \n", errn); printf("[Encode-ERROR] %d \n", errn);
} #endif /*EXI_DEBUG*/
return errn; return errn;
} }
errn = exiDecodeNextEvent(&iStream, &stateDecode, &event); errn = exiDecodeNextEvent(&iStream, &stateDecode,
&event);
if (errn < 0) { if (errn < 0) {
if (DEBUG) { #if EXI_DEBUG == EXI_DEBUG_ON
printf("[Decode-ERROR] %d \n", errn); printf("[Decode-ERROR] %d \n", errn);
} #endif /*EXI_DEBUG*/
return errn; return errn;
} }
switch (event) { switch (event) {
case START_DOCUMENT: case START_DOCUMENT:
/* decode */ /* decode */
errn = exiDecodeStartDocument(&iStream, &stateDecode); errn = exiDecodeStartDocument(&iStream,
&stateDecode);
if (errn < 0) { if (errn < 0) {
if (DEBUG) { #if EXI_DEBUG == EXI_DEBUG_ON
printf("[Decode-ERROR-SD] %d \n", errn); printf("[Decode-ERROR-SD] %d \n", errn);
} #endif /*EXI_DEBUG*/
return errn; return errn;
} }
if (DEBUG) { #if EXI_DEBUG == EXI_DEBUG_ON
printf(">> START_DOCUMENT \n"); printf(">> START_DOCUMENT \n");
} #endif /*EXI_DEBUG*/
/* encode */ /* encode */
errn = exiEncodeStartDocument(&oStream, &stateEncode); errn = exiEncodeStartDocument(&oStream,
&stateEncode);
break; break;
case END_DOCUMENT: case END_DOCUMENT:
/* decode */ /* decode */
errn = exiDecodeEndDocument(&iStream, &stateDecode); errn = exiDecodeEndDocument(&iStream,
&stateDecode);
if (errn < 0) { if (errn < 0) {
if (DEBUG) { #if EXI_DEBUG == EXI_DEBUG_ON
printf("[Decode-ERROR-ED] %d \n", errn); printf("[Decode-ERROR-ED] %d \n", errn);
} #endif /*EXI_DEBUG*/
return errn; return errn;
} }
if (DEBUG) { #if EXI_DEBUG == EXI_DEBUG_ON
printf(">> END_DOCUMENT \n"); printf(">> END_DOCUMENT \n");
} #endif /*EXI_DEBUG*/
/* encode */ /* encode */
errn = exiEncodeEndDocument(&oStream, &stateEncode); errn = exiEncodeEndDocument(&oStream,
&stateEncode);
/* signalize end of document */ /* signalize end of document */
noEndOfDocument = 0; /* false */ noEndOfDocument = 0; /* false */
break; break;
case START_ELEMENT: case START_ELEMENT:
/* decode */ /* decode */
errn = exiDecodeStartElement(&iStream, &stateDecode, &eqn); errn = exiDecodeStartElement(&iStream,
&stateDecode, &eqn);
if (errn < 0) { if (errn < 0) {
if (DEBUG) { #if EXI_DEBUG == EXI_DEBUG_ON
printf("[Decode-ERROR-SE] %d \n", errn); printf("[Decode-ERROR-SE] %d \n", errn);
} #endif /*EXI_DEBUG*/
return errn; return errn;
} }
if (DEBUG) { #if EXI_DEBUG == EXI_DEBUG_ON
exiGetLocalName(&(stateDecode.nameTablePrepopulated), &(stateDecode.nameTableRuntime), eqn.namespaceURI, eqn.localPart, &localName); exiGetLocalName(&(stateDecode.nameTablePrepopulated),
exiGetUri(&(stateDecode.nameTablePrepopulated), &(stateDecode.nameTableRuntime), eqn.namespaceURI, &namespaceURI); &(stateDecode.nameTableRuntime), eqn.namespaceURI,
printf(">> SE {%s}%s \n", namespaceURI, localName); eqn.localPart, &localName);
} exiGetUri(&(stateDecode.nameTablePrepopulated),
&(stateDecode.nameTableRuntime), eqn.namespaceURI,
&namespaceURI);
#endif /*EXI_DEBUG*/
/* encode */ /* encode */
errn = exiEncodeStartElement(&oStream, &stateEncode, &eqn); errn = exiEncodeStartElement(&oStream,
&stateEncode, &eqn);
break; break;
case START_ELEMENT_GENERIC: case START_ELEMENT_GENERIC:
/* decode */ /* decode */
errn = exiDecodeStartElementGeneric(&iStream, &stateDecode, &qn); errn = exiDecodeStartElementGeneric(&iStream,
&stateDecode, &qn);
if (errn < 0) { if (errn < 0) {
if (DEBUG) { #if EXI_DEBUG == EXI_DEBUG_ON
printf("[Decode-ERROR-SEgen] %d \n", errn); printf("[Decode-ERROR-SEgen] %d \n", errn);
} #endif /*EXI_DEBUG*/
return errn; return errn;
} }
if (DEBUG) { #if EXI_DEBUG == EXI_DEBUG_ON
printf(">> SE_Gen {%s}%s \n", stringNamespaceURI.chars, stringLocalName.chars); printf(">> SE_Gen {%s}%s \n", stringNamespaceURI.chars,
} stringLocalName.chars);
#endif /*EXI_DEBUG*/
/* encode */ /* encode */
errn = exiEncodeStartElementGeneric(&oStream, &stateEncode, errn = exiEncodeStartElementGeneric(&oStream,
&stringNamespaceURI, &stringLocalName); &stateEncode, &stringNamespaceURI, &stringLocalName);
break; break;
case END_ELEMENT: case END_ELEMENT:
/* decode */ /* decode */
errn = exiDecodeEndElement(&iStream, &stateDecode, &eqn); errn = exiDecodeEndElement(&iStream,
&stateDecode, &eqn);
if (errn < 0) { if (errn < 0) {
if (DEBUG) { #if EXI_DEBUG == EXI_DEBUG_ON
printf("[Decode-ERROR-EE] %d \n", errn); printf("[Decode-ERROR-EE] %d \n", errn);
} #endif /*EXI_DEBUG*/
return errn; return errn;
} }
if (DEBUG) { #if EXI_DEBUG == EXI_DEBUG_ON
printf("<< EE \n"); printf("<< EE \n");
} #endif /*EXI_DEBUG*/
/* encode */ /* encode */
errn = exiEncodeEndElement(&oStream, &stateEncode); errn
= exiEncodeEndElement(&oStream,
&stateEncode);
break; break;
case END_ELEMENT_UNDECLARED: case END_ELEMENT_UNDECLARED:
/* decode */ /* decode */
errn = exiDecodeEndElementUndeclared(&iStream, &stateDecode, &eqn); errn = exiDecodeEndElementUndeclared(&iStream,
&stateDecode, &eqn);
if (errn < 0) { if (errn < 0) {
if (DEBUG) { #if EXI_DEBUG == EXI_DEBUG_ON
printf("[Decode-ERROR-EE-Undecl] %d \n", errn); printf("[Decode-ERROR-EE-Undecl] %d \n", errn);
} #endif /*EXI_DEBUG*/
return errn; return errn;
} }
if (DEBUG) { #if EXI_DEBUG == EXI_DEBUG_ON
printf("<< EEundecl \n"); printf("<< EEundecl \n");
} #endif /*EXI_DEBUG*/
/* encode */ /* encode */
errn = exiEncodeEndElement(&oStream, &stateEncode); errn
= exiEncodeEndElement(&oStream,
&stateEncode);
break; break;
case CHARACTERS: case CHARACTERS:
/* decode */ /* decode */
errn = exiDecodeCharacters(&iStream, &stateDecode, &val); errn = exiDecodeCharacters(&iStream,
&stateDecode, &val);
if (errn < 0) { if (errn < 0) {
if (DEBUG) { #if EXI_DEBUG == EXI_DEBUG_ON
printf("[Decode-ERROR-CH] %d \n", errn); printf("[Decode-ERROR-CH] %d \n", errn);
} #endif /*EXI_DEBUG*/
return errn; return errn;
} }
if (DEBUG) { #if EXI_DEBUG == EXI_DEBUG_ON
debugValue(&val); debugValue(&val);
} #endif /*EXI_DEBUG*/
/* encode */ /* encode */
errn = exiEncodeCharacters(&oStream, &stateEncode, &val); errn = exiEncodeCharacters(&oStream,
&stateEncode, &val);
break; break;
case CHARACTERS_GENERIC: case CHARACTERS_GENERIC:
/* decode */ /* decode */
errn = exiDecodeCharactersGeneric(&iStream, &stateDecode, &val); errn = exiDecodeCharactersGeneric(&iStream,
&stateDecode, &val);
if (errn < 0) { if (errn < 0) {
if (DEBUG) { #if EXI_DEBUG == EXI_DEBUG_ON
printf("[Decode-ERROR-CHgen] %d \n", errn); printf("[Decode-ERROR-CHgen] %d \n", errn);
} #endif /*EXI_DEBUG*/
return errn; return errn;
} }
if (DEBUG) { #if EXI_DEBUG == EXI_DEBUG_ON
debugValue(&val); debugValue(&val);
} #endif /*EXI_DEBUG*/
/* encode */ /* encode */
errn = exiEncodeCharacters(&oStream, &stateEncode, &val); errn = exiEncodeCharacters(&oStream,
&stateEncode, &val);
break; break;
case CHARACTERS_GENERIC_UNDECLARED: case CHARACTERS_GENERIC_UNDECLARED:
/* decode */ /* decode */
errn = exiDecodeCharactersGenericUndeclared(&iStream, &stateDecode, &val); errn = exiDecodeCharactersGenericUndeclared(
&iStream, &stateDecode, &val);
if (errn < 0) { if (errn < 0) {
if (DEBUG) { #if EXI_DEBUG == EXI_DEBUG_ON
printf("[Decode-ERROR-CHgenUndecl] %d \n", errn); printf("[Decode-ERROR-CHgenUndecl] %d \n", errn);
} #endif /*EXI_DEBUG*/
return errn; return errn;
} }
if (DEBUG) { #if EXI_DEBUG == EXI_DEBUG_ON
debugValue(&val); debugValue(&val);
} #endif /*EXI_DEBUG*/
/* encode */ /* encode */
errn = exiEncodeCharacters(&oStream, &stateEncode, &val); errn = exiEncodeCharacters(&oStream,
&stateEncode, &val);
break; break;
case ATTRIBUTE: case ATTRIBUTE:
/* decode */ /* decode */
errn = exiDecodeAttribute(&iStream, &stateDecode, &eqn, &val); errn = exiDecodeAttribute(&iStream, &stateDecode,
&eqn, &val);
if (errn < 0) { if (errn < 0) {
if (DEBUG) { #if EXI_DEBUG == EXI_DEBUG_ON
printf("[Decode-ERROR-AT] %d \n", errn); printf("[Decode-ERROR-AT] %d \n", errn);
} #endif /*EXI_DEBUG*/
return errn; return errn;
} }
if (DEBUG) { #if EXI_DEBUG == EXI_DEBUG_ON
exiGetLocalName(&(stateDecode.nameTablePrepopulated), &(stateDecode.nameTableRuntime), eqn.namespaceURI, eqn.localPart, &localName); exiGetLocalName(&(stateDecode.nameTablePrepopulated),
exiGetUri(&(stateDecode.nameTablePrepopulated), &(stateDecode.nameTableRuntime), eqn.namespaceURI, &namespaceURI); &(stateDecode.nameTableRuntime), eqn.namespaceURI,
eqn.localPart, &localName);
exiGetUri(&(stateDecode.nameTablePrepopulated),
&(stateDecode.nameTableRuntime), eqn.namespaceURI,
&namespaceURI);
printf(" AT {%s}%s \n", namespaceURI, localName); printf(" AT {%s}%s \n", namespaceURI, localName);
debugValue(&val); debugValue(&val);
} #endif /*EXI_DEBUG*/
/* encode */ /* encode */
errn = exiEncodeAttribute(&oStream, &stateEncode, &eqn, &val); errn = exiEncodeAttribute(&oStream, &stateEncode,
&eqn, &val);
break; break;
case ATTRIBUTE_XSI_NIL: case ATTRIBUTE_XSI_NIL:
/* decode */ /* decode */
errn = exiDecodeAttributeXsiNil(&iStream, &stateDecode, &val); errn = exiDecodeAttributeXsiNil(&iStream,
&stateDecode, &val);
if (errn < 0) { if (errn < 0) {
if (DEBUG) { #if EXI_DEBUG == EXI_DEBUG_ON
printf("[Decode-ERROR-AT-NIL] %d \n", errn); printf("[Decode-ERROR-AT-NIL] %d \n", errn);
} #endif /*EXI_DEBUG*/
return errn; return errn;
} }
if (DEBUG) { #if EXI_DEBUG == EXI_DEBUG_ON
printf(" AT {xsi}nil == %i \n", val.boolean); printf(" AT {xsi}nil == %i \n", val.boolean);
} #endif /*EXI_DEBUG*/
/* encode */ /* encode */
errn = exiEncodeAttributeXsiNil(&oStream, &stateEncode, &val); errn = exiEncodeAttributeXsiNil(&oStream,
&stateEncode, &val);
break; break;
case ATTRIBUTE_XSI_TYPE: case ATTRIBUTE_XSI_TYPE:
/* decode */ /* decode */
errn = exiDecodeAttributeXsiType(&iStream, &stateDecode, &val); errn = exiDecodeAttributeXsiType(&iStream,
&stateDecode, &val);
if (errn < 0) { if (errn < 0) {
if (DEBUG) { #if EXI_DEBUG == EXI_DEBUG_ON
printf("[Decode-ERROR-AT-TYPE] %d \n", errn); printf("[Decode-ERROR-AT-TYPE] %d \n", errn);
} #endif /*EXI_DEBUG*/
return errn; return errn;
} }
if (DEBUG) { #if EXI_DEBUG == EXI_DEBUG_ON
exiGetLocalName(&(stateDecode.nameTablePrepopulated), &(stateDecode.nameTableRuntime), val.eqname.namespaceURI, val.eqname.localPart, &localName); exiGetLocalName(&(stateDecode.nameTablePrepopulated),
exiGetUri(&(stateDecode.nameTablePrepopulated), &(stateDecode.nameTableRuntime), val.eqname.namespaceURI, &namespaceURI); &(stateDecode.nameTableRuntime), val.eqname.namespaceURI,
val.eqname.localPart, &localName);
exiGetUri(&(stateDecode.nameTablePrepopulated),
&(stateDecode.nameTableRuntime), val.eqname.namespaceURI,
&namespaceURI);
printf(" AT {type}type == {%s}%s \n", namespaceURI, localName); printf(" AT {type}type == {%s}%s \n", namespaceURI, localName);
} #endif /*EXI_DEBUG*/
/* encode */ /* encode */
errn = exiEncodeAttributeXsiType(&oStream, &stateEncode, &val); errn = exiEncodeAttributeXsiType(&oStream,
&stateEncode, &val);
break; break;
case ATTRIBUTE_GENERIC_UNDECLARED: case ATTRIBUTE_GENERIC_UNDECLARED:
/* decode */ /* decode */
errn = exiDecodeAttributeGenericUndeclared(&iStream, &stateDecode, &qn, &val); errn = exiDecodeAttributeGenericUndeclared(
&iStream, &stateDecode, &qn, &val);
if (errn < 0) { if (errn < 0) {
if (DEBUG) { #if EXI_DEBUG == EXI_DEBUG_ON
printf("[Decode-ERROR-ATgenUnd] %d \n", errn); printf("[Decode-ERROR-ATgenUnd] %d \n", errn);
} #endif /*EXI_DEBUG*/
return errn; return errn;
} }
if (DEBUG) { #if EXI_DEBUG == EXI_DEBUG_ON
/* exiGetLocalName(&(stateDecode.nameTablePrepopulated), &(stateDecode.nameTableRuntime), eqn.namespaceURI, eqn.localPart, &localName); /* exiGetLocalName(&(stateDecode.nameTablePrepopulated), &(stateDecode.nameTableRuntime), eqn.namespaceURI, eqn.localPart, &localName);
exiGetUri(&(stateDecode.nameTablePrepopulated), &(stateDecode.nameTableRuntime), eqn.namespaceURI, &namespaceURI); */ exiGetUri(&(stateDecode.nameTablePrepopulated), &(stateDecode.nameTableRuntime), eqn.namespaceURI, &namespaceURI); */
printf(" AT {%s}%s \n", qn.namespaceURI.chars, qn.localName.chars); printf(" AT {%s}%s \n", qn.namespaceURI.chars, qn.localName.chars);
debugValue(&val); debugValue(&val);
} #endif /*EXI_DEBUG*/
/* encode */ /* encode */
errn = exiEncodeAttribute(&oStream, &stateEncode, &eqn, &val); errn = exiEncodeAttribute(&oStream, &stateEncode,
&eqn, &val);
break; break;
default: default:
/* ERROR */ /* ERROR */
if (DEBUG) { #if EXI_DEBUG == EXI_DEBUG_ON
printf("[Unknown-Event] %d \n", event); printf("[Unknown-Event] %d \n", event);
} #endif /*EXI_DEBUG*/
return EXI_ERROR_UNKOWN_EVENT; return EXI_ERROR_UNKOWN_EVENT;
} }
@ -440,8 +484,8 @@ static int _setInt32Value(integer_t* iv, int32_t* int32) {
return errn; return errn;
} }
#if EXI_DEBUG == EXI_DEBUG_ON
void debugValue(exi_value_t* val) { static void debugValue(exi_value_t* val) {
int i; int i;
switch (val->type) { switch (val->type) {
case INTEGER: case INTEGER:
@ -457,7 +501,8 @@ void debugValue(exi_value_t* val) {
printf(" Value uint32 : %d \n", val->integer.val.uint32); printf(" Value uint32 : %d \n", val->integer.val.uint32);
break; break;
case UNSIGNED_INTEGER_64: case UNSIGNED_INTEGER_64:
printf(" Value uint64 : %ld \n", (long unsigned int) val->integer.val.uint64); printf(" Value uint64 : %ld \n",
(long unsigned int) val->integer.val.uint64);
break; break;
/* (Signed) Integer */ /* (Signed) Integer */
case INTEGER_8: case INTEGER_8:
@ -496,4 +541,5 @@ void debugValue(exi_value_t* val) {
printf(" Value ?? \n"); printf(" Value ?? \n");
} }
} }
#endif /*EXI_DEBUG*/

View file

@ -798,7 +798,7 @@ static int dc_charging()
/* setup EVStatus */ /* setup EVStatus */
EVStatus.EVRESSSOC = 89; EVStatus.EVRESSSOC = 30;
EVStatus.EVReady = 1; EVStatus.EVReady = 1;
EVStatus.EVCabinConditioning = 1; EVStatus.EVCabinConditioning = 1;
EVStatus.EVRESSConditioning = 1; EVStatus.EVRESSConditioning = 1;
@ -1112,12 +1112,12 @@ static int dc_charging()
currentDemand.DC_EVStatus = EVStatus; currentDemand.DC_EVStatus = EVStatus;
float_type.Unit = A_unitSymbolType; float_type.Unit = A_unitSymbolType;
float_type.Value = 100; float_type.Value = 50;
currentDemand.EVTargetCurrent = float_type; currentDemand.EVTargetCurrent = float_type;
float_type.Unit = V_unitSymbolType; float_type.Unit = V_unitSymbolType;
float_type.Value = 420; float_type.Value = 400;
currentDemand.EVMaximumVoltageLimit = float_type; currentDemand.EVMaximumVoltageLimit = float_type;
currentDemand.isused.EVMaximumVoltageLimit = 1; currentDemand.isused.EVMaximumVoltageLimit = 1;
@ -1129,7 +1129,7 @@ static int dc_charging()
currentDemand.isused.EVMaximumPowerLimit = 1; currentDemand.isused.EVMaximumPowerLimit = 1;
float_type.Unit = A_unitSymbolType; float_type.Unit = A_unitSymbolType;
float_type.Value = 60; float_type.Value = 50;
currentDemand.EVMaximumCurrentLimit = float_type; currentDemand.EVMaximumCurrentLimit = float_type;
currentDemand.isused.EVMaximumCurrentLimit = 1; currentDemand.isused.EVMaximumCurrentLimit = 1;
@ -1139,17 +1139,16 @@ static int dc_charging()
currentDemand.ChargingComplete = 0; currentDemand.ChargingComplete = 0;
float_type.Unit = s_unitSymbolType; /* float_type.Unit = s_unitSymbolType;
float_type.Value = 300; /* 5 min*/ float_type.Value = 1200;
currentDemand.RemainingTimeToFullSoC = float_type; */
currentDemand.isused.RemainingTimeToFullSoC = 0;
currentDemand.RemainingTimeToFullSoC = float_type; /* float_type.Unit = s_unitSymbolType;
currentDemand.isused.RemainingTimeToFullSoC = 1; float_type.Value = 1200;
float_type.Unit = s_unitSymbolType; currentDemand.RemainingTimeToBulkSoC = float_type; */
float_type.Value = 120; /* 3 min */ currentDemand.isused.RemainingTimeToBulkSoC = 0;
currentDemand.RemainingTimeToBulkSoC = float_type;
currentDemand.isused.RemainingTimeToBulkSoC = 1;
float_type.Unit = V_unitSymbolType; float_type.Unit = V_unitSymbolType;