Skip to content

feat: add location privacy / GPS blurring#2611

Open
tedder wants to merge 2 commits into
meshcore-dev:mainfrom
tedder:ted/gps-blur
Open

feat: add location privacy / GPS blurring#2611
tedder wants to merge 2 commits into
meshcore-dev:mainfrom
tedder:ted/gps-blur

Conversation

@tedder
Copy link
Copy Markdown

@tedder tedder commented May 23, 2026

addresses #870 and #1741 by chopping the floating point digits at (6-blur_digits). Tested and running on my Station G2, but should work on all.

Using integer math for the truncation.

Further, we're doing deterministic GPS fuzz offsets. When in "blur mode", using the device pubkey, offset the device from the truncated GPS coordinate. This prevents multiple devices from being at the same point.

By using modulo we may not be evenly distributed, but they should have decent spread.

Here are some examples from one device:

gps
  -> on, active, fix, 7 sats
gps blur
  -> > 3, offset lat+0.000071 lon-0.000310


gps blur 4
  -> ok, offset lat+0.000021 lon+0.000040
gps blur 3
  -> ok, offset lat+0.000071 lon-0.000310
gps blur 2
  -> ok, offset lat-0.003429 lon-0.004810

tedder added 2 commits May 23, 2026 10:55
addresses meshcore-dev#870 and meshcore-dev#1741 by chopping the floating point digits at `(6-blur_digits)`. Tested and running on my Station G2, but should work on all.
When in "blur mode", using the device pubkey, offset the device from the truncated GPS coordinate. This prevents multiple devices from being at the same point.

By using modulo we may not be evenly distributed, but they should have decent spread.

Here are some examples from one device:
```
gps
  -> on, active, fix, 7 sats
gps blur
  -> > 3, offset lat+0.000071 lon-0.000310
gps blur 4
  -> ok, offset lat+0.000021 lon+0.000040
gps blur 3
  -> ok, offset lat+0.000071 lon-0.000310
gps blur 2
  -> ok, offset lat-0.003429 lon-0.004810

```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant