GPS On Demand

未關閉
#3,919 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 2 天內回覆

還沒有人認領這個 Issue。

評估

難度
4/5
預估耗時
3-5 天
新手友好度
28/100
Issue 類型
功能
描述清晰度
基本清楚
活躍度
活躍
技術堆疊
c
領域
embedded-iot

研究方向

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.

由索引模型根據 Issue 內容生成。

描述

[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

主要語言
C
星號
3.9k
分支
1.5k
平均合併
2 天 19 小時
30 天內合併 PR
61

環境準備

這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

meshcore-dev/MeshCore 的其他 Issue

查看 meshcore-dev/MeshCore 的全部 Issue

相似的 Issue

更多 C Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。