ublox-cellular-rs

Crates.ioublox-cellular-rs
lib.rsublox-cellular-rs
version0.4.0
sourcesrc
created_at2020-12-11 11:28:54.262631
updated_at2021-09-14 09:24:05.046726
descriptionDriver crate for u-blox cellular devices, implementation follows 'UBX-13002752 - R65'
homepage
repositoryhttps://github.com/BlackbirdHQ/ublox-cellular-rs
max_upload_size
id321816
size383,723
hardware-development (github:blackbirdhq:hardware-development)

documentation

README

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.

Commit count: 91

cargo fmt