mirror of
https://github.com/Martin-P/OpenV2G.git
synced 2024-11-18 12:53:58 +00:00
* 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:
parent
102e607847
commit
69ef78539d
7 changed files with 18 additions and 14 deletions
|
@ -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
|
|
@ -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;
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
|
@ -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)*/
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue