#cellular #ublox #cortex-m #arm #logging #log-level

no-std ublox-cellular-rs

Driver crate for u-blox cellular devices, implementation follows 'UBX-13002752 - R65'

3 releases (breaking)

0.4.0 Sep 14, 2021
0.3.0 Sep 6, 2021
0.1.0 Dec 11, 2020

#1626 in Embedded development

MIT/Apache

385KB
7K SLoC

ublox-cellular

no_std driver crate for interfacing with the ublox cellular family over serial

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


A driver crate for AT-command based serial ublox cellular modules, built on top of atat.

Documentation

Relevant docs:

Relevant repos:

Tests

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.

Examples

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

Features

  • device selection (must select one, and only one!):
    • topy_l4
    • mpci_l2
    • lisa_u2
    • sara_g3
    • sara_g4
    • sara_u2
    • sara_u1
    • toby_l2
    • toby_r2
    • lara_r2
    • 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-default: Disabled by default. Add log statements on trace (dev) or info (release) log levels to aid debugging.
  • defmt-trace: Disabled by default. Add log statements on trace log levels to aid debugging.
  • defmt-debug: Disabled by default. Add log statements on debug log levels to aid debugging.
  • defmt-info: Disabled by default. Add log statements on info log levels to aid debugging.
  • defmt-warn: Disabled by default. Add log statements on warn log levels to aid debugging.
  • defmt-error: Disabled by default. Add log statements on error log levels to aid debugging.

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

~2.2–3MB
~62K SLoC