summaryrefslogtreecommitdiff
path: root/src/examples
Commit message (Collapse)AuthorAgeFilesLines
* Logging: avoided missing of log level change callback Added new context ↵Manikandan C2018-12-211-4/+4
| | | | | | registration Macro and API which has option to register log level change callback along with it. This will avoid missing of initial log level change callback when daemon sends the log level change control msg during context registration Signed-off-by: ManikandanC <Manikandan.Chockalingam@in.bosch.com>
* Injection: New callback with private data Added new injection callback with ↵ManikandanC2018-12-211-21/+51
| | | | | | private data as argument Signed-off-by: ManikandanC <Manikandan.Chockalingam@in.bosch.com>
* Dynamic allocation of msg bufferManikandanC2018-12-101-6/+28
| | | | | | | | | | | | | It is possible to change the default buffer size for log message creation via environment variable: export DLT_LOG_MSG_BUF_LEN=<value> Instead of using a static buffer with size of 1390 bytes, the buffer is allocated dynamically with the specified value.The max size is restricted to approx 65k. Signed-off-by: Christoph Lipka <clipka@de.adit-jv.com> Signed-off-by: ManikandanC <Manikandan.Chockalingam@in.bosch.com>
* Fixed dlt-example-non-verbose-1.xmlSven Hassler2015-12-042-441/+920
| | | | | | Removed -e from shebang line of start_system_logger_test.sh Signed-off-by: Lutz Helwing <lutz_helwing@mentor.com>
* Purged all warnings for -Wall -WextraLutz Helwing2015-10-283-3/+3
| | | | Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
* DLT daemon improvement - dlt_init()-checkLutz Helwing2015-10-074-147/+147
| | | | | | | | | | DLT daemon improvement - parameter value range check Adapt unit tests to check for enum return values Changed C version to gnu99 and C++ version to gnu++0c Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
* Make timeout on exit configurableStefan Vacek2015-10-071-4/+16
| | | | | | | | | - make timeout in at_exit handler configurable (was hardcoded to 10s), new api: int dlt_set_resend_timeout_atexit(uint32_t timeout_in_milliseconds); - add option -t to dlt-adaptor-stdin to set timeout in at_exit_handler - add option -t to dlt-example-user to set timeout in at_exit_handler Signed-off-by: Stefan Vacek <stefan.vacek@intel.com>
* Fixed whitespace and formatting of new code Fixed licence headersLutz Helwing2015-10-071-1/+1
| | | | Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
* Add env-var to set initial log-levelsStefan Vacek2015-10-071-7/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | name of environment variable: DLT_INITIAL_LOG_LEVEL Syntax: <apid1>:<ctid1>:<loglevel1>;<apid2>:<ctid2>:<loglevel2>;... apid: application id (up to 4 chars), if empty all applications will match ctid: context id (up to 4 chars), if empty all contexts will match loglevel: either -1..6 or a symbolic name (default, off, fatal, error, warning, info, debug, verbose) Examples: DLT_INITIAL_LOG_LEVEL=TEST:LOG:0 -> turn off logging for appid TEST and contextid LOG DLT_INITIAL_LOG_LEVEL=:LOG:warn -> for contexts with name "LOG" set log-level to warning (3) DLT_INITIAL_LOG_LEVEL=::VERBOSE -> set log-level of all contexts to VERBOSE DLT_INITIAL_LOG_LEVEL=::VERBOSE;TEST:LOG:3 -> set log-level of all contexts to VERBOSE except TEST:LOG, set this to WARNING dlt-example-user: add option -l to specify log-level to be used when sending messages Signed-off-by: Stefan Vacek <stefan.vacek@intel.com>
* Cleanup masterStefan Vacek2015-10-075-0/+0
| | | | | | | - remove compiler warnings - fix file permissions Signed-off-by: Stefan Vacek <stefan.vacek@intel.com>
* Removed all trailing whitespacesLutz Helwing2015-07-214-22/+22
| | | | Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
* Fixed license headers and copyright doxygen commentsLutz Helwing2015-06-175-9/+9
| | | | Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
* Updated license headers to latest GENIVI license policy. Fixed further LRT ↵Lutz Helwing2015-06-175-56/+71
| | | | | | Scan findings. Renamed and cleanup further files. Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
* Unified all line endings to UNIX style.Jens Bocklage2015-06-172-924/+924
| | | | Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
* Added new API to send marker message from application.Alexander Wenzel2014-09-111-2/+14
| | | | 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-121-0/+12
| | | | | | changed Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
* Send ECU Id if enabled and added library API to change.Alexander Wenzel2014-05-161-0/+5
| | | | Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
* Fixed: all possible malloc, sprintf and strcpy problemsAlexander Wenzel2014-04-014-5/+17
| | | | Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
* DLT Common API Wrapper.Alexander Wenzel2014-04-012-1/+297
| | | | Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
* Removed dlt_free from example and test applications, already called from ↵Alexander Wenzel2014-04-012-4/+0
| | | | | | exit handler. Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
* Yocto fix in build builds.Alexander Wenzel2013-07-311-3/+3
| | | | Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
* Fix compiler warningsLassi Marttala2013-07-192-14/+0
| | | | Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
* Parasoft workaround: solve complaints about missing breaks/returns in ↵Simon Brandner2013-07-192-0/+2
| | | | | | default part of switch statements Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
* [GDLT-115]: Encapsulate more macros. Fix things that used macrosLassi Marttala2012-11-261-16/+9
| | | | | | incorrectly. Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
* [GDLT-115]: Prevent return value from DLT_REGISTER_APPLassi Marttala2012-11-261-1/+1
| | | | Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
* [GDLT-90] Implemented systemd watchdog concept in dlt-systemChristian Muck2012-06-131-20/+21
| | | | Signed-off-by: Christian Muck <christian.muck@bmw.de>
* Added dlt log to injection methodsChristian Muck2012-05-301-2/+3
| | | | Signed-off-by: Christian Muck <christian.muck@bmw.de>
* GENDLT-15, Avoid buffer overrun with snprintf().Lassi Marttala2012-04-041-7/+7
| | | | | | | | | | Check return value of dlt_user_log_write_start(_id) correctly. Reduce the number of applications if allocation fails. Make dlt_user_log_write_start inline Improve error checking in dlt_user_log_write_start_id Use databuffersize to avoid reallocations Signed-off-by: Christian Muck <christian.muck@bmw.de>
* Corrected email of Alexander WenzelChristian Muck2012-03-274-4/+4
| | | | Signed-off-by: Christian Muck <christian.muck@bmw.de>
* GDLT-38, Update <FILE> fields in licenses.Lassi Marttala2012-03-263-3/+3
|
* GDLT-38, Update licenses to all the sources.Lassi Marttala2012-03-263-94/+48
|
* GDLT-38, Update license in more CMakeListsLassi Marttala2012-03-261-32/+11
|
* Added missing license header to two filesv2.5.1Christian Muck2012-03-221-0/+68
| | | | Signed-off-by: Christian Muck <christian.muck@bmw.de>
* Modified library for new test cases to corrupt data - related to the bug fix ↵Christian Muck2012-03-221-1/+48
| | | | | | for testing signed and unsigned integer Signed-off-by: Christian Muck <christian.muck@bmw.de>
* Update project structureChristian Muck2012-02-131-9/+0
|
* Reverted changes in dlt_register_app() function.Alexander Wenzel2011-10-281-1/+1
| | | | Added new dlt_check_library_version() function.
* [GSW-66] File transfer over DLT.Alexander Wenzel2011-10-181-2/+6
| | | | Fixed some compiler warnings.
* [Reverted] Removed Ringbuffer implementation in Library.Alexander Wenzel2011-10-181-2/+2
|
* Fixed bugChristian Muck2011-10-181-1/+1
|
* Added install target and files for filetransfer in the cmakelists . Fixed ↵Christian Muck2011-10-182-1/+177
| | | | little bug in test filetransfer. Added filetransfer documentation and example program.
* Implemented new DLT user library function dlt_get_log_state.Alexander Wenzel2011-10-121-1/+17
|
* Added new API dlt_set_log_mode to enable/disable internal/external trace.Alexander Wenzel2011-10-111-1/+15
|
* [GSW-62] DLT Library version checkChristian Muck2011-09-051-1/+1
|
* Optional adding of gprof compile flags.Christian Muck2011-09-031-0/+6
|
* Removed winclientlib and wintestclient - unneeded filesChristian Muck2011-04-117-379/+0
|
* Init of dlt daemonChristian Muck2011-04-1112-0/+2005