Skip to content
This repository has been archived by the owner on Jun 20, 2023. It is now read-only.

iPhone 12 Pro BLE sensitivity #1531

Closed
2 tasks done
wolfgang35435 opened this issue Nov 17, 2020 · 36 comments
Closed
2 tasks done

iPhone 12 Pro BLE sensitivity #1531

wolfgang35435 opened this issue Nov 17, 2020 · 36 comments
Labels
question Further information is requested

Comments

@wolfgang35435
Copy link

wolfgang35435 commented Nov 17, 2020

Avoid duplicates

  • Question is not already answered in the FAQ
  • Question has not already been asked in another issue

Your Question

  • Source File:
  • Line(s):
  • Question:
    After having moved from iPhone X to iPhone 12 pro, I noticed that I got many more low risk warnings and recently even a high risk warning. I checked with the BLE scanner app and found many more BLE devices in reach for the iPhone 12 Pro compared to iPhone X. Furthermore, the measured signal strength of a BLE device is significantly larger on the iPhone 12 Pro than on the iPhone X for a BLE source placed at the same distance. (see attached pictures)
    Since you use the signal strength to calculate the distance, there should be a recalibration for BLE chips with different sensitivity. How is this done and has it been done for the new iPhone series ?
    iPhone 12 Pro
    iPhone X
@wolfgang35435 wolfgang35435 added the question Further information is requested label Nov 17, 2020
@Ein-Tim
Copy link
Contributor

Ein-Tim commented Nov 17, 2020

@wolfgang35435 Just FYI:
All these Apps (under iOS) can not show RPIs because they are filtered out by iOS (so on OS-Level).
But still your question is good and should be answered.
Have a nice evening

@wolfgang35435
Copy link
Author

wolfgang35435 commented Nov 17, 2020 via email

@thomasaugsten
Copy link
Member

This is already normalised by apple to have comparable attenuation between the devices

@wolfgang35435
Copy link
Author

wolfgang35435 commented Nov 17, 2020

Doesn't seem to work properly. Since the area goes like the square of the radius, iPhone 12 users might get many more warnings (both low risk and high risk)

@thomasaugsten
Copy link
Member

thomasaugsten commented Nov 17, 2020

I don't you can compare the output of a BLE Scanner which shows the plain rssi with the ENF

The Exposure Notifications framework exposes calibrated attenuations that aim to be device-agnostic. This Bluetooth Low-Energy (BLE) signal strength attenuation, defined as transmit power (TX_power) minus received power (RSSI), can be used as a (noisy) proxy for distance.

Attenuation = TX_power - (RSSI_measured + RSSI_correction)

@wolfgang35435
Copy link
Author

Right. However, how about the quality of the correction? If the BLE hardware is sufficiently different in sensitivity, the correction might become large and the error of the correction will propagate into the distance measurement. The whole question was triggered by suddenly observing a large number of warnings after switching to the new iPhone (8 within a few days). I am a careful person avoiding any unnecessary contact.

@Ein-Tim
Copy link
Contributor

Ein-Tim commented Nov 18, 2020

