Sketch out the API and add some notes.
[apps/low-level-can-service.git] / src / isotp / isotp.c
1
2 void isotp_receive_can_frame(const uint16_t arbitration_id, const uint8_t* data,
3         const uint8_t length) {
4     //match with any request we made
5     //handle flow control if necessary
6     //call callback if message completed
7 }
8
9 bool isotp_send(const uint8_t* payload, uint16_t payload_size) {
10      // we determine if it's single/multi frame and start the send
11 }
12
13 void isotp_set_timeout(uint16_t timeout) {
14 }