freediag icon indicating copy to clipboard operation
freediag copied to clipboard

l2 iso14230 : keybytes are swapped

Open fenugrec opened this issue 3 years ago • 0 comments

KB1 is the first one received, but KB2 is the one that should always be 0x8F for iso14230. Actually it's probably just a wrong warning message, code seems ok at first glance.

diag_l2_iso14230.c:63:  decode len 7, 0x83 0xFC 0x58 0xC1 0x6D 0x8F 0x94
diag_l2_iso14230.c:158:  decode hdrlen=3, datalen=3, cksum=1
diag_l2_iso14230.c:455:  msg 01e01520 decode/rejig done rv=7 hdrlen=3 datalen=3 src=58 dst=FC
Warning : non-standard KB1 received (0x6D) !
diag_l2_iso14230.c:656:  _StartComms Physaddr=0x58 KB1=6D, KB2=8F

fenugrec avatar Jul 06 '22 12:07 fenugrec