tonton81/FlexCAN_T4

ISOTP single frame protocol is not implemented for messages less than 8 bytes

fredmcc opened this issue · 0 comments

I noticed that when sending short isotp messages they are being sent as the first frame (FF) of a multi frame message rather than as a single frame (SF) message which is the correct way for messages less than 8 bytes.

Also if ISOTP_data config.len is set to the message length when sending a message it is being used to set the length of the first CAN frame, so when it is greater than 8 it creates an error.

I will submit a pull request with fixes for these 2 issues.