GPS On Demand

Aberta
#3,919 0 comentários 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 2 dias

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
4/5
Tempo estimado
3-5 dias
Facilidade para iniciantes
28/100
Tipo de issue
Funcionalidade
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
c
Domínio
embedded-iot

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

[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

Linguagem predominante
C
Estrelas
3.9k
Forks
1.5k
Merge médio
2d 19h
PRs com merge (30d)
61

Preparar o ambiente

Este projeto não oferece contêiner de desenvolvimento, Dockerfile nem guia de contribuição, então a configuração fica por sua conta: comece pelo README e veja nosso guia da primeira contribuição para os passos gerais.

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de meshcore-dev/MeshCore

Todas as issues de meshcore-dev/MeshCore

Issues semelhantes

Mais issues de C

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.