* adds service (server & client)

git-svn-id: https://svn.code.sf.net/p/openv2g/code/trunk@9 d9f2db14-54d0-4bde-b00c-16405c910529
This commit is contained in:
daniel_peintner 2010-10-01 19:34:18 +00:00
parent 102e607847
commit 69ef78539d
7 changed files with 18 additions and 14 deletions

View file

@ -24,3 +24,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
-------------------------------------------------------------------------
CHANGES from version 0.1:
-------------------------------------------------------------------------
* Bug-fixes
* Service and Client added

View file

@ -18,7 +18,7 @@
/*******************************************************************
*
* @author Daniel.Peintner.EXT@siemens.com
* @version 0.1
* @version 0.2
* @contact Joerg.Heuer@siemens.com
*
* <p>Sample program to illustrate how to read an EXI stream and
@ -43,7 +43,7 @@
uint8_t data[ARRAY_SIZE_BYTES];
uint32_t codepoints[ARRAY_SIZE_STRINGS];
int mainX(int argc, char *argv[]) {
int main_codec(int argc, char *argv[]) {
int errn = 0;
unsigned int i;

View file

@ -25,11 +25,11 @@
#include "service/v2g_service.h"
#include "service/v2g_serviceDataTypes.h"
#include "service/v2g_serviceClientStubs.h"
#include "codec/EXITypes.h"
#include "codec/BitStream.h"
#include "v2g_service.h"
#include "v2g_serviceDataTypes.h"
#include "v2g_serviceClientStubs.h"
#include "EXITypes.h"
#include "BitStream.h"
#include <stdlib.h>

View file

@ -24,8 +24,8 @@
********************************************************************/
#include "v2g_server.h"
#include "service/v2g_service.h"
#include "service/v2g_serviceDispatcher.h"
#include "v2g_service.h"
#include "v2g_serviceDispatcher.h"
#define MAX_BYTE_SIZE 128
#define MAX_STRING_SIZE 256

View file

@ -25,7 +25,7 @@
#ifndef V2G_SERVER_H_
#define V2G_SERVER_H_
#include "codec/EXITypes.h"
#include "EXITypes.h"
int testV2GService(uint8_t* inStream, size_t inStreamLength, uint8_t* outStream);

View file

@ -23,9 +23,9 @@
*
********************************************************************/
#include "service/v2g_serviceClientDataTransmitter.h"
#include "v2g_serviceClientDataTransmitter.h"
#include "v2g_server.h"
#include "codec/Bitstream.h"
#include "Bitstream.h"
/* This method has to be implemented!
* Send EXI stream (outStream) to EVSE and receive response stream (inStream)*/

View file

@ -23,8 +23,8 @@
*
********************************************************************/
#include "service/v2g_serviceMethods.h"
#include "service/v2g_serviceDataTypes.h"
#include "v2g_serviceMethods.h"
#include "v2g_serviceDataTypes.h"
#include <stdio.h>
int sessionSetup(struct SessionSetupReqType* param, struct SessionSetupResType* result)