This commit is contained in:
olafland 2020-06-08 16:36:01 +02:00
commit bc5a6a8c39
2 changed files with 16 additions and 11 deletions

View File

@ -10,4 +10,4 @@ zephyr_include_directories(${APPLICATION_SOURCE_DIR}/src/tls_config)
#use for testing only, will update keys every X seconds, default is 600
#add_definitions(-DEN_INTERVAL_LENGTH=11)
add_definitions(-DEN_INTERVAL_LENGTH=1)
#add_definitions(-DEN_INTERVAL_LENGTH=1)

View File

@ -1,20 +1,25 @@
# Covid Bracelet
** Contributions Welcome! **
**Contributions Welcome!**
## Get Started
We use Zepyhr master as we need a newer mbed TLS as the ones that ships with Zephyr 2.2. We are waiting for the Zepyhr 2.3 release. To build, please install Zephyr and compile via west. Note that Platform.io sadly does not support Zephyr 2.3 rc / Zepyhr master at the current time.
## Get Started: Based on Zephyr OS and NRF52 BLE SOCs
We use Zepyhr master as we need a newer mbed TLS as the ones that ships with Zephyr 2.2. We are waiting for the Zepyhr 2.3 release. To build, please install Zephyr and compile via west. Note that Platform.io does not support Zephyr 2.3 rc / Zepyhr master at the current time.
## Features
* Code sends out and receives exposure beacons
* Rolling, encrypted, anonymous beacons as specified by Google and Apple
* Code sends out and receives exposure beacons as specified by Google and Apple for Covid Contact Tracing
* Rolling, encrypted, anonymous beacons
* Compatible with Apple iOS and Android phones
* with rolling proximity identifiers and encrypted metadata
* proximity identifiers and BLE addresses change every 10 minutes
* stores own keys for 14 days
* stores contacts with more than 5 minute duration
* Upon infection upload keys to a public database
* Retrieve keys of infections from database
* to check for exposure
* Based on Zephyr OS and NRF52 BLE SOCs
* computes rolling proximity identifiers
* compares to stored contacts to check for exposure
* Note: as we do not use the flash for key storage, this only works on nrf52480 or you can just store a very small number of keys
** Note: this is a proof of concept and not ready for production **
**Note: this is a proof of concept and not ready for production**
## Open / Possible next steps
* extensive compatibility testing with Apple iOS and Android devices
@ -31,12 +36,12 @@ We use Zepyhr master as we need a newer mbed TLS as the ones that ships with Zep
* time sync
* firmware of the air updates (signed)
##TODOs Wristband
## TODOs Wristband
Possible platforms for real-world deployment many, as many of the cheap fitness trackers base on NRF52 or chips with similar capabilities.
However, many would need the firmware to be shipped to manufactures.
* Watch UI
* Pine Time could be good for testing
##TODOs App / Basestation
## TODOs App and Basestation
* extend this beyond the simple basestation
* read keys form national databases