Crates.io | rak-rui3-eh-driver |
lib.rs | rak-rui3-eh-driver |
version | 0.1.0 |
source | src |
created_at | 2024-08-02 07:14:49.917955 |
updated_at | 2024-08-02 07:14:49.917955 |
description | Rust embedded-hal driver for the RAK LoRaWAN modules running RUI3 firmware in AT mode |
homepage | https://gitlab.com/scrobotics/embedded-rs/rak-rui3-atat-rs |
repository | |
max_upload_size | |
id | 1322894 |
size | 32,094 |
This respository contains a driver for the RAK3172 module running the RUI3 (RAK Unified Interface V3) firmware in AT mode. The driver is built on top of the atat crate.
The module doesn't really comply with the AT standard. In fact, the behavior of the module doesn't even match the official documentation. The following are the main differences we've found:
\r\n
marking the beginning of a responseAT+FOO=?
) instead of read commands (AT+FOO?
):
) instead of commas (,
)To overcome the differences we had to build our own digester (i.e. the command parser in the atat world).
linux-simple
: example of interacting with the LoRaWAN module connected through a serial converter to a Linux computer. Requires the converter to be /dev/ttyUSB0
.
cd examples/linux_simple
cargo run
For a more complete example visit Tested with the Dark Sky Meter Firmware.