GPS On Demand

Open
#3,919 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 2 days

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
28/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
c
Domain
embedded-iot

Research direction

Start with issue #3877, which the report says already carries an implementation and T1000-E test results — read it before touching anything, and treat this issue as the design/spec thread. From there, trace how companion preferences are parsed and stored, how telemetry requests are authorised by location permission, and where GPS power is currently toggled, since the feature needs a new gps_od pref, a gps_od_to timeout, and a tag-matched second telemetry reply after a fresh fix. Done means a permitted request while GPS is off yields an immediate no-location reply and a later fix reply, with GPS powering down after the hold or timeout.

Written by the indexing model from the issue text.

Description

[Feature request] Companion: GPS on demand for permitted location telemetry requests

Use case: volunteer emergency messaging network in rural Sweden. Users work in the
forest; when someone sends an alert, the receiving station polls their telemetry
and needs a real position, but GPS cannot stay on all day (battery).

Proposal: opt-in companion pref gps_od. With GPS off, a location-permitted
telemetry request powers the GPS up, the requester gets an immediate reply without
location, and a second response with the same tag once a fresh fix is available.
GPS powers down after a 30 s hold or a timeout (gps_od_to).

Implementation and test results (T1000-E): #3877

Dominant language
C
Stars
3.9k
Forks
1.5k
Avg merge
2d 7h
Merged PRs (30d)
56

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

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 meshcore-dev/MeshCore

All issues in meshcore-dev/MeshCore

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.