summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* Fixed network trace testAlexander Wenzel2014-10-301-32/+33
| | | | Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
* Fix dlt_user_log_write_start_id return valueAlexander Wenzel2014-10-302-7/+18
| | | | Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
* Added new API to send marker message from application.Alexander Wenzel2014-09-1111-4/+172
| | | | Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
* Added example for new macros.Alexander Wenzel2014-09-092-0/+147
| | | | Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
* New macros for Format of Hex and Binary.Alexander Wenzel2014-09-095-0/+57
| | | | Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
* New Callback function in DLT library, called when log level of context is ↵Alexander Wenzel2014-08-124-0/+103
| | | | | | changed Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
* Fixed dbus trace only showing signalsv2.11.0Alexander Wenzel2014-07-031-4/+1
|
* Prepared alpha release v2.11.0Alexander Wenzel2014-06-112-2/+19
| | | | Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
* Enable dbus trace when adaptor starts up.Alexander Wenzel2014-06-111-7/+1
| | | | Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
* Added configuration of dbus filter.Alexander Wenzel2014-06-115-86/+393
| | | | Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
* Fixed segmented messages arguments to standard.Alexander Wenzel2014-06-111-12/+12
| | | | Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
* First implementation of DLT DBus adapter.Alexander Wenzel2014-06-118-5/+297
| | | | Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
* DLT_CSTRING implementation non verbose mode.Alexander Wenzel2014-05-197-25/+40
| | | | Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
* Added new examples which can be manually build against DLt library.Alexander Wenzel2014-05-1611-0/+736
| | | | Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
* Send ECU Id if enabled and added library API to change.Alexander Wenzel2014-05-164-1/+43
| | | | Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
* Send timestamp can be disabled by new API.Alexander Wenzel2014-05-163-1/+38
| | | | Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
* Send session/process id by default and add configuration API.Alexander Wenzel2014-05-163-0/+42
| | | | Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
* Send extended header in non verbose mode by default and add new API to ↵Alexander Wenzel2014-05-163-5/+32
| | | | | | change setting. Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
* Make daemon buffer size configurableAlexander Wenzel2014-05-165-4/+36
| | | | Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
* Bug 184 - /tmp/dltpipes directory does not exist before dlt-daemon is ↵v2.10.0Alexander Wenzel2014-04-021-0/+22
| | | | | | started, logging disabled Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
* Fixed missing variable declaration when systemd not enabled.v2.10.0_rc1Alexander Wenzel2014-04-011-3/+0
| | | | Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
* Updated version number and release notes.Alexander Wenzel2014-04-012-7/+42
| | | | Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>