Hi,
I am facing an issue with the length of the received buffer. I noticed that the length of the last received message will not be updated with the recently received message. On further analysis, I also found that it is triggered from the TP layer “lin_commontl_proto.c” file.
The attached image is the code snippet where I found the issue arise.
When I transmitted a Read DID where the DLC is 3 and then transmitted a Write DID of length 19, I was having issues with my application. Seemed that the value of *length was 3 and temp_length was 19 which led to problem with my application.
I need to understand if I am going wrong somewhere with the way I use the data or does this file need to be updated.
Hi
The length pointer should be set by ld_receive_message
Is this getting called on the second transmission?
Best,
Bryan
Bryan,
Yes this function gets called on second transmission as well.
Hello,
as Bryan wrote please provide more info. SW stack team is requestion some information as below:
Thanks,
BR, Petr
Hello,
We are investigating. Would you be able to provide a minimal example code that demonstrates this issue?
Best,
Bryan