5 releases (3 breaking)
Uses old Rust 2015
0.4.0 | May 11, 2017 |
---|---|
0.3.1 | Feb 19, 2017 |
0.3.0 | Feb 11, 2017 |
0.2.0 | Feb 1, 2017 |
0.1.0 | Jan 25, 2017 |
#133 in #serial
18KB
324 lines
framed-serial - Add frames to serial connections. Useful for embedded devices. Can be built with no_std
.
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
- Apache License, Version 2.0, (./LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (./LICENSE-MIT or http://opensource.org/licenses/MIT) at your option.
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
Dependencies
~165KB