-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Field test with German Corona Warn App #28
Comments
Thanks for testing out the software, and for the useful report. Installing manually shouldn't have any effect on it working. The "Sent" indicator will increment every 10 mins, and Android sends out beacons every 10-15 mins, so you should have received at least one beacon in that time. There are a couple of things you can do that would be useful to help figure out what's going wrong.
Re-open the app and set it to scan/send again. If you could post the output here, that would be useful.
If you could do this, I can also test it out on the Xperia X I have here. I've heard reports of Bluetooth peculiarities on the X with other software, so it could be related to that. |
$ contracd |
[D] ExposureNotification::onRpiChanged:479 - CONTRAC: onRpiChanged |
[D] ExposureNotification::intervalUpdate:470 - intervalUpdate |
Thanks for the logs, they're very helpful. It's clear from them that there are issues here both scanning and setting up advertisements. The relevant lines are the following:
Both of these are errors returned by bluez5 suggesting that the Bluetooth hardware/driver doesn't support what's needed. I got similar errors on a Jolla C, but I wasn't expecting them on the X. I'll have to try it on my X here, but if it is this, then it may not be easy/possible to work around. I'll post what I discover here. The only other thing I could think of is if you're running any other software that uses BLE (e.g. Amazfish). Could that be the case? |
I'm quite sure I don't use any BLE services. My wife just tried it with her Xperia XA2 and immediately got "Sent: 1, Received: 1", after she started »contrac« next to an Android tablet with the Corona Warn App. Does the official Corona App / the protocol answers the beacon? Otherwise this would be a strange coincident.. Now it shows "Sent: 1, Received: 2". However, my Xperia X in close proximity still shows "Received: 0". |
Hi David, |
Thank you both @mariohock and @triessner for your feedback.
There's no answers, it's entirely passive. Given this it may seem strange but the reason the beacons may appear to be in sync is because the same beacon is retransmitted very often. The counter only goes up when the beacon is different, and they'll go out of sync because the time between new beacons is "a random value that is greater than 10 minutes and less than 20 minutes" (from the specification). I've not had a chance to investigate the issues you're experiencing with the Xperia X, but I will do.
Thanks for the offer, and your report of things working is already helpful. There's a new version of the app, and if you could please test out uploading and downloading keys to/from the test server and let me know if there are any errors or issues, that would be very useful.
Unfortunately not that I'm aware of. The Android implementation is very secretive about its data, quite-rightly for privacy reasons. What I'd love to know is whether the Android app is receiving the beacons Contrac sends out, but as far as I'm aware there's no way to access this info, sadly. |
I downloaded the new version and made some tests.
Hope this helps, |
I can confirm the behaviour with my xperia x, i also have the log output with the missing filter support
When i try to stop the "scan and send active", it produces an infinite number of
and ends with |
I think this may belong here, otherwise feel free to make a new issue out of it: I just reported on the forum, but testing seems to confirm it only happens when I have contrac active. (Germany, XperiaX, otherwise app seems to work fine, except of #26) Copy from Forum: REPRODUCIBILITY (100%): DESCRIPTION:
ADDITIONAL INFORMATION: I grepped kernel from journalctl -a (thus its not the full log, but longer log here) If you need more, let me know. |
Thanks for releasing the first Alpha. I downloaded harbour-contrac-0.0.1-1.armv7hl.rpm (30/07/2020 - 22:54) and installed it directly, since I don't have a packet manager for open-repos.
I put the phone for quite some time next to my Android tablet with the German Corona Warn App on it. And I enabled "Scan and send active", also I enabled Bluetooth on may Sailfish Device (Xperia X).
I'm not sure if I did everything correct, but I see: "Contact Beacons, Sent: 3; Received: 0". Is there a way to get more debug output?
The text was updated successfully, but these errors were encountered: