Implement a secure ICS protocol targeting LoRa Node151 microcontroller for controlling irrigation.
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 
 
 
 
 
John-Mark Gurney f41ced6f53 Merge commit 'fa9a60a10f9b2c0c650b502c98ba648767289bad' il y a 1 an
board convert the irrigation project to sysinits... il y a 2 ans
loramac add pin description, and use the analog pin to provide randomness.. il y a 3 ans
mk convert the irrigation project to sysinits... il y a 2 ans
rs485hid convert the irrigation project to sysinits... il y a 2 ans
stm32 rename var to prevent collision il y a 1 an
strobe Merge commit 'fa9a60a10f9b2c0c650b502c98ba648767289bad' il y a 1 an
.gitignore ignore my standard venv dir name.. il y a 2 ans
EXCLUDEST.txt add warning about the license excluding use by ST. il y a 2 ans
LICENSE.txt add warning about the license excluding use by ST. il y a 2 ans
LINKS.md add some useful reference links.. il y a 2 ans
LORA-IRR.md comment which pins for programming to save me looking at the pdf.. il y a 2 ans
Makefile now that we require obj dir, we need to cd into CURDIR for these commands.. il y a 1 an
NOTES.md add info on how to debug irq handler issues.. il y a 2 ans
PROTOCOL.md mention the specific curve/dh used.. il y a 2 ans
README.md describe board directory.. il y a 2 ans
RS485HID.md fix misspelling of by il y a 1 an
arch.getxt add some diagrams, and the infrastructure to make them... il y a 3 ans
board-config.h get tx/rx working between two Node151's.. il y a 3 ans
board.c convert the irrigation project to sysinits... il y a 2 ans
box.sh add some diagrams, and the infrastructure to make them... il y a 3 ans
comms.c if the pending session returns a packet, use it, might be first of neg il y a 2 ans
comms.h add an include guard... il y a 2 ans
conns.getxt add some diagrams, and the infrastructure to make them... il y a 3 ans
dummy.py add tests for python version round trip... and minor fix for seeding il y a 1 an
hal_generic.c switch to main.h so it pulls in the correct hal headers.. il y a 2 ans
irr_main.c convert the irrigation project to sysinits... il y a 2 ans
linker_set.h add framework to get things started... il y a 2 ans
lora.py add test for pk version of the commands... il y a 1 an
loraserv.py clean up test output, and verify that the error message is correct.. il y a 1 an
main.c convert the irrigation project to sysinits... il y a 2 ans
misc.c wrap debugpos when at end of buffer.. il y a 2 ans
misc.h add memory debug buffer.. Fix FreeBSD by adding a delay.. il y a 2 ans
multicast.py drop debug print il y a 2 ans
requirements.txt big drop adding the USB HID part of this project... il y a 2 ans
si_usb.c make generic, but turns out unneeded on NODE151.. il y a 2 ans
si_usb.h add wrapper, si_usb.h, clean up si_usb a little, and use wrapper il y a 2 ans
strobe_rng_init.h big drop adding the USB HID part of this project... il y a 2 ans
syote_comms.py support generating a private/public key pair by running this... il y a 1 an
sysIrqHandlers.h get tx/rx working between two Node151's.. il y a 3 ans
sysinit.c convert the irrigation project to sysinits... il y a 2 ans
sysinit.h add USB, add proper _LAST, and verify range, support void functions il y a 2 ans
util.py forgot to add the copyright for this file.. il y a 3 ans
util_load.py change the default to be func.. il y a 3 ans

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.

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.

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.