no_std driver crate for interfacing with the ublox cellular family over serial
A driver crate for AT-command based serial ublox cellular modules, built on top of atat.
Relevant docs:
Relevant repos:
- https://github.com/u-blox/cellular
- https://github.com/ARMmbed/mbed-os/blob/master/connectivity/drivers/cellular
- https://github.com/particle-iot/device-os
- https://github.com/u-blox/ubxlib
The crate is covered by tests. These tests can be run by
cargo test --tests --all-features
, and are run by the CI on every push.
The crate has examples for running it on a linux platform.
The samples can be built using cargo build -p linux_example --target x86_64-unknown-linux-gnu
, and similarly run using cargo run
- device selection (must select one, and only one!):
toby-l4
mpci-l2
lisa-u2
sara-r5
sara-g3
sara-g4
sara-u2
sara-u1
toby-l2
toby-r2
lara-r2
lara-r6
leon-g1
socket-tcp
: Enabled by default. Adds TCP socket capabilities, and implements [TcpStack
] trait.socket-udp
: Enabled by default. Adds UDP socket capabilities, and implements [UdpStack
] trait.defmt-impl
: Usedefmt
based logging. Typically used in no_std platforms.- Different log levels can be used like this:
DEFMT_LOG=info cargo run myapp
- Different log levels can be used like this:
log-impl
: Uselog
based logging. Used in std platforms.- Different log levels can be used like this:
RUST_LOG=error cargo run myapp
- Different log levels can be used like this:
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.
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.