OpenCyphal / libcanard

A compact implementation of the Cyphal/CAN protocol in C for high-integrity real-time embedded systems
http://opencyphal.org
MIT License
332 stars 192 forks source link

Framing v1.0 #130

Closed kjetilkjeka closed 5 years ago

kjetilkjeka commented 5 years ago

Update the framing to version 1.0 and add tests to ensure correct framing.

kjetilkjeka commented 5 years ago

Take an extra good look at canardHandleRxFrame, not the simplest procedure to perform surgery on

kjetilkjeka commented 5 years ago

@pavel-kirienko I added a cast in canard.c and fixed some types and constructions in test_framing to get CI compiling on the picky c/c++ compilers. Only minor stuff, and nothing that should require a new review.