From ff85c0c60d8fa029872450b6f34cc4a3b8f77e8f Mon Sep 17 00:00:00 2001 From: sebastiankb Date: Mon, 30 Jan 2012 17:02:17 +0000 Subject: [PATCH] OpenV2G 0.6 init git-svn-id: https://svn.code.sf.net/p/openv2g/code/trunk@50 d9f2db14-54d0-4bde-b00c-16405c910529 --- .cproject | 2 + README.txt | 15 +- data/test/sessionSetupReq.xml | 6 +- data/test/sessionSetupReq.xml.exi | Bin 17 -> 0 bytes data/test/sessionSetupRes.xml | 6 +- data/test/sessionSetupRes.xml.exi | Bin 22 -> 0 bytes .../appHand_DataDeserialization.c | 332 + src/appHandshake/appHand_DataSerialization.c | 435 + src/appHandshake/appHand_dataTypes.c | 70 + src/appHandshake/appHand_dataTypes.h | 130 + src/appHandshake/appHand_service.h | 84 + src/codec/AbstractDecoderChannel.c | 579 ++ src/codec/AbstractEncoderChannel.c | 436 + src/codec/BitDecoderChannel.c | 73 + src/codec/BitEncoderChannel.c | 88 + src/codec/BitInputStream.c | 110 + src/codec/BitInputStream.h | 48 + src/codec/BitOutputStream.c | 118 + src/codec/BitOutputStream.h | 52 + src/codec/ByteDecoderChannel.c | 93 + src/codec/ByteEncoderChannel.c | 125 + src/codec/ByteStream.c | 79 + src/codec/ByteStream.h | 48 + src/codec/CoderChannel.h | 48 + src/codec/DecoderChannel.h | 178 + src/codec/EXICoder.c | 2650 +++++ src/codec/EXICoder.h | 65 + src/codec/EXIDecoder.c | 8917 +++++++++++++++++ src/codec/EXIDecoder.h | 90 + src/codec/EXIEncoder.c | 8359 +++++++++++++++ src/codec/EXIEncoder.h | 76 + src/codec/EXIHeaderDecoder.c | 59 + src/codec/EXIHeaderDecoder.h | 46 + src/codec/EXIHeaderEncoder.c | 44 + src/codec/EXIHeaderEncoder.h | 46 + src/codec/EXITypes.h | 433 + src/codec/EncoderChannel.h | 180 + src/codec/MethodsBag.c | 106 + src/codec/MethodsBag.h | 59 + src/codec/NameTableEntries.c | 207 + src/codec/NameTableEntries.h | 41 + src/codec/StringTable.c | 249 + src/codec/StringTable.h | 69 + src/codec/UCSString.c | 66 + src/codec/UCSString.h | 52 + src/codec/appHandCodec/appHand_EXIDecoder.c | 1885 ++++ src/codec/appHandCodec/appHand_EXIDecoder.h | 90 + src/codec/appHandCodec/appHand_EXIEncoder.c | 1968 ++++ src/codec/appHandCodec/appHand_EXIEncoder.h | 76 + src/service/v2g_service.h | 81 + src/service/v2g_serviceClientStubs.c | 3381 +++++++ src/service/v2g_serviceClientStubs.h | 267 + src/service/v2g_serviceDataSerialization.c | 7858 +++++++++++++++ src/service/v2g_serviceDataTypes.c | 848 ++ src/service/v2g_serviceDataTypes.h | 1679 ++++ src/service/v2g_serviceDispatcher.c | 2509 +++++ src/service/v2g_serviceDispatcher.h | 43 + src/service/v2g_serviceMethods.h | 87 + src/test/evse_server.c | 184 + src/test/evse_server.h | 33 + src/test/evse_serviceMethods.c | 573 ++ src/test/main.c | 42 + src/test/main.h | 34 + src/test/pev_service.c | 1403 +++ src/test/serviceClientDataTransmitter.c | 47 + src/transport/v2gtp.c | 98 + src/transport/v2gtp.h | 54 + 67 files changed, 48199 insertions(+), 10 deletions(-) delete mode 100644 data/test/sessionSetupReq.xml.exi delete mode 100644 data/test/sessionSetupRes.xml.exi create mode 100644 src/appHandshake/appHand_DataDeserialization.c create mode 100644 src/appHandshake/appHand_DataSerialization.c create mode 100644 src/appHandshake/appHand_dataTypes.c create mode 100644 src/appHandshake/appHand_dataTypes.h create mode 100644 src/appHandshake/appHand_service.h create mode 100644 src/codec/AbstractDecoderChannel.c create mode 100644 src/codec/AbstractEncoderChannel.c create mode 100644 src/codec/BitDecoderChannel.c create mode 100644 src/codec/BitEncoderChannel.c create mode 100644 src/codec/BitInputStream.c create mode 100644 src/codec/BitInputStream.h create mode 100644 src/codec/BitOutputStream.c create mode 100644 src/codec/BitOutputStream.h create mode 100644 src/codec/ByteDecoderChannel.c create mode 100644 src/codec/ByteEncoderChannel.c create mode 100644 src/codec/ByteStream.c create mode 100644 src/codec/ByteStream.h create mode 100644 src/codec/CoderChannel.h create mode 100644 src/codec/DecoderChannel.h create mode 100644 src/codec/EXICoder.c create mode 100644 src/codec/EXICoder.h create mode 100644 src/codec/EXIDecoder.c create mode 100644 src/codec/EXIDecoder.h create mode 100644 src/codec/EXIEncoder.c create mode 100644 src/codec/EXIEncoder.h create mode 100644 src/codec/EXIHeaderDecoder.c create mode 100644 src/codec/EXIHeaderDecoder.h create mode 100644 src/codec/EXIHeaderEncoder.c create mode 100644 src/codec/EXIHeaderEncoder.h create mode 100644 src/codec/EXITypes.h create mode 100644 src/codec/EncoderChannel.h create mode 100644 src/codec/MethodsBag.c create mode 100644 src/codec/MethodsBag.h create mode 100644 src/codec/NameTableEntries.c create mode 100644 src/codec/NameTableEntries.h create mode 100644 src/codec/StringTable.c create mode 100644 src/codec/StringTable.h create mode 100644 src/codec/UCSString.c create mode 100644 src/codec/UCSString.h create mode 100644 src/codec/appHandCodec/appHand_EXIDecoder.c create mode 100644 src/codec/appHandCodec/appHand_EXIDecoder.h create mode 100644 src/codec/appHandCodec/appHand_EXIEncoder.c create mode 100644 src/codec/appHandCodec/appHand_EXIEncoder.h create mode 100644 src/service/v2g_service.h create mode 100644 src/service/v2g_serviceClientStubs.c create mode 100644 src/service/v2g_serviceClientStubs.h create mode 100644 src/service/v2g_serviceDataSerialization.c create mode 100644 src/service/v2g_serviceDataTypes.c create mode 100644 src/service/v2g_serviceDataTypes.h create mode 100644 src/service/v2g_serviceDispatcher.c create mode 100644 src/service/v2g_serviceDispatcher.h create mode 100644 src/service/v2g_serviceMethods.h create mode 100644 src/test/evse_server.c create mode 100644 src/test/evse_server.h create mode 100644 src/test/evse_serviceMethods.c create mode 100644 src/test/main.c create mode 100644 src/test/main.h create mode 100644 src/test/pev_service.c create mode 100644 src/test/serviceClientDataTransmitter.c create mode 100644 src/transport/v2gtp.c create mode 100644 src/transport/v2gtp.h diff --git a/.cproject b/.cproject index fdb50af..59cd59b 100644 --- a/.cproject +++ b/.cproject @@ -30,6 +30,8 @@