framed-serial

Crates.ioframed-serial
lib.rsframed-serial
version0.4.0
sourcesrc
created_at2017-01-25 13:26:53.594137
updated_at2017-05-11 13:34:16.769415
descriptionAdd frames to serial connections. Useful for embedded devices. Can be built with no_std.
homepagehttps://github.com/astraw/framed-serial
repositoryhttps://github.com/astraw/framed-serial
max_upload_size
id8221
size35,979
Andrew Straw (astraw)

documentation

https://docs.rs/framed-serial/

README

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

Commit count: 18

cargo fmt