diff options
author | Christopher Peplin <chris.peplin@rhubarbtech.com> | 2013-12-31 12:59:04 -0500 |
---|---|---|
committer | Christopher Peplin <chris.peplin@rhubarbtech.com> | 2013-12-31 12:59:04 -0500 |
commit | 10a35b0a7c380d77cdd24ac90d6aa0abd4601f3e (patch) | |
tree | 5f768c8425e99006fc2a7cc7866b932600ae2074 /src/isotp/send.h | |
parent | 90209462aa40f17b24ef91864070b522b6df1b14 (diff) |
Draft reworking of API.
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 } |