mirror of
https://github.com/meshtastic/protobufs.git
synced 2026-04-20 22:13:55 +00:00
Protobuf definitions for the Meshtastic project
Expand the TAKPacketV2 payload_variant with three new typed messages at tags 38/39/40, extend GeoChat with receipt fields, add 43 new CotType enum entries (82-124), and add 3 DrawnShape.Kind / 5 Marker.Kind values for types the previous rollout left on the cot_type_str fallback path. - CasevacReport (tag 38): 9-line MEDEVAC with Precedence / HlzMarking / Security enums and equipment_flags / terrain_flags bitfields. Mirrors ATAK's <_medevac_> detail element; captures what the raw-detail fallback would otherwise drop (patient counts, zone marker, freq). - EmergencyAlert (tag 39): typed record for b-a-o-* / b-a-g alerts, carries authoring_uid and cancel_reference_uid so modern receivers can handle the alert chain without XML parsing. - TaskRequest (tag 40): t-s engagement / tasking record with Priority / Status enums, task_type / target_uid / assignee_uid / note fields. All strings capped tight so the worst case fits under the LoRa MTU. - GeoChat (tag 31): append receipt_for_uid + receipt_type for b-t-f-d (delivered) and b-t-f-r (read) receipts riding on the existing chat slot — no new oneof case needed. - CotType: +43 values covering a-f-G-E-V-A self PLI, the neutral- aircraft affiliation, the full 2525 quick-drop set (artillery / building / mine / ship / sniper / tank / troops / vehicle) across unknown / neutral / hostile / friendly affiliations, mission points (GOTO / IP / CP / OP), vehicle shapes, ellipse drawing, image marker, chat receipts, custom emergency, and tasking. - DrawnShape.Kind: +Ellipse (8) / Vehicle2D (9) / Vehicle3D (10). - Marker.Kind: +GoToPoint (8) / InitialPoint (9) / ContactPoint (10) / ObservationPost (11) / ImageMarker (12). - atak.options: pool sizing for every new field. int_size:8 for byte counts and bitfields, max_size:12-48 for strings to keep the worst- case wire size under 237B. All additions are append-only — proto3 unknown-field semantics preserve wire compatibility for pre-update receivers. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .github | ||
| .vscode | ||
| meshtastic | ||
| packages | ||
| .gitattributes | ||
| .gitignore | ||
| buf.gen.yaml | ||
| buf.yaml | ||
| LICENSE | ||
| nanopb.proto | ||
| README.md | ||
| renovate.json | ||
Meshtastic Protobuf Definitions
Overview
The Protobuf message definitions for the Meshtastic project (used by apps and the device firmware).