COVESA / dlt-viewer

Diagnostic Log and Trace viewing program
Other
430 stars 241 forks source link

Control message request over UDP(unicast/multicast) not working #523

Open tejaswinijoshi89 opened 1 month ago

tejaswinijoshi89 commented 1 month ago

I am connecting dltviewer (tried with v2.26.0, v2.27.0, v2.18.0) with dltdaemon (https://github.com/COVESA/dlt-daemon/tree/master) over UDP. I am able to receive log messages from dltdaemon over both UDP unicast and multicast interface. But when I try to send control message from dltviewer (GetLogInfo,GetDefaultLoginfo,etc) i get error as "ECU Not Connected ". I even checked on wireshark. UDP signal transmission traces from dltviewer to dltdaemon over UDP are not present. Does dltviewer supports control message request over UDP. If so then how to enable it.

vifactor commented 1 month ago

I tried to have a look to this issue and cannot even configure dlt-daemon to be able to receive dlt logs via UDP in dlt-viewer. I run daemon with src/daemon/dlt-daemon -c custom_dlt.conf, where the conf file contains a single entry: UDPConnectionSetup = 1. On dlt-viewer side I connect with: image

The connection to ECU does not happen (connection icon is yellow, not green). If I switch to TCP, I can connect and see some technical logs. what do I miss for UDP?

alexmucde commented 3 weeks ago

Sending control messages is only supported for TCP connections. Sending UDP messages to ECUs is not allowed in our cars. I do not know how other OEMs are handling this.

alexmucde commented 3 weeks ago

DLT Daemon also does not support this, because of the same reason.