Implement a secure ICS protocol targeting LoRa Node151 microcontroller for controlling irrigation.
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.
 
 
 
 
 
 
John-Mark Gurney 77cd0a6558 support generating a private/public key pair by running this... 1 рік тому
board convert the irrigation project to sysinits... 2 роки тому
loramac add pin description, and use the analog pin to provide randomness.. 3 роки тому
mk convert the irrigation project to sysinits... 2 роки тому
rs485hid convert the irrigation project to sysinits... 2 роки тому
stm32 convert the irrigation project to sysinits... 2 роки тому
strobe add the start of the C version for the uC... 3 роки тому
.gitignore ignore my standard venv dir name.. 2 роки тому
EXCLUDEST.txt add warning about the license excluding use by ST. 2 роки тому
LICENSE.txt add warning about the license excluding use by ST. 2 роки тому
LINKS.md add some useful reference links.. 2 роки тому
LORA-IRR.md comment which pins for programming to save me looking at the pdf.. 2 роки тому
Makefile convert the irrigation project to sysinits... 2 роки тому
NOTES.md add info on how to debug irq handler issues.. 2 роки тому
PROTOCOL.md mention the specific curve/dh used.. 2 роки тому
README.md describe board directory.. 2 роки тому
RS485HID.md fix misspelling of by 1 рік тому
arch.getxt add some diagrams, and the infrastructure to make them... 3 роки тому
board-config.h get tx/rx working between two Node151's.. 3 роки тому
board.c convert the irrigation project to sysinits... 2 роки тому
box.sh add some diagrams, and the infrastructure to make them... 3 роки тому
comms.c if the pending session returns a packet, use it, might be first of neg 2 роки тому
comms.h add an include guard... 2 роки тому
conns.getxt add some diagrams, and the infrastructure to make them... 3 роки тому
dummy.py add tests for python version round trip... and minor fix for seeding 1 рік тому
hal_generic.c switch to main.h so it pulls in the correct hal headers.. 2 роки тому
irr_main.c convert the irrigation project to sysinits... 2 роки тому
linker_set.h add framework to get things started... 2 роки тому
lora.py add test for pk version of the commands... 1 рік тому
loraserv.py clean up test output, and verify that the error message is correct.. 1 рік тому
main.c convert the irrigation project to sysinits... 2 роки тому
misc.c wrap debugpos when at end of buffer.. 2 роки тому
misc.h add memory debug buffer.. Fix FreeBSD by adding a delay.. 2 роки тому
multicast.py drop debug print 2 роки тому
requirements.txt big drop adding the USB HID part of this project... 2 роки тому
si_usb.c make generic, but turns out unneeded on NODE151.. 2 роки тому
si_usb.h add wrapper, si_usb.h, clean up si_usb a little, and use wrapper 2 роки тому
strobe_rng_init.h big drop adding the USB HID part of this project... 2 роки тому
syote_comms.py support generating a private/public key pair by running this... 1 рік тому
sysIrqHandlers.h get tx/rx working between two Node151's.. 3 роки тому
sysinit.c convert the irrigation project to sysinits... 2 роки тому
sysinit.h add USB, add proper _LAST, and verify range, support void functions 2 роки тому
util.py forgot to add the copyright for this file.. 3 роки тому
util_load.py change the default to be func.. 3 роки тому

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.