GPS On Demand

Offen
#3,919 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 2 Tagen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
28/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
c
Bereich
embedded-iot

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

[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

Vorherrschende Sprache
C
Sterne
3.9k
Forks
1.5k
Ø Merge
2 T. 19 Std.
Gemergte PRs (30 T.)
61

Entwicklungsumgebung

Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus meshcore-dev/MeshCore

Alle Issues in meshcore-dev/MeshCore

Ähnliche Issues

Weitere Issues zu C

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.