@wolfgang35435
I don't think you can really tell with the usage of BLE Scanner. Apple definitely corrects only the RPIs and these are not shown by the App. If you still get so many encounters (although you only had a few contacts) you can report back here but Issues like this are always really hard to investigate because of the high Data Privacy.
You could share your EN-Log here so I can take a look if the ENF also recorded these Encounters (I'm sure it has, but just to be safe).

How to export Exposure Notificaiton Logs under iOS 13.7 or newer

German:

Einstellungen ➡️ Begegnungsmitteilungen ➡️ Status von Begegnungsaufzeichnungen ➡️ Begegnungsüberprüfungen ➡️ Überprüfungen exportieren

English:

Settings ➡️ Exposure Notifications ➡️ Exosure Logging Status ➡️ Exposure Checks ➡️ Export Exposure Checks

@wolfgang35435
Copy link
Author

Attached please find my log file
ExposureChecks-2020-11-18.json.zip
. Right now, I turn Exposure Logging off when I am at home. Just turning it on for a short time got me another warning.

@wolfgang35435
Copy link
Author

wolfgang35435 commented Nov 18, 2020 via email

@Ein-Tim
Copy link
Contributor

Ein-Tim commented Nov 18, 2020

@wolfgang35435

Does this mean I had 3 encounters with the same infected person within 24 hours?

No, inside one hash there are many DKs (the Keys which were upload by positive people) from different positive tested people. So you can't really tell when you met them (until the Encounters start to disappear (after 14 days)).

Could you please also share a screenshot of your CWA?

@wolfgang35435
Copy link
Author

wolfgang35435 commented Nov 18, 2020 via email

@Ein-Tim
Copy link
Contributor

Ein-Tim commented Nov 18, 2020

@wolfgang35435

The upload didn't work. But it's not that important, how many encounters is CWA showing at the moment?

@wolfgang35435
Copy link
Author

wolfgang35435 commented Nov 18, 2020 via email

@Ein-Tim
Copy link
Contributor

Ein-Tim commented Nov 18, 2020

@wolfgang35435
Okay, so if there are 9 encounters this is consistent with the logged information by the ENF.
This is all what I can do for you, just one small remark:
The quote:
9 Encounters with High Risk doesn't mean that you met 9 different people, it could also be that you met one person 9 times on different days.

@wolfgang35435
Copy link
Author

wolfgang35435 commented Nov 18, 2020 via email

@Ein-Tim
Copy link
Contributor

Ein-Tim commented Nov 18, 2020

@wolfgang35435

Yes but please note that:

neither duration nor distance of a contact is a high-precision measurement. The bluetooth low energy (BLE) beacons are read and stored only once every 5 minutes. For this reason it can well happen that a short-time contact is seen and logged on one device but not on the other, even if the two devices were always at the same location / in short distance to each other.

(mirrored from here: #1469 (comment) @ndegendogo's comment)

@wolfgang35435
Copy link
Author

wolfgang35435 commented Nov 18, 2020 via email

@ndegendogo
Copy link
Contributor

@wolfgang35435 As @Ein-Tim already mentioned. BLE is no high-precision. If your new device has better hardware than your old, it may well be that it picks up signals that were too weak for the previous.
The expectation is of course that in general those delta should be of low risk.

Please be aware that cwa screen showing 9 encounters on a red card, means: you had 9 contacts, and your overall risk score is red.
It tells no more details how many of the 9 were close or distant, long or short exposures.
Also please be aware that 9 contacts yield no good statistics.

@wolfgang35435
Copy link
Author

wolfgang35435 commented Nov 18, 2020 via email

@ndegendogo
Copy link
Contributor

@wolfgang35435 you might also be interested in this discussion back in summer.
They also compared recorded contacts with two different devices, and are discussing the differences found.

However, the main lesson here is how extremely noisy this data is, at least when looking at weak Bluetooth signals: sometimes your SE catches something, sometimes it's your iPhone 8.

@wolfgang35435
Copy link
Author

wolfgang35435 commented Nov 20, 2020 via email

@ndegendogo
Copy link
Contributor

@wolfgang35435

Which information is correct?

Both
last high risk encounter was more than 14 days ago
last encounter was 3 days ago (which was 9 days ago from today) => high or low risk, whichever was later

Maybe it helps if you remember that a "red" or "green" card shows your total risk score, not an individual contact.
(And, yes, of course, a long and near exposition contributes more to this total score than a short or distant exposition).

@wolfgang35435
Copy link
Author

wolfgang35435 commented Nov 20, 2020 via email

@Ein-Tim
Copy link
Contributor

Ein-Tim commented Nov 20, 2020

@wolfgang35435 For more information see: corona-warn-app/cwa-documentation#422

@dsarkar
Copy link
Member

dsarkar commented Nov 20, 2020

Dear @wolfgang35435,

Actually, regarding the notification of the exact date, developers are currently working on this topic, see here #1550.

Best wishes,
DS


Corona-Warn-App Open Source Team

@wolfgang35435
Copy link
Author

wolfgang35435 commented Nov 20, 2020 via email

@ndegendogo
Copy link
Contributor

@dsarkar thanks for the update. You can tell your UI designers that I like the new/ upcoming messages much more than the current. It removes a lot of ambiguity. 😀

@Ein-Tim
Copy link
Contributor

Ein-Tim commented Dec 11, 2020

Somebody else reporting this: #1672

@holicodes
Copy link

holicodes commented Dec 11, 2020

Technical details

  • Device name: iPhone 12 Pro
  • iOS Version: 14.2.1
  • App Version: 1.7.1 (0)

Describe the bug

Adding my info here, I've closed my duplicate #1672 now.

I think I see the same issue as @wolfgang35435 on my iPhone 12 Pro. My match count is significantly higher than my girlfriend's on her iPhone Xs, with the same behavior. Today, I have 10 low-risk matches whereas she has 5. Since I got the new phone, I also saw two peaks without any changes in my daily life that could explain them.

I started taking notes on November 19, exactly 2 weeks after setting up the new iPhone, to have more than the 14-day view of the iOS logs. Earlier than Nov 19 (also on the old phone of course), I never exceeded 3 matches but I know that we had infection numbers rising a lot during that timeframe. Here's what my notes look like:

Date Match count
Before never more than 3
Nov 19 5
Nov 20 8
Nov 21 11
Nov 22 3
Nov 23-25 2
Nov 26 1
Nov 27-30 0
Dec 1-2 0
Dec 3-7 1
Dec 8 1 at 16:01, 9 at 20:02 CET
Dec 9 9 at 08:05, 10 at 12:06 CET
Dec 10-11 10

During this time, my girlfriend never had more than half of my matches and she even used public transport a couple times whereas I didn't. As a control device, my work phone (iPhone Xs) shows zero matches so I can exclude any impact from the surroundings/neighbors of our flat. Exposure log is attached.

ExposureChecks-2020-12-11.txt

@Ein-Tim
Copy link
Contributor

Ein-Tim commented Dec 11, 2020

Thanks @holicodes

Could you maybe also provide

  • iOS Version
  • CWA Version?

Thanks!

@holicodes
Copy link

@Ein-Tim – for me, the change you mentioned in #1703 conveniently solved this issue, too. Right after the update to 1.9.1 I now have zero encounters instead of 9 green ones.

Did this solve it for you too, @wolfgang35435?

@Ein-Tim
Copy link
Contributor

Ein-Tim commented Dec 28, 2020

@wolfgang35435 Could you give us an update? Did 1.9.1 solve the problem?
Thank you!

@wolfgang35435
Copy link
Author

wolfgang35435 commented Dec 28, 2020 via email

@Ein-Tim
Copy link
Contributor

Ein-Tim commented Dec 28, 2020

Okay, I don't think the new calibration is too low, the configuration before was to sensitive IMHO...
Do you still want this Issue to stay open @wolfgang35435?

@wolfgang35435
Copy link
Author

wolfgang35435 commented Dec 28, 2020 via email

@Ein-Tim
Copy link
Contributor

Ein-Tim commented Dec 28, 2020

@thomasaugsten could you close this?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

6 participants