[genivi-dlt] [Patch] Truncate of string or raw block if length exceeds maximum message length

Helwing, Lutz Lutz_Helwing at mentor.com
Fri Feb 19 10:43:41 EST 2016

Dear community,

we'd like to propose a patch for the DLT daemon.

Currently if messages containing strings or raw data are exceeding the maximum message buffer size (DLT_USER_BUF_MAX_SIZE, currently set to 1390) they are discarded completely.
The patch changes this behaviour so that too large data is truncated and sent anyway instead of being discarded.

If no objections arise the patch will be integrated into master next Tuesday.

Have a nice weekend.



Lutz Helwing
Senior Engineer

+49 (89) 57096 - 297<tel:+49%287721%294060-422>


+49 (89) 57096 - 400

<mailto:Oliver_Hartfuss at mentor.com>lutz_helwing at mentor.com<mailto:lutz_helwing at mentor.com>

[Mentor                                                    Automotive]
Mentor Graphics Development (Deutschland) GmbH
Arnulfstrasse 201
D-80634 München

Mentor Graphics Development (Deutschland) GmbH
Geschäftsführung: Dean Freed, Walter Vermijs, Shannon Wetzel
Handelsregister: Amtsgericht Freiburg i.Br., HRB 705237
Sitz der Gesellschaft: Peterzeller Straße 8, 78048 Villingen-Schwenningen
USt-Id Nummer: DE268786819

Confidentiality Notice: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by return e-mail and destroy all copies of the original message.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.genivi.org/pipermail/genivi-diagnostic-log-and-trace_lists.genivi.org/attachments/20160219/943b5b41/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 7787 bytes
Desc: image001.png
URL: <http://lists.genivi.org/pipermail/genivi-diagnostic-log-and-trace_lists.genivi.org/attachments/20160219/943b5b41/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Truncate-of-string-or-raw-block-if-length-exceeds-ma.patch
Type: text/x-patch
Size: 9056 bytes
Desc: 0001-Truncate-of-string-or-raw-block-if-length-exceeds-ma.patch
URL: <http://lists.genivi.org/pipermail/genivi-diagnostic-log-and-trace_lists.genivi.org/attachments/20160219/943b5b41/attachment.patch>

More information about the genivi-diagnostic-log-and-trace mailing list