summaryrefslogtreecommitdiff
path: root/src/examples/wintestclient/wintestclient.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/examples/wintestclient/wintestclient.cpp')
-rwxr-xr-xsrc/examples/wintestclient/wintestclient.cpp65
1 files changed, 0 insertions, 65 deletions
diff --git a/src/examples/wintestclient/wintestclient.cpp b/src/examples/wintestclient/wintestclient.cpp
deleted file mode 100755
index 78225b2..0000000
--- a/src/examples/wintestclient/wintestclient.cpp
+++ /dev/null
@@ -1,65 +0,0 @@
-/*******************************************************************************
-** **
-** SRC-MODULE: wintestclient.cpp **
-** **
-** TARGET : Windows **
-** **
-** PROJECT : DLT **
-** **
-** AUTHOR : Alexander Wenzel Alexander.AW.Wenzel@bmw.de **
-** Markus Klein **
-** **
-** PURPOSE : **
-** **
-** REMARKS : **
-** **
-** PLATFORM DEPENDANT [yes/no]: yes **
-** **
-** TO BE CHANGED BY USER [yes/no]: no **
-** **
-*******************************************************************************/
-
-/*******************************************************************************
-** Author Identity **
-********************************************************************************
-** **
-** Initials Name Company **
-** -------- ------------------------- ---------------------------------- **
-** aw Alexander Wenzel BMW **
-** mk Markus Klein Fraunhofer ESK **
-*******************************************************************************/
-
-#include "stdafx.h"
-#include "winclientlib.h"
-
-#include <string.h>
-
-static int counter=0;
-
-int My_message_Callback(DltMessage *message, void *data)
-{
- counter++;
-
- printf("Message received, %d\n", counter);
- return 0;
-}
-
-int _tmain(int argc, _TCHAR* argv[])
-{
- char text[] = "Hello from WinTestClient";
-
- printf("WinTestClient\n");
-
- Dlt_RegisterMessageCallback(My_message_Callback);
-
- Dlt_StartClient("192.168.56.101");
-
- Dlt_InjectCall("LOG","TEST",0xFFF,(uint8_t*)text,strlen(text)+1);
-
- getchar();
-
- Dlt_ExitClient();
-
- return 0;
-}
-