Protobuf definitions for the Meshtastic project
Find a file
Ben Meadors 3ce7c51068 Rename Environment -> TAKEnvironment to avoid SwiftUI collision
The bare `Environment` message name clashes with SwiftUI's `@Environment`
property wrapper, which is used by every SwiftUI view in an iOS consumer
app. Importing the generated proto module (e.g. `MeshtasticProtobufs`)
made `Environment` ambiguous in all 78 files of Meshtastic-Apple that
reference `@Environment(\.scenePhase)` or similar, breaking the build.

Field name `environment` on TAKPacketV2 stays unchanged — only the
message type is renamed. Wire format is unaffected (proto3 encodes by
tag number, not type name), but all generated code and source-level
references must be regenerated.

The `TAK` prefix matches the convention used by the outer TAKPacketV2
wrapper and is unambiguous across Swift (no SwiftUI/WeatherKit clash),
Kotlin, Python, TypeScript, and C# targets.
2026-04-16 11:01:59 -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 Rename Environment -> TAKEnvironment to avoid SwiftUI collision 2026-04-16 11:01:59 -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 add THINKNODE device IDs (#893) 2026-04-14 14:51:23 +02: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