aijii wrote:
okay..
so i'm a little confused. i've done some more reading since my original post, and read all about iso-tp/iso15765-2 being required for segmentation across multiple can messages.
Do I effectively need to code my own iso-tp "middleware" that sits in between my SSM send/receive routines, and the lower layer MCP2515 driver ?
Or does the SSM protocol sit directly above the CAN physical/data-link layer protocols ?
Yes - you do need to implement the iso15765-2 protocol (multi frame messages). SSM2 or OBD-II sits on top.
Are you using the arduino can bus shield ? The example code that comes with that basically implements the simple single frame case of iso15765-2. Extending it to handle the multi frame case is a bit of work, but not too hard.
I have done this using the MPC2515 (can bus shield) on an arduino and it works perfectly - used
http://en.wikipedia.org/wiki/ISO_15765-2 as a reference.