/* * Copyright (C) 2007-2010 Siemens AG * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with this program. If not, see . */ /******************************************************************* * * @author Sebastian.Kaebisch.EXT@siemens.com * @version 0.2.2 * @contact Joerg.Heuer@siemens.com * ********************************************************************/ #include "v2g_serviceClientDataTransmitter.h" #include "v2g_server.h" #include "Bitstream.h" /* This method has to be implemented! * Send EXI stream (outStream) to EVSE and receive response stream (inStream)*/ int serviceDataTransmitter(uint8_t* outStream, size_t outStreamLength, uint8_t* inStream) { /* send output stream to the underlying network to the EVSE and wait for response * --> here provide data to the V2G server directly*/ testV2GService(outStream, outStreamLength, inStream); return 0; }