ATAT

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

ATAT

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

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

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 [cortex-m-rt] and [cortex-m-rtic] crates.

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

Furthermore I have used the crate to build initial WIP drivers for uBlox cellular modules ([ublox-cellular-rs]) and uBlox 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 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 | crates.io docs.rs | | [ublox-cellular-rs] | Driver crate for U-Blox host-based cellular devices with AT-command interface | crates.io docs.rs | | [espresso] | AT based driver crate for ESP8266 WiFi modules | |