astraw / framed-serial

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

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

License:Apache License 2.0


Languages

Language:Rust 100.0%