ericcornelissen / NervousFish

An app for your :iphone: to exchange public-keys in a secure manner.
GNU Lesser General Public License v3.0
2 stars 4 forks source link

Adding bluetooth traffic parse logic in the pairinghandler#159 #166

Closed TheBonheurs closed 7 years ago

TheBonheurs commented 7 years ago

What

Add the possibility to send multiple types data over Bluetooth and also being able to seamlesly parse it at the receivers end.

Why

Because we need to send multiple types of data via Bluetooth like contacts but also singleTaps as means of verification. The bluetoothHandler should be able to handle that.

How

By adding the more specific calls to the bluetooth activity one should be able to properly recieve variying data on their device via bluetooth.

Alternative implementation

Instance specific implementations were discussed with the team over whatsapp. Think things like a new wrapper for a list of contacts or just a list of contacts etc.

Notes

Most of the work went into APairingHandler and it's tests so that woulde be top priority to review. For @jverbraeken please look at the new wrapper classes. For everybody, please look at the suppresswarnings statements and comment if you don't agree