Open gnuhel opened 4 years ago
The last time we tested iOS -> Android, it was working. We will start a new testing round in a few days and update this issue.
Have you tried Android <->iOS (in background)?
Confirming that with the CoEpi apps, I'm able to see the iOS app's TCN while the iOS app is in the background:
Android version: https://github.com/Co-Epi/app-android/commit/5b142d452e733cf831ff50be3ca7ccafeb7a9bb1 iOS version: https://github.com/Co-Epi/app-ios/commit/7c5880e9d0f4538dfc747cbeabc4ff150148a2a4
As for the internals (AFAIR!), while Android can connect to an iOS device advertising in the background, there was a bug in Android's BLE after doing many connections, because of which it was decided that the iOS device acts as a central and connects to the Android's peripheral to write its TCN instead. When iOS scans in the background it uses passive mode, which means that it can't request the service UUID from the peripheral if it's not provided directly in the advertisement data. But Android does send it in the advertisement data, so it's not a problem.
Hi,
we are trying to use TCN protocol to track iOS and Android devices. iOS could retrieve TCN when advertising data from Android. But when iOS advertise the data, Android could not see any TCN data. Are we doing something wrong? We are using the implementation of Android and iOS in the repo.
In the doc it says
So Android opens a GATTServer and iOS can write TCN to it.
What happens if iOS is in the background? does it still try to write anything to the Android Gatt Server? I tried it but I didn't get anything? What would be the solution?