Giter Site home page Giter Site logo

starkillercrypto / iot-contact-tracer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from fwcd/iot-contact-tracer

0.0 0.0 0.0 420 KB

Decentralized contact tracing system supporting IoT devices and smartphones

License: MIT License

Shell 1.62% Batchfile 1.04% Makefile 0.57% C 21.03% Python 15.82% Dockerfile 1.32% HTML 8.06% Kotlin 0.30% Swift 0.91% Objective-C 0.09% Dart 30.03% Java 19.22%

iot-contact-tracer's Introduction

IoT Contact Tracer

A decentralized contact tracing system, inspired by DP-3T and Apple/Google's Exposure Notification, featuring:

  • server: A server storing exposed identifiers
  • cng-client: An embedded client based on the Contiki-NG os
  • cng-adapter: An adapter that mediates between the embedded client and the server
  • mobile-client: A mobile client for Android/iOS, using Flutter

Simulation

Cooja Simulation of the Contiki-NG client nodes

How it works

Each client node periodically generates pseudorandom 16-bit identifiers (referred to as "rolling identifiers") and distributes the most recent identifier at a fixed interval. There are two protocols involved here:

  • The Contact Tracing Protocol
    • Each message consists of an unframed, 16-bit integer representing an identifier
    • Every node receiving such a message is expected to store it for exactly 14 days
    • Supported transports:
      • Contiki's Nullnet
        • through the cng-client
      • iBeacons
        • using the last 2 bytes of the UUID for the payload
        • through the mobile-client
  • The REST/JSON API
    • Currently supports two (public) endpoints:
      • /api/v1/exposures (GET/DELETE)
      • /api/v1/exposures/:id (GET/PUT/DELETE)

Note that the different contact-tracing transports are not yet compatible.

Continuous Deployment

This project is continuously deployed using GitHub Actions, GitHub Packages and a Kubernetes cluster hosted by Digitalocean. k8s-cd-setup

iot-contact-tracer's People

Contributors

fwcd avatar leoverto avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.