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.