marcel
1c7a4679a0
|
11 months ago | |
---|---|---|
aprx | 3 years ago | |
images | 11 months ago | |
pySX127x | 3 years ago | |
AXUDPServer.py | 3 years ago | |
CHANGELOG.md | 11 months ago | |
INSTALL.md | 3 years ago | |
KissHelper.py | 11 months ago | |
LICENSE | 3 years ago | |
LoraAprsKissTnc.py | 3 years ago | |
README.md | 11 months ago | |
RPi-LoRa-KISS-TNC.ini | 3 years ago | |
Start_lora-tnc.py | 3 years ago | |
TCPServer.py | 3 years ago | |
config.py | 11 months ago | |
multi-sf-save.txt | 3 years ago | |
start_all.sh | 3 years ago |
README.md
Raspberry Pi LoRa KISS TNC
This project adds LoRa APRS to the Raspberry Pi. It is fully integrated in the Linux AX.25 stack for maximum flexibility.
This project was originally started by Tom Kottek (https://github.com/tomelec/RPi-LoRa-KISS-TNC). Because the program had some problems dealing with digipeated frames (it crashed when receiving a ssid with the 'has_been_digipeated' flag -*- set), I took on the task of fixing the code for my personal use.
The software is stable and can handle repeated frames (incomming and outgoing) so it can be used with the aprx software to make a digipeater.
Software
The software controls the LoRa transceiver connected to the Raspberry´s SPI bus and emulates a KISS TNC over TCP. That makes it possible to use existing software like APRX. It is also possible to attach the KISS interface to the AX.25 stack via socat/kissattach.
Assuming you installed and configured the AX.25 stack, start the LoRa KISS TNC with these commands:
#!/bin/bash
# Start TNC software
/usr/bin/python3 ~/RPi-LoRa-KISS-TNC/Start_lora-tnc.py &
sleep 10
# Attach TCP socket to virtual tty device located at /tmp/lorakisstnc
sudo /usr/bin/socat PTY,raw,echo=0,link=/tmp/lorakisstnc TCP4:127.0.0.1:10001 &
sleep 3
# Attach virtual tty to AX.25 stack (port ax2)
sudo /usr/sbin/kissattach /tmp/lorakisstnc ax2 &
Hardware
I also designed my own (open source) hardware for it: a board holding a Raspberry Pi Zero 2 W, an SX1278 LoRa transceiver and a power supply with on/off button to safely switch on and off the system. The design files can be found on my website: RPi LoRa_shield
To Do
- Add raw TCP KISS socket for true AX.25 over KISS