GPS On Demand

Đang mở
#3,919 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 2 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
28/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
c
Lĩnh vực
embedded-iot

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

[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

Ngôn ngữ chính
C
Star
3.9k
Fork
1.5k
Merge trung bình
2 ngày 7 giờ
Pull request đã merge (30 ngày)
56

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của meshcore-dev/MeshCore

Tất cả issue của meshcore-dev/MeshCore

Issue tương tự

Thêm issue về C

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.