summaryrefslogtreecommitdiffstats
path: root/tests
AgeCommit message (Collapse)AuthorFilesLines
2016-10-05reduce max isotp message size. see OpenXC vi-firmware issue #375 ↵Zac Nelson1-1/+1
https://github.com/openxc/vi-firmware/issues/375. (#5)
2016-09-14Add support for multi-frame responses (#4)Zac Nelson1-0/+68
* first test with multi-frame. storing data in handler. still need to free memory since using malloc. * hardcode the IsoTpMessage payload size. copy the full multi-frame response into a complete isotpMessage once all frames have been received. otherwise, the returned isotpMessage is not complete. * remove unnecessary debug statements. * do not receive multi-frame message if it is larger than the payload buffer size. * update changelog with multi-frame support * fix the changelog version for proper semantic versioning. oops. * move pointer intialization for testing purposes. * add tests for multi-frame. * try latest version of check * fix syntax for version install. * fix tests. no longer check for malloc pointer (not supported in Travis version of check.h - just test that flow control message has not been sent. * add IsoTpMessage field for multi_frame. Need this upstream for doing timeout updates. * add test multi_frame field.
2014-02-27Increase size of arb ID to uint32_t to fit extended IDs.Christopher Peplin2-7/+7
2014-02-14Add an option to control CAN frame padding (on by default).Christopher Peplin2-0/+80
Fixed #1.
2014-01-07Use '\0' for NULL in c strings.Christopher Peplin1-1/+1
2014-01-07Enable warnings when compiling and fix a few.Christopher Peplin2-7/+5
2014-01-03Split up functions to rx CAN messages for rx and tx of ISO-TP.Christopher Peplin3-16/+15
2014-01-03Test rx an empty CAN messages.Christopher Peplin1-0/+11
2014-01-03Print full payload by giving it enough buffer. DOH.Christopher Peplin1-2/+2
2014-01-02Attempt to print entire payload and fail.Christopher Peplin1-3/+1
2014-01-02Allocate ISO-TP message buffer on the stack.Christopher Peplin3-10/+10
2014-01-02Only mark handle as completed when fully received.Christopher Peplin1-0/+3
2014-01-01Return completed rx messages instead of relying on callbacks.Christopher Peplin1-4/+8
2013-12-31Return completion status when receiving CAN frames.Christopher Peplin1-4/+4
2013-12-31Move some functions to main isotp.h file to simplify includes for now.Christopher Peplin2-4/+3
2013-12-31Draft reworking of API.Christopher Peplin3-19/+27
2013-12-30Don't use debug function directly in library.Christopher Peplin1-2/+6
2013-12-29Use updated API for canutil library.Christopher Peplin1-8/+8
2013-12-28Encapsulate arb_id, payload and size into a data type.Christopher Peplin1-20/+16
2013-12-28Confirm CAN messages are built correctly.Christopher Peplin2-9/+23
2013-12-27Test basic single frame sending.Christopher Peplin2-7/+35
2013-12-27Test basic rx of a single frame message.Christopher Peplin1-4/+15
2013-12-27Draft progress implementing single frame rx.Christopher Peplin2-4/+5
2013-12-27Add skeleton tests for receiving and sending ISO-TP messages.Christopher Peplin4-30/+226
2013-12-27Initial commit with blank structure.Christopher Peplin1-0/+30