Tell me about the `confidence` key

Open
#197 6 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
20/100
Issue type
Documentation
Clarity
Needs clarification
Activity status
Stale
Tech stack
ios

Research direction

No file, test, or entry point is identified in the issue. Start by locating where the Haystack report field conf or confidence is produced and used; done means documenting its meaning and scale, including whether it represents signal strength or distance.

Written by the indexing model from the issue text.

Description

question

Hi all,

Haystack reports have a key called conf. I’ve seen it go as high as 115. What is this number telling me? What’s the scale?

My best guesses are:

  • it’s the dBm of the beacon’s signal. This would allow a very rough estimate of the distance between the tag and the iPhone.

  • it’s the estimated distance, in feet, between the tag and the iPhone sending the report. Using this as a confidence radius produces reasonable results.

I think the first is most likely, but the second produces reasonable ranges.

What am I missing or don’t know?

Thanks in advance

Dominant language
Swift
Stars
13.6k
Forks
681
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from seemoo-lab/openhaystack

All issues in seemoo-lab/openhaystack

Similar issues

More Swift issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.