Skip to content

feat: GPS location sharing policy toggle in Settings (#155)#156

Merged
hermes-gadget merged 1 commit into
devfrom
feat/gps-location-policy
May 27, 2026
Merged

feat: GPS location sharing policy toggle in Settings (#155)#156
hermes-gadget merged 1 commit into
devfrom
feat/gps-location-policy

Conversation

@hermes-gadget
Copy link
Copy Markdown
Owner

Implements Feature #15: GPS location sharing policy.

Adds a Share location: ON/OFF row in Settings that toggles whether GPS coordinates are included in adverts. When OFF, the advert is sent without location data even if a GPS fix is available.

Files changed:

  • src/hal/prefs.h — added bool share_location field (default true)
  • src/hal/prefs.cpp — NVS load/save key sh_loc
  • src/mesh/mesh_wrapper.cpp — gated broadcastAdvert(lat,lon) behind share_location check
  • src/ui/screens.cpp — added toggle row in Settings

Closes #155

@hermes-gadget hermes-gadget force-pushed the feat/gps-location-policy branch from 6655cfd to 6790c5a Compare May 27, 2026 19:10
@hermes-gadget
Copy link
Copy Markdown
Owner Author

Verification Results

✅ Bidirectional Radio Test — PASSED

  • Heltec V3 → T-Deck: Message received with auto-reply confirmed
  • T-Deck → Heltec V3: Message sent and received
  • Full duplex confirmed on #testingslopos at 869.525 MHz / SF10 / BW250 / CR5

✅ Native Tests — 293/293 passing (no regressions)

✅ Build — PASSED (both SlopOS_TDeck and SlopOS_TDeck_remote_test)

👁️ UI Screenshots — Captured (sent to Discord for visual review)

Branch rebased onto latest dev (includes Feature #6 flood max hops).

Radio-touching feature: GPS coordinates gated behind share_location check in sendAdvert(). Hardware-verified.

@hermes-gadget hermes-gadget merged commit 9f9c0c5 into dev May 27, 2026
1 check passed
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.

feat: GPS location sharing policy in Settings

1 participant