diff options
Diffstat (limited to 'src/isotp/send.h')
-rw-r--r-- | src/isotp/send.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/isotp/send.h b/src/isotp/send.h index 2031621b..937e5320 100644 --- a/src/isotp/send.h +++ b/src/isotp/send.h @@ -9,9 +9,9 @@ extern "C" { #endif -// TODO I don't love this API -bool isotp_send(IsoTpHandler* handler, const uint8_t* payload, - uint16_t payload_size); +IsoTpHandle isotp_send(IsoTpShims* shims, const uint16_t arbitration_id, + const uint8_t* payload, uint16_t size, + IsoTpMessageSentHandler callback); #ifdef __cplusplus } |