Skip to content

An application for microcontrollers running RIOT-OS that collects CWA packets, together with an Angular Web-App for data visualization.

Notifications You must be signed in to change notification settings

fu-ilab-swp2021/SWP_IoT_Corona

Repository files navigation

Software project Corona-Warn-App

Setup

When cloning the repository, you should use git clone --recurse-submodules <REPOSITORY URL>, so that the RIOT submodule is cloned as well. Alternatively, you can use git submodule init and git submodule update.

Build

Scanner

Prerequisite: Vagrant is installed.

  • vagrant up
    
  • vagrant ssh
    
  • First time:
    • Download JLink for Linux, DEB installer, Version >=6.80 at J-Link Software and Documentation Pack. Install using
      sudo dpkg -i /path/to/jlink_xxx.deb
      
    • pip3 install pyserial
      
  • cd SWP_IoT_Corona/ricorder
    
  • Connect Nordic-Board via USB and turn it on.
  • make all
    
  • make flash BOARD=nrf52dk
    

Web-UI

With Docker

Without Docker

Prerequisite: Python and NPM/NodeJS are installed.

  • First time:
    • Install Angular CLI.
      npm install -g @angular/cli
      npm install
      
    • Install Python dependencies
      pip3 install -r cwa-scanner-backend/dependencies 
      
  • cd cwa-scanner-backend
    
  • python3 main.py
    
  • Open second terminal
  • cd cwa-scanner-webui
    
  • ng serve
    
  • Visit http://localhost:4200 in your browser.

About

An application for microcontrollers running RIOT-OS that collects CWA packets, together with an Angular Web-App for data visualization.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •