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) {