LoRa packet sniffer for RNode hardware
 
 
Go to file
Mark Qvist bfc9c945ee Output selection 2018-06-27 15:22:35 +02:00
.gitignore Initial commit 2018-06-27 11:48:49 +02:00
LICENSE Initial commit 2018-06-27 11:48:49 +02:00
README.md Updated readme 2018-06-27 15:04:41 +02:00
loramon Output selection 2018-06-27 15:22:35 +02:00

README.md

LoRa packet sniffer for RNode hardware

Intro

This utility allows you to sniff LoRa networks with an RNode, and dump captured packets to the console or files.

usage: loramon [-h] [-C] [-W directory] [--freq Hz] [--bw Hz] [--txp dBm]
               [--sf factor] [--cr rate]
               [port]

LoRa packet sniffer for RNode hardware.

positional arguments:
  port           Serial port where RNode is attached

optional arguments:
  -h, --help     show this help message and exit
  -C, --console  Print captured packets to the console
  -W directory   Write captured packets to a directory
  --freq Hz      Frequency in Hz
  --bw Hz        Bandwidth in Hze
  --txp dBm      TX power in dBm
  --sf factor    Spreading factor
  --cr rate      Coding rate

Dependencies

The config utility requires Python 2.7 and pyserial. To install:

sudo apt install python python-pip
sudo pip install pyserial

Installation

Just clone or download this repository, place wherever you'd like and run loramon (remember to set executable permissions):

git clone https://github.com/markqvist/LoRaMon.git
cd LoRaMon
chmod a+x loramon
./loramon --help

Examples

Dump to console

Listens on a specified frequency and displays captured packets in the console.

./loramon /dev/ttyUSB0 --freq 868000000 --bw 125000 --sf 7 --cr 5 -C

Dump to console and disk

Like above, but also writes all captured packets individually to a specified directory.

./loramon /dev/ttyUSB0 --freq 868000000 --bw 125000 --sf 7 --cr 5 -C -W capturedir