From 5f0abf66eb361e0a41ddfc8b47b6433da5d2b097 Mon Sep 17 00:00:00 2001 From: Christian Muck Date: Wed, 8 Feb 2012 14:55:54 +0100 Subject: [GENDLT-16] Create variable in dlt-system.conf to configure the timeout of the filetransfer fixed. --- include/dlt/dlt_filetransfer.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'include/dlt/dlt_filetransfer.h') diff --git a/include/dlt/dlt_filetransfer.h b/include/dlt/dlt_filetransfer.h index f70b6f7..e17f79f 100644 --- a/include/dlt/dlt_filetransfer.h +++ b/include/dlt/dlt_filetransfer.h @@ -4,6 +4,29 @@ #include /* Signal handling */ #include "errno.h" + +//! Error code for dlt_user_log_file_complete +#define DLT_FILETRANSFER_ERROR_FILE_COMPLETE -300 +//! Error code for dlt_user_log_file_complete +#define DLT_FILETRANSFER_ERROR_FILE_COMPLETE1 -301 +//! Error code for dlt_user_log_file_complete +#define DLT_FILETRANSFER_ERROR_FILE_COMPLETE2 -302 +//! Error code for dlt_user_log_file_complete +#define DLT_FILETRANSFER_ERROR_FILE_COMPLETE3 -303 +//! Error code for dlt_user_log_file_head +#define DLT_FILETRANSFER_ERROR_FILE_HEAD -400 +//! Error code for dlt_user_log_file_data +#define DLT_FILETRANSFER_ERROR_FILE_DATA -500 +//! Error code for dlt_user_log_file_data +#define DLT_FILETRANSFER_ERROR_FILE_DATA_USER_BUFFER_FAILED -501 +//! Error code for dlt_user_log_file_end +#define DLT_FILETRANSFER_ERROR_FILE_END -600 +//! Error code for dlt_user_log_file_infoAbout +#define DLT_FILETRANSFER_ERROR_INFO_ABOUT -700 +//! Error code for dlt_user_log_file_packagesCount +#define DLT_FILETRANSFER_ERROR_PACKAGE_COUNT -800 + + //!Transfer the complete file as several dlt logs. /**This method transfer the complete file as several dlt logs. At first it will be checked that the file exist. * In the next step some generic informations about the file will be logged to dlt. -- cgit v1.2.1