Go to file
Christopher Peplin af948d07d4 Use renamed bitfield-c dependency. 2013-12-30 13:31:35 -05:00
deps Use renamed bitfield-c dependency. 2013-12-30 13:31:35 -05:00
src/isotp Use updated API for canutil library. 2013-12-29 15:29:08 -05:00
tests Use updated API for canutil library. 2013-12-29 15:29:08 -05:00
.gitignore Add canutil dependency for bit field manipulation. 2013-12-27 14:14:14 -05:00
.gitmodules Use renamed bitfield-c dependency. 2013-12-30 13:31:35 -05:00
.travis.yml Update submodules when running CI. 2013-12-30 13:21:30 -05:00
CHANGELOG.mkd Initial commit with blank structure. 2013-12-27 11:22:56 -05:00
LICENSE Initial commit with blank structure. 2013-12-27 11:22:56 -05:00
Makefile Draft progress implementing single frame rx. 2013-12-27 19:04:27 -05:00
README.mkd Add skeleton tests for receiving and sending ISO-TP messages. 2013-12-27 18:28:53 -05:00
runtests.sh Initial commit with blank structure. 2013-12-27 11:22:56 -05:00

README.mkd

ISO-TP (ISO 15765-2) Support Library in C

API

IspTpHandler handler = isotp_init(42, NULL, NULL, NULL);
isotp_send(const uint8_t* payload, uint16_t payload_size);
while(true) {
    isotp_handle_can_frame(42, data, 8);
}
isotp_destroy(&handler);

// TODO should handlers take a context? depends on how we want to use this

// TODO add an optional dispatcher to handle multiple open requests

Testing

The library includes a test suite that uses the check C unit test library.

$ make test

Authors

Chris Peplin cpeplin@ford.com

License

Copyright (c) 2013 Ford Motor Company

Licensed under the BSD license.