automotive-dlt
dlt-example-filetransfer.c File Reference
#include <stdlib.h>
#include <stdio.h>
#include <ctype.h>
#include <dlt_filetransfer.h>
#include <dlt.h>
Include dependency graph for dlt-example-filetransfer.c:

Go to the source code of this file.

Macros

#define MAXSTRLEN   1024
 
#define FLTR_APP_DESC   "Filetransfer application"
 
#define FLTR_CONTEXT_DESC   "Filetransfer context"
 
#define FLTR_APP   "FLTR"
 
#define FLTR_CONTEXT   "FLTR"
 
#define TIMEOUT   1
 

Functions

 DLT_DECLARE_CONTEXT (fileContext)
 Declare some context for the file transfer. It's not a must have to do this, but later you can set a filter on this context in the dlt viewer. More...
 
int main (int argc, char *argv[])
 Main program dlt-test-filestransfer starts here. More...
 

Detailed Description

Author
Alexander Wenzel alexa.nosp@m.nder.nosp@m..aw.w.nosp@m.enze.nosp@m.l@bmw.nosp@m..de

Definition in file dlt-example-filetransfer.c.

Macro Definition Documentation

#define FLTR_APP   "FLTR"

Definition at line 70 of file dlt-example-filetransfer.c.

Referenced by main().

#define FLTR_APP_DESC   "Filetransfer application"

Definition at line 67 of file dlt-example-filetransfer.c.

Referenced by main().

#define FLTR_CONTEXT   "FLTR"

Definition at line 71 of file dlt-example-filetransfer.c.

Referenced by main().

#define FLTR_CONTEXT_DESC   "Filetransfer context"

Definition at line 68 of file dlt-example-filetransfer.c.

Referenced by main().

#define MAXSTRLEN   1024

Definition at line 65 of file dlt-example-filetransfer.c.

#define TIMEOUT   1

Definition at line 73 of file dlt-example-filetransfer.c.

Referenced by main().

Function Documentation

DLT_DECLARE_CONTEXT ( fileContext  )

Declare some context for the file transfer. It's not a must have to do this, but later you can set a filter on this context in the dlt viewer.

Print usage information of tool.

Definition at line 76 of file dlt-example-filetransfer.c.

References dlt_get_version().

int main ( int  argc,
char *  argv[] 
)