lindemer / securecare

SIP-IoT SecureCare Project

Home Page:https://www.ri.se/en/what-we-do/projects/sip-iot-securecare-secure-and-reliable-iot-better-living-and-elderly-care

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SecureCare

This is an experimental implementation of the SUIT protocol for the SIP-IoT SecureCare project at RISE Research Institutes of Sweden targeting the Nordic Semiconductor nRF52840. The repository contains partial implementations of the following IETF standards and drafts:

SecureCare logo

Usage

The nRF52840 node is flashed with the default Thread credentials included with the OpenThread border router and should connect automatically to the network. LED1 indicates the Thread connection status: off for detached, blink for connecting and on for connected. The link-local IPv6 addresses of all Thread devices connected to the border router can discovered by pinging ff02::1%wpan0. The OpenThread border router is pre-configured with a NAT64 interface. Run dns resolve ipv4.google.com fdaa:bb:1::2 from the OpenThread CLI on the node to check Internet connectivity.

Project Structure

  • key keys and certificates
  • lib external libraries
  • src/cose COSE, CWT and SUIT parser/encoder sources
  • src/demo example code for the nRF52840 SoC
  • src/est EST-CoAPs sources
  • src/util command line utilities

Build Components

  1. Run make from key to generate keys. (This will overwrite existing keys).
  2. Run make from src/demo to flash the example code to an nRF52840 SoC.
  3. Run make from src/util to compile CLI utilities.

Toolchain Installation

This code has been built and tested on an nRF52840 DK using the nRF5 SDK for Thread v4.1.0. Create an environment variable called $NRF5_SDK pointing to the SDK directory before running make. Clone a copy of the micro-ecc repository into $NRF5_SDK/external/micro-ecc/micro-ecc, then run make from the $NRF5_SDK/external/micro-ecc/nrf52hf_armgcc/armgcc directory. The SDK expects to find a copy of the Arm GCC Embedded Toolchain v7-2018-q2-update in the /usr/local directory.

The Linux-native components of this project depend on a local installation of libcoap and mbedTLS, both of which can be found in lib.

About

SIP-IoT SecureCare Project

https://www.ri.se/en/what-we-do/projects/sip-iot-securecare-secure-and-reliable-iot-better-living-and-elderly-care


Languages

Language:C 94.6%Language:Makefile 3.6%Language:C++ 1.8%Language:GDB 0.0%