1 #include <isotp/isotp.h>
2 #include <bitfield/bitfield.h>
4 /* void isotp_set_timeout(IsoTpHandler* handler, uint16_t timeout_ms) { */
5 /* handler->timeout_ms = timeout_ms; */
8 IsoTpShims isotp_init_shims(LogShim log, SendCanMessageShim send_can_message,
9 SetTimerShim set_timer) {
12 send_can_message: send_can_message,
18 void isotp_message_to_string(const IsoTpMessage* message, char* destination,
19 size_t destination_length) {
20 snprintf(destination, destination_length, "ID: 0x%02x, Payload: 0x%02x%02x%02x%02x%02x%02x%02x%02x",
21 message->arbitration_id,