Add support for multi-frame responses (#4)
authorZac Nelson <znelson1@ford.com>
Wed, 14 Sep 2016 16:52:13 +0000 (09:52 -0700)
committerGitHub <noreply@github.com>
Wed, 14 Sep 2016 16:52:13 +0000 (09:52 -0700)
commit4e7375321a029a32989bc7546329c385e6edb80f
treee9e162092adec9a51af47db41d755c12892f6c87
parent50722a2a61106b7b8eb0774edf53be3c1255cd59
Add support for multi-frame responses  (#4)

* 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.
CHANGELOG.mkd
src/isotp/isotp_types.h
src/isotp/receive.c
tests/test_receive.c