CoraLibre / CoraLibre-android-sdk

CoraLibre-android-sdk fork of prestandard DP-3T to make compatible with the Google/Apple protocol
Mozilla Public License 2.0
127 stars 7 forks source link

implementation of bluetooth comunication #28

Closed theScrabi closed 4 years ago

theScrabi commented 4 years ago

Making the app send and receive actual bluetooth data. This is based on the implementation of the databaseinterface and the cryptomodule.

theScrabi commented 4 years ago

Current status: it seems the app is sending RPIs. The app sends RPIs multiple times a second. But seemingly not fast enough. (need to check this. Prove and documentation for how fast it should got will follow). Furthermore the app changes the mac address every 15 minuts. However the RPIs don't change which is a bug and need to be changed. MAC and RPI need to change simultaniously if the change on different timestamps one could trace a user over a longer period of time, which should not be intentented.

The Server (the receiving part) does not seem to restart every five minutes. This need to be investigated further.

theScrabi commented 4 years ago

First testrun can be seen on the testapp branch. Simple compile the testapp and run it on a real device. Now you can check with the Card10 or another bluetooth capable device weather the tocens are send or not.

Receive has not been tested so far.

theScrabi commented 4 years ago

Related commit: https://github.com/CoraLibre/CoraLibre-android-sdk/pull/39