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.
Two new top-level optional fields at tags 25 and 26 that attach to any
payload_variant. Environment carries weather readings from <environment>
CoT detail elements (temperature, wind direction, wind speed). SensorFov
carries the 8 geometry attributes of ATAK-CIV's <sensor> element (type,
azimuth, range, horizontal and vertical FOV, elevation, roll, model),
dropping the 9 display-only attributes (fovAlpha/RGB, strokeColor/Weight,
hideFov, fovLabels, displayMagneticReference, rangeLines) that are
receiver-side render hints.
Units are chosen for compact varint encoding and parity with existing
fields: temperature in deci-degrees Celsius (sint32), wind speed in cm/s
to match TAKPacketV2.speed, all angles as whole degrees.
Tags 27-29 reserved for future annotations before the payload_variant
oneof resumes at tag 30.
Bump prost and prost-types from 0.13.3 to 0.14.3 along with
all transitive dependency updates to resolve a known security
vulnerability in the Rust protobuf stack.
Add TAKConfig to ModuleConfig with Team and MemberRole fields,
allowing TAK_TRACKER devices to configure ATAK group settings
instead of using hardcoded defaults.
- module_config.proto: TAKConfig message (team, role) at oneof field 16
- localonly.proto: tak field at position 17 in LocalModuleConfig
- admin.proto: TAK_CONFIG = 15 in ModuleConfigType enum
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>