...
}
-With your shims in place, create an IsoTpShim object to pass them around:
+With your shims in place, create an IsoTpShims object to pass them around:
- IsoTpShim shims = isotp_init_shims(debug, send_can, set_timer);
+ IsoTpShims shims = isotp_init_shims(debug, send_can, set_timer);
### API
With your shims in hand, send an ISO-TP message:
- // Optiona: This is your callback that will be called when the message is
+ // Optional: This is your callback that will be called when the message is
// completely sent. If it was single frame (the only type supported right
// now), this will be called immediately.
void message_sent(const IsoTpMessage* message, const bool success) {
// send CAN messages
return;
} else {
- // If the message fit in a single frame, it's already been sent and
- you're done
+ // If the message fit in a single frame, it's already been sent
+ // and you're done
}
} else {
while(true) {
## Authors
-Chris Peplin cpeplin@ford.com
+* Chris Peplin cpeplin@ford.com
+* David Boll dboll2@ford.com (the inspiration for the library's API is from David)
## License