#serde #AT

no-std serde_at

serde serializer/deserializer for AT commands

8 releases

✓ Uses Rust 2018 edition

new 0.1.7 Feb 12, 2020
0.1.6 Feb 12, 2020

#88 in No standard library


Used in 2 crates (via atat_derive)

MIT/Apache

36KB
1K SLoC

AT Parser

Build status Crates.io Version Crates.io Downloads

A driver support crate for AT-command based serial modules, using the embedded-hal traits.

Documentation

Tests

The crate is covered by tests using the embedded-hal-mock crate. These tests can be run by cargo test --lib --target x86_64-unknown-linux-gnu.

Examples

The crate has examples for usage with cortex-m-rt and cortex-m-rtfm crates.

The samples can be built using cargo build --example cortex-m-rt --target thumbv7em-none-eabihf and cargo build --example rtfm --target thumbv7em-none-eabihf.

Furthermore I have used the crate to build initial drivers for U-Blox short-range modules (ublox-short-range-rs)

About

- Minimum rustc version 1.31
- Tested and built using nightly toolchain, but should work fine for stable as well

Supported Crates

The following dependent crates provide platform-agnostic device drivers built on embedded-hal which also implement this crate's [ATCommandInterface] trait:

Device Name Description Crate + Docs
ublox-short-range-rs Driver crate for U-Blox host-based short range devices (wifi and BT) with AT-command interface

License

Licensed under either of

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.

Dependencies

~1MB
~20K SLoC