John-Mark Gurney 5c0a22a790 | 2 years ago | |
---|---|---|
blinkled | 2 years ago | |
board | 2 years ago | |
loramac | 3 years ago | |
mk | 2 years ago | |
rs485hid | 2 years ago | |
stm32 | 2 years ago | |
strobe | 3 years ago | |
.gitignore | 2 years ago | |
EXCLUDEST.txt | 2 years ago | |
LICENSE.txt | 2 years ago | |
LINKS.md | 2 years ago | |
LORA-IRR.md | 2 years ago | |
Makefile | 2 years ago | |
NOTES.md | 2 years ago | |
PROTOCOL.md | 2 years ago | |
README.md | 2 years ago | |
RS485HID.md | 2 years ago | |
arch.getxt | 3 years ago | |
board-config.h | 3 years ago | |
board.c | 2 years ago | |
box.sh | 3 years ago | |
comms.c | 2 years ago | |
comms.h | 2 years ago | |
conns.getxt | 3 years ago | |
hal_generic.c | 2 years ago | |
irr_main.c | 2 years ago | |
linker_set.h | 2 years ago | |
lora.py | 2 years ago | |
loraserv.py | 3 years ago | |
main.c | 2 years ago | |
misc.c | 2 years ago | |
misc.h | 3 years ago | |
multicast.py | 2 years ago | |
requirements.txt | 2 years ago | |
si_usb.c | 2 years ago | |
si_usb.h | 2 years ago | |
strobe_rng_init.h | 2 years ago | |
syote_comms.py | 2 years ago | |
sysIrqHandlers.h | 3 years ago | |
sysinit.c | 2 years ago | |
sysinit.h | 2 years ago | |
util.py | 3 years ago | |
util_load.py | 3 years ago |
This project started off as a project to control an irrigation system via a LoRa radio, but the core architecture of the communication and security can easily be reused for other projects.
The projects that make use of the core protocol are included in this repo to make development easier for now, but if/when the project gets large enough, they will be broken out into their own repositories.
LoRa Irrigation: Control over LoRa radio.
RS-485 USB HID KVM: USB Keyboard over RS-485
Note that things are a mess as they stand right now. The first project was based upon the SemTech reference code which implemented their own HAL on top of ST’s HAL which is partly implemented on top of ARM’s HAL, and in some cases bypasses them. It was also originally written not expecting to be used for another board.
board/ - Board specific code loramac/ - SemTech reference code. Has reference code for LoRa and the Node151 based board. mk/ - Files supporting the build infrastructure. rs485hid/ - Files relating to the RS-485 HID project stm32/ - This is the HAL for ST based parts. It comtains the ARM CMSIS HAL as well, for the parts the ST chose to use. strobe/ - Crypto code that form the basis of the protocol.
Default on: STROBE - This contains all the cryptography parts. SYSINIT - This contains the initalization frmae work, similar to FreeBSD.
Default off: NODE151 - Code necessary for the Heltech Node151 module. RS485FRAME - Code implementing framing tx/rx over RS-485. STM32F103 - Code for a STM32F103 based board. SX1276 - Code necessary for the LoRa Radio. USB_CDC - Code for implementing a USB CDC Endpoint.