diff --git a/.cproject b/.cproject
index 59cd59b..24e4257 100644
--- a/.cproject
+++ b/.cproject
@@ -40,6 +40,8 @@
+
+
diff --git a/src/service/v2g_serviceDataSerialization.c b/src/service/v2g_serviceDataSerialization.c
index 9633b71..101968c 100644
--- a/src/service/v2g_serviceDataSerialization.c
+++ b/src/service/v2g_serviceDataSerialization.c
@@ -316,40 +316,6 @@ static int serialize_SignedInfoType(struct SignedInfoType* type, struct EXIServi
- return 0;
-}
-
-
-static int serialize_SignatureValueType(struct SignatureValueType* type, struct EXIService* service)
-{
-
- /* element ID assignment of attr_Id*/
- service->eqn.namespaceURI=0;
- service->eqn.localPart=2;
- /* encode start element attr_Id */
- if (exiEncodeStartElement(&(service->outStream), &(service->stateEncode), &(service->eqn)))
- {
- return -1;
- }
-
- service->val.type = STRING;
-/* service->val.string.len = type->attr_Id.arraylen.data;
- service->val.string.codepoints = type->attr_Id.data;
-*/
- /* encode character attr_Id */
- if (exiEncodeCharacters(&(service->outStream), &(service->stateEncode), &(service->val)))
- {
-
- return -1;
- }
-
-
- /* encode end element of attr_Id */
- exiEncodeEndElement(&(service->outStream), &(service->stateEncode));
-
-
-
-
return 0;
}
diff --git a/src/service/v2g_serviceDispatcher.c b/src/service/v2g_serviceDispatcher.c
index 8a614f1..7128805 100644
--- a/src/service/v2g_serviceDispatcher.c
+++ b/src/service/v2g_serviceDispatcher.c
@@ -45,19 +45,19 @@
static int deserializeMessage(struct EXIService* service);
-static int _setInt32Value(integer_t* iv, int32_t* int32) {
+static int _setUInt32Value(integer_t* iv, uint32_t* uint32) {
int errn = 0;
switch(iv->type) {
/* Unsigned Integer */
case UNSIGNED_INTEGER_8:
- *int32 = iv->val.uint8;
+ *uint32 = iv->val.uint8;
break;
case UNSIGNED_INTEGER_16:
- *int32 = iv->val.uint16;
+ *uint32 = iv->val.uint16;
break;
case UNSIGNED_INTEGER_32:
if (iv->val.uint32 <= 2147483647) {
- *int32 = iv->val.uint32;
+ *uint32 = iv->val.uint32;
} else {
errn = EXI_UNSUPPORTED_INTEGER_VALUE;
}
@@ -67,13 +67,13 @@ static int _setInt32Value(integer_t* iv, int32_t* int32) {
break;
/* (Signed) Integer */
case INTEGER_8:
- *int32 = iv->val.int8;
+ *uint32 = iv->val.int8;
break;
case INTEGER_16:
- *int32 = iv->val.int16;
+ *uint32 = iv->val.int16;
break;
case INTEGER_32:
- *int32 = iv->val.int32;
+ *uint32 = iv->val.int32;
break;
case INTEGER_64:
errn = EXI_UNSUPPORTED_INTEGER_VALUE;
@@ -993,7 +993,7 @@ static int deserializeElementAttributeCharacter(struct EXIService* service)
case 30: /*DepartureTime*/
if(service->val.type == UNSIGNED_INTEGER)
{
- _setInt32Value( &(service->val.integer),&(service->exiMsg.V2G_Message.Body.ChargeParameterDiscoveryReq->AC_EVChargeParameter->DepartureTime));
+ _setUInt32Value( &(service->val.integer),&(service->exiMsg.V2G_Message.Body.ChargeParameterDiscoveryReq->AC_EVChargeParameter->DepartureTime));
}
@@ -1226,7 +1226,7 @@ static int deserializeElementAttributeCharacter(struct EXIService* service)
case 12: /*ChargingProfileEntryStart*/
if(service->val.type == UNSIGNED_INTEGER)
{
- _setInt32Value( &(service->val.integer),&(service->exiMsg.V2G_Message.Body.PowerDeliveryReq->ChargingProfile.ProfileEntry[service->exiMsg.V2G_Message.Body.PowerDeliveryReq->ChargingProfile.arraylen.ProfileEntry].ChargingProfileEntryStart));
+ _setUInt32Value( &(service->val.integer),&(service->exiMsg.V2G_Message.Body.PowerDeliveryReq->ChargingProfile.ProfileEntry[service->exiMsg.V2G_Message.Body.PowerDeliveryReq->ChargingProfile.arraylen.ProfileEntry].ChargingProfileEntryStart));
}