Hello,
when setting custom_defs::kUseLinChecksumVersion2 to true, the enhanced checksum is used for diagnostic frames too, leading to errors like this:
3c 7f 06 b2 23 17 46 01 03 43 ERR
7d 01 06 f2 01 00 00 00 ff 05 ERR
The LIN 2.x specification states that the classic checksum is to be used for diagnostic frames.
Source: https://assets.vector.com/cms/content/know-how/lin/LIN-Spec_2.2_Rev_A.PDF, page 20, point "classic checksum".