Protobuf definitions for the Meshtastic project
Find a file
Ben Meadors 10a86bf0b9 feat(atak): CasevacReport / EmergencyAlert / TaskRequest + 43 CoT types
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>
2026-04-09 17:23:23 -05:00
.github Update .github/workflows/publish.yml 2026-02-01 09:58:03 -05:00
.vscode cleanup & update actions 2024-03-30 13:31:28 +10:00
meshtastic feat(atak): CasevacReport / EmergencyAlert / TaskRequest + 43 CoT types 2026-04-09 17:23:23 -05:00
packages Update prost dependencies to 0.14.3 to address known CVE 2026-03-20 22:30:47 -04:00
.gitattributes clamp CR/LF and trunk fmt the ci files 2023-01-30 13:34:14 +01:00
.gitignore Ignore generated protobuf files in packages/ts/lib/ 2026-01-30 15:14:46 -05:00
buf.gen.yaml Fix JSR publish by adding .ts import extensions to protobuf codegen 2026-02-07 14:22:55 -05:00
buf.yaml Buf fixes 2025-12-20 07:14:45 -06:00
LICENSE Initial commit 2020-03-02 09:44:55 -08:00
nanopb.proto Add go_package path for nanopb.proto 2025-03-25 09:32:11 -07:00
README.md Update README.md 2025-07-07 19:42:40 -05:00
renovate.json Update bufbuild GitHub Actions 2025-07-12 19:46:12 -04:00

Meshtastic Protobuf Definitions

CI CLA assistant Fiscal Contributors Vercel

Overview

The Protobuf message definitions for the Meshtastic project (used by apps and the device firmware).

Documentation/API Reference

Stats

Alt