hoverkite / hoverkite

A project to fly a kite using custom firmware on a hoverboard
Other
10 stars 0 forks source link

have a go at using postcard+cobs+crc32 for message encoding #5

Open alsuren opened 3 years ago

alsuren commented 3 years ago

Postcard already supports COBS out of the box, and crc32 doesn't seem too difficult:

https://github.com/jamesmunns/postcard/pull/17#issuecomment-692815999

qwandor commented 3 years ago

You can use gd32f1x0_hal::crc::Crc for the CRC, though it could do with some documentation.