summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* update release notesv2.12.1Stefan Held2015-07-301-1/+11
| | | | | Signed-off-by: Stefan Held <stefan_held@mentor.com> Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
* prepare version to 2.12.1Stefan Held2015-07-301-1/+1
| | | | | Signed-off-by: Stefan Held <stefan_held@mentor.com> Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
* Removed all trailing whitespacesLutz Helwing2015-07-2167-609/+608
| | | | Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
* Replaced all tabs with spaces in all files in include folderLutz Helwing2015-07-2110-423/+427
| | | | Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
* modify start_system_logger_test.shStefan Held2015-07-211-1/+1
| | | | | Signed-off-by: Stefan Held <stefan_held@mentor.com> Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
* Add start_system_logger_test.sh Modify start_filetransfer_test.sh Modify ↵Stefan Held2015-07-216-8/+128
| | | | | | | start_systemd_journal_test.sh Signed-off-by: Stefan Held <stefan_held@mentor.com> Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
* Add shortcuts for different tests in dlt_test_receiver Modify ↵Stefan Held2015-07-213-44/+116
| | | | | | | start_filetransfer_test.sh Create start_systemd_journal_test.sh Signed-off-by: Stefan Held <stefan_held@mentor.com> Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
* Rework of unit testsStefan Held2015-07-215-796/+497
| | | | | Signed-off-by: Stefan Held <stefan_held@mentor.com> Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
* Fix compilation warnings and possible misuse of snprintStefan Vacek2015-07-213-18/+16
| | | | | | | | | - sprintf was used were snprint was intended - make proper usage of 64bit values in printf-formatting - remove some not used variables - make some casts to make printf happy Signed-off-by: Stefan Vacek <stefan.vacek@intel.com>
* Added licence and Doxygen headersLutz Helwing2015-07-214-12/+101
| | | | Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
* Add the forgotten son gtest_dlt_daemon_commonStefan Held2015-07-212-97/+97
| | | | | | | | | Rework of unit tests in gtest_dlt_daemon_common No need to fix nullpointer Signed-off-by: Stefan Held <stefan_held@mentor.com> Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
* Rework of unit tests in gtest_dlt_userStefan Held2015-07-212-81/+311
| | | | | | | Fix all nullpointer errors in dlt_user.c Signed-off-by: Stefan Held <stefan_held@mentor.com> Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
* Rework of unit tests in gtest_dlt_commonStefan Held2015-07-213-271/+482
| | | | | | | Fix all nullpointer errors in dlt_common.c Signed-off-by: Stefan Held <stefan_held@mentor.com> Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
* Fix installation paths on x86_64 (lib64 instead of lib)Stefan Vacek2015-06-172-6/+5
| | | | Signed-off-by: Stefan Vacek <stefan.vacek@intel.com>
* Update version number and release notesv2.12.0Lutz Helwing2015-06-172-2/+40
| | | | Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
* Fixed license headers and copyright doxygen commentsLutz Helwing2015-06-17116-188/+188
| | | | Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
* Updated license headers to latest GENIVI license policy. Fixed further LRT ↵Lutz Helwing2015-06-17135-1171/+1739
| | | | | | Scan findings. Renamed and cleanup further files. Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
* changed dlt-test-receiver delete dlt-test-filetranfer make a bash script ↵Stefan Held2015-06-175-260/+52
| | | | | | | wich tests the filetransfer Signed-off-by: Stefan Held <stefan_held@mentor.com> Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
* Added new filestranfer test filetransfer: send data with crc32 checksum ↵Stefan Held2015-06-173-0/+627
| | | | | | | receiver: receive data, save it at /tmp and verifiy the checksum Signed-off-by: Stefan Held <stefan_held@mentor.com> Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
* Adding unit tests for following functions:Jens Bocklage2015-06-171-840/+1277
| | | | | | | | | | | | | | | | | | | | int dlt_register_injection_callback(DltContext *handle, uint32_t service_id, int (*dlt_injection_callback)(uint32_t service_id, void *data, uint32_t length)); int dlt_register_log_level_changed_callback(DltContext *handle, void (*dlt_log_level_changed_callback)(char context_id[DLT_ID_SIZE],uint8_t log_level, uint8_t trace_status)); int dlt_user_trace_network(DltContext *handle, DltNetworkTraceType nw_trace_type, uint16_t header_len, void *header, uint16_t payload_len, void *payload); int dlt_user_trace_network_truncated(DltContext *handle, DltNetworkTraceType nw_trace_type, uint16_t header_len, void *header, uint16_t payload_len, void *payload, int allow_truncate); int dlt_user_trace_network_segmented(DltContext *handle, DltNetworkTraceType nw_trace_type, uint16_t header_len, void *header, uint16_t payload_len, void *payload); int dlt_set_log_mode(DltUserLogMode mode); int dlt_get_log_state(); int dlt_verbose_mode(void); int dlt_nonverbose_mode(void); Commented out the functions that fail with the comment // TODO: Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
* rework v2 of all unit tests added dlt_daemon_application* unit tests added ↵Stefan Held2015-06-172-1084/+2243
| | | | | | | | | | dlt_daemon_context* unit tests added dlt_daemon_user_send* unit tests comment out all unit tests who fail the test for further bugfixing Signed-off-by: Stefan Held <stefan_held@mentor.com> Conflicts: tests/CMakeLists.txt Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
* added the following unit tests for dlt_common.cStefan Held2015-06-171-21/+428
| | | | | | | | | | | | | | | dlt_uptime dlt_set_id dlt_print_char_string dlt_print_hex_string dlt_print_mixed_string dlt_print_id dlt_get_version dlt_get_major_version dlt_get_minor_version Signed-off-by: Stefan Held <stefan_held@mentor.com> Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
* dlt-control: Check for return valuesSid Heroor2015-06-171-9/+27
| | | | | | | * Return values from different functions such as dlt_client_send_log_level are ignored. Check for these values and print an error to stderr. Signed-off-by: Sid Heroor <heroor@heptaxel.com>
* dlt-daemon: Explicitly set the default loggingLevel to LOG_INFOSid Heroor2015-06-172-2/+2
| | | | Signed-off-by: Sid Heroor <heroor@heptaxel.com>
* dlt-daemon: Explicitly set the default loggingMode to DLT_LOG_TO_CONSOLESid Heroor2015-06-171-1/+1
| | | | Signed-off-by: Sid Heroor <heroor@heptaxel.com>
* Fixing MIN and MAX defines for base integer typesJens Bocklage2015-06-171-17/+99
| | | | Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
* Unified all line endings to UNIX style.Jens Bocklage2015-06-1721-3920/+3920
| | | | Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
* added dlt_log_* unit tests rework of dlt_buffer_* and dlt_messages_* unit testsStefan Held2015-06-172-697/+1123
| | | | | Signed-off-by: Stefan Held <stefan_held@mentor.com> Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
* 1st version of gtest now the following methods can be tested dlt_common -> ↵Stefan Held2015-06-174-4/+2945
| | | | | | | | | | dlt_buffer_* dlt_common -> dlt_message_* Signed-off-by: Stefan Held <stefan_held@mentor.com> Conflicts: tests/CMakeLists.txt Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
* Adding unit tests for:Jens Bocklage2015-06-171-41/+329
| | | | | | | | | | int dlt_register_app(const char *appid, const char * description); int dlt_unregister_app(void); int dlt_register_context(DltContext *handle, const char *contextid, const char * description); int dlt_register_context_ll_ts(DltContext *handle, const char *contextid, const char * description, int loglevel, int tracestatus); int dlt_unregister_context(DltContext *handle); Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
* Adding unit tests for:Jens Bocklage2015-06-173-25/+2144
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | int dlt_user_log_write_start(DltContext *handle, DltContextData *log, DltLogLevelType loglevel); int dlt_user_log_write_start_id(DltContext *handle, DltContextData *log, DltLogLevelType loglevel, uint32_t messageid); int dlt_user_log_write_finish(DltContextData *log); int dlt_user_log_write_bool(DltContextData *log, uint8_t data); int dlt_user_log_write_float32(DltContextData *log, float32_t data); int dlt_user_log_write_float64(DltContextData *log, double data); int dlt_user_log_write_uint(DltContextData *log, unsigned int data); int dlt_user_log_write_uint8(DltContextData *log, uint8_t data); int dlt_user_log_write_uint16(DltContextData *log, uint16_t data); int dlt_user_log_write_uint32(DltContextData *log, uint32_t data); int dlt_user_log_write_uint64(DltContextData *log, uint64_t data); int dlt_user_log_write_uint8_formatted(DltContextData *log, uint8_t data, DltFormatType type); int dlt_user_log_write_uint16_formatted(DltContextData *log, uint16_t data, DltFormatType type); int dlt_user_log_write_uint32_formatted(DltContextData *log, uint32_t data, DltFormatType type); int dlt_user_log_write_uint64_formatted(DltContextData *log, uint64_t data, DltFormatType type); int dlt_user_log_write_int(DltContextData *log, int data); int dlt_user_log_write_int8(DltContextData *log, int8_t data); int dlt_user_log_write_int16(DltContextData *log, int16_t data); int dlt_user_log_write_int32(DltContextData *log, int32_t data); int dlt_user_log_write_int64(DltContextData *log, int64_t data); int dlt_user_log_write_string( DltContextData *log, const char *text); int dlt_user_log_write_constant_string( DltContextData *log, const char *text); int dlt_user_log_write_utf8_string(DltContextData *log, const char *text); int dlt_user_log_write_raw(DltContextData *log,void *data,uint16_t length); int dlt_user_log_write_raw_formatted(DltContextData *log,void *data,uint16_t length,DltFormatType type); int dlt_log_string(DltContext *handle,DltLogLevelType loglevel, const char *text); int dlt_log_string_int(DltContext *handle,DltLogLevelType loglevel, const char *text, int data); int dlt_log_string_uint(DltContext *handle,DltLogLevelType loglevel, const char *text, unsigned int data); int dlt_log_int(DltContext *handle,DltLogLevelType loglevel, int data); int dlt_log_uint(DltContext *handle,DltLogLevelType loglevel, unsigned int data); int dlt_log_raw(DltContext *handle,DltLogLevelType loglevel, void *data,uint16_t length); int dlt_log_marker(); Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
* Adding gtest framework v1.7.0 Adding initial hello world C test caseJens Bocklage2015-06-17238-0/+157749
| | | | | Signed-off-by: Jens Bocklage <jens_bocklage@mentor.com> Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
* Remove absolute installation paths so that DLT can be installed at any ↵Jacques GUILLOU2015-04-0210-26/+23
| | | | | | location (not only "/usr"). Signed-off-by: Jacques GUILLOU <jacques.guillou@pelagicore.com>
* Add Service ID Last entry to avoid further modifications in dependent codeS. Hameed2015-04-013-2/+3
| | | | | Signed-off-by: S. Hameed <shameed@jp.adit-jv.com> Signed-off-by: Christoph Lipka <clipka@de.adit-jv.com>
* Change daemon state handling to have all traces in online trace even when ↵Sascha Philipp2015-03-253-7/+14
| | | | | | | offline trace is active Change-Id: Ic212c4956582b18e05739d593bf5c792d60d9c00 Signed-off-by: Sascha Philipp <sascha.philipp@continental-corporation.com>
* Fix content of offline traceSascha Philipp2015-03-253-48/+42
| | | | | Change-Id: Id1fe0f438161fc81c5caee3c9c9627d9ddf5dbbf Signed-off-by: Sascha Philipp <sascha.philipp@continental-corporation.com>
* Open daemon connection in atexit functionSascha Philipp2015-03-254-13/+118
| | | | | Change-Id: I43f1a3b541720d1ae06912cc5d1026daa077245a Signed-off-by: Sascha Philipp <sascha.philipp@continental-corporation.com>
* Change loglevel of Request-Resend messageSascha Philipp2015-03-251-1/+1
| | | | | Change-Id: I82cf88ebc0503aae6f88ff1b407b18b5c9052d0a Signed-off-by: Sascha Philipp <sascha.philipp@continental-corporation.com>
* Fix daemon state handling with offline traceSascha Philipp2015-03-251-2/+6
| | | | | Change-Id: I630f8131c26452a31cfbd825404cd34ea80ea80d Signed-off-by: Sascha Philipp <sascha.philipp@continental-corporation.com>
* Fix watchdog timeoutSascha Philipp2015-03-251-0/+26
| | | | | | | Change-Id: Id6fe1a4948c7ca87e53042829f6b7eb7b9eec975 Signed-off-by: Ralf Anton Beier <ralf.anton.beier@continental-corporation.com> Signed-off-by: Sascha Philipp <sascha.philipp@continental-corporation.com> (cherry picked from commit 7f7afbb8d49cbdb8f571ece8aac24bf584326910)
* Reworked internal outputSascha Philipp2015-03-257-290/+385
| | | | | | Change-Id: I371c1b234929fda46608f563f08cae141b97d0a9 Signed-off-by: Ralf Anton Beier <ralf.anton.beier@continental-corporation.com> Signed-off-by: Sascha Philipp <sascha.philipp@continental-corporation.com>
* DLT MISRA conform changesSascha Philipp2015-03-251-54/+70
| | | | | | Change-Id: I304ed3dd9e327def64d9388aeb9407d74d2421a9 Signed-off-by: Sascha Philipp <sascha.philipp@continental-corporation.com> (cherry picked from commit 21a2281b7029914a39b46ee76228eefd0351c872)
* Made zlib dependent on DLT_SYSTEM. Doxygen paths are now determined by CMake.Patric Matters2015-03-232-4/+6
| | | | | Signed-off-by: Patrick Matters <Patrick.Matters@bmw.de> Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
* Add the IPv6 supportJiri Popek2015-03-234-56/+82
| | | | | | | Enables communication between DLT server and clients over IPv6. Signed-off-by: Jiri Popek <jiri.popek@bmw.de> Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
* Workaround for duplicated log messages in offline trace file issueChristoph Lipka2015-03-173-7/+8
| | | | Signed-off-by: Christoph Lipka <clipka@de.adit-jv.com>
* Fix PREFIX. Works now with the default PREFIX (/usr/local/) and with the ↵Alexander Wenzel2015-03-125-23/+4
| | | | | | user PREFIX (e.g. /temp/test_with_pref). PREFIX Fix for filetransfer directory (PREFIX/share/). Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
* Fixed typo in include guardSteffen Pankratz2015-03-121-1/+1
| | | | Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
* resolves BUG-206: Install prefix should be configurableTomasz Kondziola2015-03-125-183/+194
| | | | Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
* adding support for new macros to the daemon. new macros: DLT_HEX8(VAR) 8bits ↵Jens Bocklage2015-03-125-23/+303
| | | | | | | | variable displayed in hexadecimal with "0x" prefix DLT_HEX16(VAR) 16bits displayed in hexadecimal with "0x" prefix DLT_HEX32(VAR) 32bits displayed in hexadecimal with "0x" prefix DLT_HEX64(VAR) 64bits displayed in hexadecimal with "0x" prefix DLT_BIN8(VAR) 8bits variable displayed in binary with "0b" prefix DLT_BIN16(VAR) 16bits variable displayed in binary with "0b" prefix plus typo fix Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
* Prepare v2.11.0 releaseAlexander Wenzel2015-03-122-3/+3
| | | | Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>