Implement a secure ICS protocol targeting LoRa Node151 microcontroller for controlling irrigation.
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
 
 
 
 
 
 
John-Mark Gurney 52316ea2cc add an include guard... vor 2 Jahren
loramac add pin description, and use the analog pin to provide randomness.. vor 3 Jahren
mk get the basic rs485 to cdc gateway working... vor 2 Jahren
rs485hid get the basic rs485 to cdc gateway working... vor 2 Jahren
stm32 add adc and flash HAL files, delete customhid, as it won't be used.. vor 2 Jahren
strobe add the start of the C version for the uC... vor 3 Jahren
.gitignore ignore my standard venv dir name.. vor 2 Jahren
EXCLUDEST.txt add warning about the license excluding use by ST. vor 2 Jahren
LICENSE.txt add warning about the license excluding use by ST. vor 2 Jahren
LORA-IRR.md break up the README to an overview and the parts.. vor 2 Jahren
Makefile move more into mu.progs.mk, reorder depends.. vor 2 Jahren
NOTES.md add info on how to debug irq handler issues.. vor 2 Jahren
PROTOCOL.md mention the specific curve/dh used.. vor 2 Jahren
README.md get the basic rs485 to cdc gateway working... vor 2 Jahren
RS485HID.md get the basic rs485 to cdc gateway working... vor 2 Jahren
arch.getxt add some diagrams, and the infrastructure to make them... vor 3 Jahren
board-config.h get tx/rx working between two Node151's.. vor 3 Jahren
board.c missed setting up routing for the analog pin.. vor 3 Jahren
box.sh add some diagrams, and the infrastructure to make them... vor 3 Jahren
comms.c implement the C (responder) side of ecdhe... vor 2 Jahren
comms.h add an include guard... vor 2 Jahren
conns.getxt add some diagrams, and the infrastructure to make them... vor 3 Jahren
hal_generic.c use SYSINIT and break things out/make more generic and modular... vor 2 Jahren
irr_main.c forgot to fix this to compile w/ new api vor 2 Jahren
linker_set.h add framework to get things started... vor 2 Jahren
lora.py s/liblora/libsyote/ s/lora_comms/syote_comms/ vor 2 Jahren
loraserv.py make sure we don't buffer the serial port, we need the packets to vor 3 Jahren
main.c use funopen/stdio to buffer output, "fix" for FreeBSD... vor 2 Jahren
misc.c use funopen/stdio to buffer output, "fix" for FreeBSD... vor 2 Jahren
misc.h add memory debug buffer.. Fix FreeBSD by adding a delay.. vor 2 Jahren
multicast.py drop debug print vor 2 Jahren
requirements.txt add the required python packages.. vor 3 Jahren
si_usb.c get the basic rs485 to cdc gateway working... vor 2 Jahren
si_usb.h add wrapper, si_usb.h, clean up si_usb a little, and use wrapper vor 2 Jahren
strobe_rng_init.c use sbrk(0) instead of end to get the uninitalized memory... vor 3 Jahren
strobe_rng_init.h add support for saving PRNG state to EEPROM... vor 3 Jahren
syote_comms.py s/liblora/libsyote/ s/lora_comms/syote_comms/ vor 2 Jahren
sysIrqHandlers.h get tx/rx working between two Node151's.. vor 3 Jahren
sysinit.c add framework to get things started... vor 2 Jahren
sysinit.h make compile w/o other header pollution.. vor 2 Jahren
util.py forgot to add the copyright for this file.. vor 3 Jahren
util_load.py change the default to be func.. vor 3 Jahren

README.md

Syote: Secure IoT

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.

Projects

LoRa Irrigation: Control over LoRa radio.

RS-485 USB HID KVM: USB Keyboard over RS-485

File Layout

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.

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.

Options

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.