Home

Awesome

ATAT

Test Crates.io Version Crates.io Downloads chat No Std

<div> <img style="vertical-align:middle; padding-bottom: 20px; padding-right: 40px;" src="https://cdn.pixabay.com/photo/2012/04/12/12/24/star-wars-29792_960_720.png" alt="ATAT" width="250" /> </div>

#![no_std] crate for parsing AT commands (Hayes command set)

A driver support crate for AT-command based serial modules.

AT Best practices

This crate attempts to work from these AT best practices:

Documentation

Tests

The crate is covered by tests. These tests can be run by cargo test --tests, and are run by the CI on every push.

Examples

The crate has examples for usage with embassy for #![no_std] and tokio for std.

The samples can be built using cargo +nightly run --bin embassy --features embedded --target thumbv6m-none-eabi and cargo +nightly run --example std-tokio --features std.

Furthermore the crate has been used to build initial drivers for U-Blox cellular modules (ublox-cellular-rs) and U-Blox short-range modules (ublox-short-range-rs)

Releasing to crates.io

This workspace uses cargo-release to do workspace releases to crates.io. It can be installed through cargo with cargo install cargo-release. The steps involved in a new release are:

  1. Run cargo release --dry-run -- major|minor|patch, and verify the output
  2. Run cargo release -- major|minor|patch, to release

About

Supported Crates

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

Device NameDescriptionCrate + Docs
ublox-short-range-rsDriver crate for U-Blox host-based short range devices (wifi and BT) with AT-command interfacecrates.io docs.rs
ublox-cellular-rsDriver crate for U-Blox host-based cellular devices with AT-command interfacecrates.io docs.rs
esp-at-nalESP-AT network layer driver for no_stdcrates.io docs.rs
moko-mkl62baDriver crate for the Moko MKL62BA LoRaWAN modulecrates.io docs.rs
seeed-lora-e5Driver crate for the Seeed Lora-E5 LoRaWAN modulecrates.io docs.rs

Features

Chat / Getting Help

If you have questions on the development of ATAT or want to write a driver based on it, feel free to join our matrix room at #atat:matrix.org!

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.

<!-- Badges -->