-
Notifications
You must be signed in to change notification settings - Fork 301
Nz sf region #985
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Nz sf region #985
Changes from all commits
48ba83a
11beb42
341b5af
b942055
1153d23
cd290ba
a5bd918
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -1809,8 +1809,14 @@ | |
| * Note: this field is _never_ sent on the radio link itself (to save space) Times | ||
| * are typically not sent over the mesh, but they will be added to any Packet | ||
| * (chain of SubPacket) sent to the phone (so the phone can know exact time of reception) | ||
| */ | ||
| fixed32 rx_time = 7; | ||
| * Explicit presence: firmware cannot always attach a trustworthy wall-clock timestamp at the | ||
| * moment of reception - a node with no GPS and no phone connected yet has no time source at | ||
| * all. has_rx_time disambiguates that state from a genuine (if coincidental) 1970-01-01 | ||
| * reading. A packet delivered with this field absent may still be re-timestamped once a valid | ||
| * clock becomes available, before the phone ever sees it - "absent" is not guaranteed | ||
| * permanent, only "not yet known at last observation". | ||
| */ | ||
| optional fixed32 rx_time = 7; | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🗄️ Data Integrity & Integration | 🟠 Major | 🏗️ Heavy lift 🧩 Analysis chain🏁 Script executed: #!/usr/bin/env bash
set -euo pipefail
# Expect: the generator and schema-compatibility policy are identified.
rg --hidden -n -C 5 \
'protoc|nanopb|proto3_optional|breaking|cardinality' \
-g '!.git' .
# Expect: all rx_time writers and readers use presence-aware APIs.
rg --hidden -n -C 6 \
'rx_time|has_rx_time|HasField.*rx_time|ClearField.*rx_time' \
-g '!.git' .Repository: meshtastic/protobufs Length of output: 35149 🏁 Script executed: #!/usr/bin/env bash
set -euo pipefail
echo "== buf.yaml =="
cat -n buf.yaml
echo "== workflow breaking/lint snippets =="
sed -n '1,80p' .github/workflows/pull_request.yml | cat -n
echo "== mesh proto rx_time and ServiceEnvelope context =="
sed -n '1730,1825p;2130,2195p' meshtastic/mesh.proto | cat -n
echo "== top-level proto options for proto3_optional / explicit presence config =="
rg -n -C 3 'proto3_optional|syntax = "proto3"|breaking|except:' meshtastic *.proto options build.gradle* .gradle* 2>/dev/null || trueRepository: meshtastic/protobufs Length of output: 12718 🌐 Web query:
💡 Result: In NanoPB, a Citations:
Coordinate the explicit-presence migration with downstream generated bindings.
🧰 Tools🪛 GitHub Check: build[failure] 1819-1819: 🤖 Prompt for AI AgentsSource: Linters/SAST tools |
||
|
|
||
| /* | ||
| * *Never* sent over the radio links. | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🗄️ Data Integrity & Integration | 🟡 Minor | ⚡ Quick win
🧩 Analysis chain
🏁 Script executed:
Repository: meshtastic/protobufs
Length of output: 5823
🏁 Script executed:
Repository: meshtastic/protobufs
Length of output: 6450
Add
NZ_915to the region-preset map contract.NZ_915 = 38is a valid new region value, butmeshtastic/mesh.protostill has noLoRaRegionPresetMap.region_groupsentry for it, andmeshtastic/mesh.optionscaps only the map at 39 entries. Add theNZ_915preset-group mapping withdefault_preset = SHORT_FASTso clients can reject unsupported preset combinations, or leave clear documentation thatregion_groupshas no entry for this region.🤖 Prompt for AI Agents