loramdm
loramdm is a command-line utility for configuring and communicating with LoRa modems (for example, the DX-LR02) over a serial connection.
Unlike standard serial terminal programs such as minicom or pySerial's miniterm, which can be inconvenient for issuing AT commands on Linux, loramdm automates modem configuration and message exchange. It allows you to:
- Execute one or more AT commands.
- Send text messages.
- Listen for incoming messages.
- Combine configuration commands and data transmission in a single invocation.
Usage
Commands are supplied as a semicolon-separated sequence. The special +++ command switches the modem into AT command mode (or back to data mode, depending on the modem state).
Example 1: Execute an AT command
Display the modem's list of supported AT commands:
python -m loramdm '+++;AT+HELP;+++'
Example 2: Configure the modem, send a message, and listen
Reduce the transmission power to 0 dBm, return to data mode, send a message, and continue listening for incoming messages:
python -m loramdm '+++;AT+POWE0;+++;Hello from loramdm1!' -l
Example 3: Configure modem for minimal transmitting power (0dBm),
max radio baud rate 13 kBaud (LEVEL7), ID 10.00, and serial communication speed 115200 baud:
python -m loramdm -d/dev/ttyUSB0 -b9600 '+++;AT+POWE0;AT+LEVEL7;AT+MAC10,00;AT+BAUD8;+++'
Metadata
Release files for loramdm 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| loramdm-0.0.3.tar.gz | 3.8 kB | Without provenance | Details for loramdm-0.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| loramdm-0.0.3-py3-none-any.whl | Python 3 | none | any | Details for loramdm-0.0.3-py3-none-any.whl |
Total release size: 8.1 kB
Release files / loramdm-0.0.3.tar.gz
| Download URL | loramdm-0.0.3.tar.gz |
|---|---|
| Size | 3.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e9a0cdee7e15546e19a8fe96bc0249ecba5f2aed18ad3cf42b6c80863970e2a6
|
|
BLAKE2b-256 checksum How to use checksums |
972dbf07300f2d57dd0a6164ecc832c81d4c482bc6e3bb90c06a9766e1f49692
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / loramdm-0.0.3-py3-none-any.whl
| Download URL | loramdm-0.0.3-py3-none-any.whl |
|---|---|
| Size | 4.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
74788dce710a684f0822a148e90c550482301f2aab645b36d85d6745949889e0
|
|
BLAKE2b-256 checksum How to use checksums |
6e2745398279d72d9ece5753a80d07ed19a7848089746c825c39503d9dd710a2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for loramdm 0.0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.