Meshtastic-Android/core/proto
Ben Meadors 9d5d516c37 feat(takserver): bridge Casevac / Emergency / Task + GeoChat receipts
Bump the protobufs submodule to the takv2_geometry commit that adds
CasevacReport, EmergencyAlert, TaskRequest, and GeoChat receipt
fields. Rebuild meshtastic-tak-0.1.0.jar from the updated
TAKPacket-SDK kotlin artifact and extend TakV2Compressor.kt with the
corresponding wireToSdkData / sdkDataToWire branches so the JVM
takserver round-trip preserves every structured field the SDK parser
now extracts.

- .gitmodules: pin core/proto/src/main/proto to takv2_geometry
- core/proto/src/main/proto: fast-forward to the new protobufs tip
- core/takserver/libs/meshtastic-tak-0.1.0.jar: rebuilt artifact
  with the typed CasevacReport / EmergencyAlert / TaskRequest
  payload variants and the extended GeoChat receipt fields
- core/takserver/src/jvmAndroidMain/.../TakV2Compressor.kt:
  * extend wireToSdkData with casevac / emergency / task / chat
    receipt branches, mapping enum .value ints through the SDK
    TakPacketV2Data sealed-class payloads
  * extend sdkDataToWire with the same three variants plus the
    chat receipt_for_uid / receipt_type fields
  * import WireCasevacReport / WireEmergencyAlert / WireTaskRequest
    from the regenerated Wire proto classes

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-09 17:30:48 -05:00
..
src/main feat(takserver): bridge Casevac / Emergency / Task + GeoChat receipts 2026-04-09 17:30:48 -05:00
build.gradle.kts feat: Implement iOS support and unify Compose Multiplatform infrastructure (#4876) 2026-03-21 23:19:13 +00:00
consumer-rules.pro feat(wire): migrate from protobuf -> wire (#4401) 2026-02-04 00:01:12 +00:00
README.md refactor: BLE transport and UI for Kotlin Multiplatform unification (#4911) 2026-03-25 02:15:51 +00:00

:core:proto

Overview

This module contains the generated Kotlin and Java code from the Meshtastic Protobuf definitions. It uses the Wire library for efficient and clean model generation.

Key Components

  • PortNum: Defines the identification for different types of data payloads.
  • MeshPacket: The core protocol message definition.
  • Protobuf Modules: Definitions for telemetry, position, administration, and more.

Usage

This module is a low-level dependency for any module that needs to encode or decode Meshtastic protocol data.

implementation(projects.core.proto)

Module dependency graph

graph TB
  :core:proto[proto]:::kmp-library

classDef android-application fill:#CAFFBF,stroke:#000,stroke-width:2px,color:#000;
classDef android-application-compose fill:#CAFFBF,stroke:#000,stroke-width:2px,color:#000;
classDef compose-desktop-application fill:#CAFFBF,stroke:#000,stroke-width:2px,color:#000;
classDef android-feature fill:#FFD6A5,stroke:#000,stroke-width:2px,color:#000;
classDef android-library fill:#9BF6FF,stroke:#000,stroke-width:2px,color:#000;
classDef android-library-compose fill:#9BF6FF,stroke:#000,stroke-width:2px,color:#000;
classDef android-test fill:#A0C4FF,stroke:#000,stroke-width:2px,color:#000;
classDef jvm-library fill:#BDB2FF,stroke:#000,stroke-width:2px,color:#000;
classDef kmp-feature fill:#FFD6A5,stroke:#000,stroke-width:2px,color:#000;
classDef kmp-library-compose fill:#FFC1CC,stroke:#000,stroke-width:2px,color:#000;
classDef kmp-library fill:#FFC1CC,stroke:#000,stroke-width:2px,color:#000;
classDef unknown fill:#FFADAD,stroke:#000,stroke-width:2px,color:#000;