This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi,
PID 0x06 data length is 7 byte, 0xD8 is 1byte.
How to set the LIN length when two different lengths are received?
It can only receive 0xD8 when set length to 1. Or it can only receive 0x06 if set it to 7.
Here is our code marked by blue. Thanks.
Hi Daniel,
Is the multi-buffer mode enabled or disabled in this case?
Are you seeing any issue using the above code, it looks fine if multi-buffer mode is disabled.
Regards,
Nirav
Hi Nirav,
Thanks for your suggestion.
We have resolved this problem by using odd-even count method to change the frame length dynamically.