You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When doing a fresh install on 2 devices with BLE enabled, the TCN generation callback of both will be executed and the TCN will be shown in the debug screen ("My TCN"), and logs.
Restarting the app on one of the devices (from Xcode or stopping/re-opening on the device), however, will not trigger the TCN generation callback, which leaves "My TCN" field on the device empty:
Why does this happen?
How does this affect the contact tracing (not sure whether it's actually an issue)?
Is there an easy fix for the debug screen to show it?
Context:
iOS - iOS as far as documented in the spec, should generate the TCN when receiving a read request. If we restart a device and are not generating it, it means that the central isn't reading or detecting the advertisements?
The TCN generation callback can be found in BleAdapter
The text was updated successfully, but these errors were encountered:
The "My TCN" displayed in the UI is set when the TCN generation closure is called.
This means that if device1 is restarted, device2 has cached its TCN and will not send a new read request. The restart causes device2 to lose the "My TCN" variable, and since the TCN generation closure is not called, the UI isn't updated.
TLDR: Only an issue of the debug screen. We could try to fix it, though not sure how, e.g. we can store the last generated TCN in preferences and restore it when the device restarts. But is this TCN always meaningful? If we're testing with more than 2 devices, there will be 2 valid last generated TCNs, so we'd have to store a list, etc.
When doing a fresh install on 2 devices with BLE enabled, the TCN generation callback of both will be executed and the TCN will be shown in the debug screen ("My TCN"), and logs.
Restarting the app on one of the devices (from Xcode or stopping/re-opening on the device), however, will not trigger the TCN generation callback, which leaves "My TCN" field on the device empty:
Context:
BleAdapter
The text was updated successfully, but these errors were encountered: