Skip to content
Snippets Groups Projects
Commit 4349b54b authored by schneider's avatar schneider
Browse files

Exposure Notifications page

parent 6f666d8e
No related branches found
No related tags found
No related merge requests found
Pipeline #4640 passed
---
title: Exposure Notifications
---
COVID-19 Exposure Notifications are based on Bluetooth Low Energy (BLE). They are based on BLE advertisements and can be received (and in general also be sent) by the card10.
> :warning: The Exposure Notification support of the card10 is not meant as an replacement for official Exposure Notification apps. It is merely meant as a tool for the curious.
The currently released firmware for the card10 does not allow receiving of BLE advertisements. [Here](https://git.card10.badge.events.ccc.de/card10/firmware/-/merge_requests/392)'s a Merge Request which implements this functionality. If you have a working toolchain for the card10, please try and build this MR, as you will have to most up-to-date version. If you do not have a working toolchain, you can download a [pre-build image](/release/card10-exno-06-28.zip). Simply unzip the archive and merge it onto your card10.
To use the BLE features of the card10 make sure to enable BLE in the `Bluetooth` app.
> :warning: This firmware has to be considered untested and therefore faulty. Please make a backup of your file system before putting the new firmware onto your card10.
## Exposure Notification Statistics and Scanner App
After installing the firmware update, you will find a new app on your card10: `Exposure Notification Stats`. If you launch this app (Bluetooth has to be enabled. See above.) you will start to see some statistics about Exposure Notifications in you vicinity. The app will try to distinguish Apple and Google devices based on a heuristic. This heuristic might fail at any point in time. The app shows the number of unique MACs (aka devices) seen during the last 100 seconds. The seconds counter shows how long ago the oldest considered MAC has been received. A low number means that most of the counted devices are still in you vicinity.
Two buttons allow you to switch the LED and vibration motor behavior:
- Off: Default after launching the app.
- New MAC: Flash an LED (yellow) or strongly vibrate when a new MAC (aka device) is observed.
- Each RX: Flash an LED (blue) or weakly vibrate when for each received Notification Exposure.
- Both: Do both ;)
Almost all logic is written in Python and can be modified by you: [apps/exnostat/__init__.py](https://git.card10.badge.events.ccc.de/card10/firmware/-/blob/schneider/covid-tracing/preload/apps/exnostat/__init__.py)
[![Exposure Notification Counter app](/media/card10-exnostat.jpg)](/media/card10-exnostat.jpg)
[![Exposure Notification Counter app running](/media/card10-exnostat.mp4)](/media/card10-exnostat.mp4)
media/card10-exnostat.jpg

1.02 MiB

File added
File added
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment