[genivi-dlt] APPIDs gone from dlt-receive

Alexander.AW.Wenzel at bmw.de Alexander.AW.Wenzel at bmw.de
Wed Feb 15 03:05:11 EST 2017


Hello,

Looks like these messages were not published to the mailing list, because of HTML format.

Now switched back to text format, but pictures are lost.

Same answer came already from Christoph ;-)

Best regards

    Alex

-- 
BMW Group
Alexander Wenzel
Architect. Connected Drive, I and C Syst.
EE-60

Postanschrift:
80788 München

Tel: +49-89-382-54199
Mobil: +49-151-601-54199
Mail: alexander.aw.wenzel at bmw.de
Web: http://www.bmwgroup.com/
--------------------------------------------------------------------
Bayerische Motoren Werke Aktiengesellschaft
Vorstand: Harald Krüger (Vorsitzender),
Milagros Caiña Carreiro-Andree, Markus Duesmann,
Klaus Fröhlich, Nicolas Peter, Ian Robertson,
Peter Schwarzenbauer, Oliver Zipse.
Vorsitzender des Aufsichtsrats: Norbert Reithofer
Sitz und Registergericht: München HRB 42243
--------------------------------------------------------------------

Von: Karlsson, Johnny [mailto:johnny.karlsson.2 at volvocars.com] 
Gesendet: Dienstag, 14. Februar 2017 15:20
An: Wenzel Alexander, EE-60 <Alexander.AW.Wenzel at bmw.de>; genivi-diagnostic-log-and-trace at lists.genivi.org
Betreff: Re: APPIDs gone from dlt-receive

Good tip Alex, I will start working on a patch. 

/johnny
________________________________________
From: Alexander.AW.Wenzel at bmw.de <Alexander.AW.Wenzel at bmw.de>
Sent: Tuesday, February 14, 2017 3:01:48 PM
To: Karlsson, Johnny; genivi-diagnostic-log-and-trace at lists.genivi.org
Subject: AW: APPIDs gone from dlt-receive 
 
Hello Johnny,

Did you looked at dlt-control? There is already an option to send "get_log_info".

    printf("  -j               Get log info\n");

I think best solution is to provide this option also for dlt-receive. I think you can easily copy the source code from dlt-control and provide a patch for dlt-receive.

Best regards

    Alex

-- 
BMW Group
Alexander Wenzel
Architect. Connected Drive, I and C Syst.
EE-60

Postanschrift:
80788 München

Tel: +49-89-382-54199
Mobil: +49-151-601-54199
Mail: alexander.aw.wenzel at bmw.de
Web: http://www.bmwgroup.com/
--------------------------------------------------------------------
Bayerische Motoren Werke Aktiengesellschaft
Vorstand: Harald Krüger (Vorsitzender),
Milagros Caiña Carreiro-Andree, Markus Duesmann,
Klaus Fröhlich, Nicolas Peter, Ian Robertson,
Peter Schwarzenbauer, Oliver Zipse.
Vorsitzender des Aufsichtsrats: Norbert Reithofer
Sitz und Registergericht: München HRB 42243
--------------------------------------------------------------------

Von: Karlsson, Johnny [mailto:johnny.karlsson.2 at volvocars.com] 
Gesendet: Dienstag, 14. Februar 2017 14:21
An: Wenzel Alexander, EE-60 <Alexander.AW.Wenzel at bmw.de>; genivi-diagnostic-log-and-trace at lists.genivi.org
Betreff: Re: APPIDs gone from dlt-receive

But the first time you use dlt-receive after a reboot then APPIds and CtxIds are received so it seems that the dlt-daemon does send them not just on demand. I would like to submit a patch cause I need APPIds and CtxIds in dlt-receive every time. Should I try do modify the dlt-daemon so it sends APPIds and CtxIds on each connect or should I modify dlt-receive? 

/johnny
________________________________________
From: Alexander.AW.Wenzel at bmw.de <Alexander.AW.Wenzel at bmw.de>
Sent: Tuesday, February 14, 2017 2:14:58 PM
To: Karlsson, Johnny; genivi-diagnostic-log-and-trace at lists.genivi.org
Subject: AW: APPIDs gone from dlt-receive 
 
Hello Johnny,

I think you are talking about the list of AppIds and CtxIds in the DLT Viewer.

This list of Ids is generated with every received get_log_info message received by the DLT Viewer. This message is only send once for every context, whenever a context is registered by any application. If you restart the DLT Viewer, this information is lost. But if you enable the option "Send Get Log Info" in your ECU configuration, then the list of available contexts is retrieved at every reconnect.



dlt-receive does not handle these messages at all. And this tool can also not send a request "get log info" when connecting.

Best regards

    Alex


-- 
BMW Group
Alexander Wenzel
Architect. Connected Drive, I and C Syst.
EE-60

Postanschrift:
80788 München

Tel: +49-89-382-54199
Mobil: +49-151-601-54199
Mail: alexander.aw.wenzel at bmw.de
Web: http://www.bmwgroup.com/
--------------------------------------------------------------------
Bayerische Motoren Werke Aktiengesellschaft
Vorstand: Harald Krüger (Vorsitzender),
Milagros Caiña Carreiro-Andree, Markus Duesmann,
Klaus Fröhlich, Nicolas Peter, Ian Robertson,
Peter Schwarzenbauer, Oliver Zipse.
Vorsitzender des Aufsichtsrats: Norbert Reithofer
Sitz und Registergericht: München HRB 42243
--------------------------------------------------------------------


-----Ursprüngliche Nachricht-----
Von: genivi-diagnostic-log-and-trace [mailto:genivi-diagnostic-log-and-trace-bounces at lists.genivi.org] Im Auftrag von Karlsson, Johnny
Gesendet: Dienstag, 14. Februar 2017 12:51
An: genivi-diagnostic-log-and-trace at lists.genivi.org
Betreff: [genivi-dlt] APPIDs gone from dlt-receive

Hi! I noticed that Anders Johanesson posted a mail regarding the same question but with no reply so I'd thought I'd add some more information.

When using dlt-receive command line tool, the first time you use it locally on a ecu after a reboot APPIDs are received but if you close the app and start and connect again the APPIDs are gone. That is the same for dlt-viewer, however if you right click on the project and select "DLT get log info" the APPIDs reappears. Is this behavior by design? Or shouldn't the dlt-daemon send the APPIDs on every client connect?

Best Regards

Johnny Karlsson

_______________________________________________
genivi-diagnostic-log-and-trace mailing list
genivi-diagnostic-log-and-trace at lists.genivi.org
http://lists.genivi.org/mailman/listinfo/genivi-diagnostic-log-and-trace



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