framed-serial

Add frames to serial connections. Useful for embedded devices. Can be built with no_std.


Keywords
embedded, serial, frames, no_std
Licenses
MIT/Apache-2.0

Documentation

framed-serial - Add frames to serial connections. Useful for embedded devices. Can be built with no_std. Version Status Doc

See the documentation.

Potential improvements

  • use a more elaborate algorithm, such as COBS
  • detect and recover from errors in the data received, e.g. with checksums
  • base async code on futures-rs

Running the tests

If you have a device connected sending frames with FramedConnection, execute tests with:

cargo test --no-default-features --features device_connected -- --nocapture

License

Licensed under either of

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Code of conduct

Anyone who interacts with framed-serial in any space including but not limited to this GitHub repository is expected to follow our code of conduct