Python wrapper for the RUI3 AT command set (RAKwireless)
Project description
RUI3_AT-lib
This is a wrapper for the RUI3_AT API and was made strictly following the official API documentation.
It is used to test and create scripts for RUI3_AT compatible devices directly connected through a USB port.
The docstrings inside the source code mimic quite precisely what is said in the documentation but, if you happen to have any doubts or there are some documentation clashes, always refer back to the official docs since they are the authoritative source. The aforementioned docstrings were generated using LLMs, while the code is mostly handwritten.
The library is built around the node class (RUI3Node) which, when instantiated, will automatically find and connect to, when available, ONE AND ONLY ONE RUI3_AT compatible device. Trying to connect multiple devices at once will result in errors and/or undefined behaviour.
All the commands are wrapped inside methods for the RUI3Node class, with the names being as self-explanatory as possible.
Since the API error messages are very generic and unclear, most of the checking for the correctness of the values passed to the methods will be done inside the library, with more descriptive error messages.
While the entirety of the API commands provided in the official documentation has been implemented, not all of them are compatible with all of the devices. I suggest running the at_help() method first to verify which commands are available for you particular device, and which ones have read and/or write permissions.
If there are any commands that have not been implemented in the library, you can still write them directly to the device with the check_success(node, "<YOUR_COMMAND_HERE>") method. You can check whether your device has any non implemented commands with the at_help() method.
I am in no way associated with RAK nor did I have any contact with them during the making of this library. This is entirely a personal project that I decided to publish.
For any issue, you can contact me at: dev.danielemagnaterra@gmail.com
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file rui3pylib-0.1.1.tar.gz.
File metadata
- Download URL: rui3pylib-0.1.1.tar.gz
- Upload date:
- Size: 65.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
711cb51cee95d94c8558d5daaa7cea91b8c2f9a03d1d2cf7609d7c1b6c87ea8e
|
|
| MD5 |
3ffc5de5dab28b576ca7485688b888a2
|
|
| BLAKE2b-256 |
46749d2ba7d22ab39a44f203523f65b457edb06d3a7936e0da49a071959ba11c
|
File details
Details for the file rui3pylib-0.1.1-py3-none-any.whl.
File metadata
- Download URL: rui3pylib-0.1.1-py3-none-any.whl
- Upload date:
- Size: 21.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bed7cc6a411ececa7060b858695790652987aed25414bccfab3207caf1ba55df
|
|
| MD5 |
665bf802e8e5f5eaded6adcd07e32fd3
|
|
| BLAKE2b-256 |
7d0cb7f29bd3abad9836cf1eba5b84a64f66532e87cb9b1a058ef2e89ac3e3cd
|