Skip to main content

LoRa packet transmitter for RNode hardware

Project description

LoRaTransmit

Simple commandline raw LoRa packet transmitter for RNode hardware.

It's meant to be complementary to the packet sniffer LoRaMon and uses the latest Python Module that comes with the RNode Firmware.

Install

$ pip install loratransmit

Usage

provide payload as command line argument or via pipe

usage: loratransmit [-h] [--freq Hz] [--bw Hz] [--txp dBm] [--sf factor]
                       [--cr rate]
                       [port] [payload]

LoRa packet transmitter for RNode hardware.

positional arguments:
  port         Serial port where RNode is attached
  payload      The payload to be transmitted

options:
  -h, --help   show this help message and exit
  --freq Hz    Frequency in Hz
  --bw Hz      Bandwidth in Hz
  --txp dBm    TX power in dBm
  --sf factor  Spreading factor
  --cr rate    Coding rate

Example

Payload passed as argument

$ /bin/python3 loratransmit.py --freq 917500000 /dev/ttyACM0 "Hello World"

Payload passed through pipe

$ echo "Hello World" | /bin/python3 loratransmit.py --freq 917500000 /dev/ttyACM0

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

loratransmit-0.3.1.tar.gz (8.4 kB view details)

Uploaded Source

File details

Details for the file loratransmit-0.3.1.tar.gz.

File metadata

  • Download URL: loratransmit-0.3.1.tar.gz
  • Upload date:
  • Size: 8.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for loratransmit-0.3.1.tar.gz
Algorithm Hash digest
SHA256 dc9117b80bf5e80de5387a7e2434cc6f4a30d2ff69e24a4d2763754754e527b7
MD5 27a00d6679a62ebd3b838492f7dd5008
BLAKE2b-256 503c0f57142add616908858122204c3bf817bcf93518e717a6c81bb573c4e85e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page