Skip to content

Commit 246ee67

Browse files
committed
Add NodeEnvironmentEntry message
1 parent 65400a2 commit 246ee67

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

meshtastic/deviceonly.proto

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,11 @@ message NodeTelemetryEntry {
257257
DeviceMetrics device_metrics = 2;
258258
}
259259

260+
message NodeEnvironmentEntry {
261+
uint32 num = 1;
262+
EnvironmentMetrics environment_metrics = 2;
263+
}
264+
260265
message NodeStatusEntry {
261266
uint32 num = 1;
262267
StatusMessage status = 2;
@@ -280,6 +285,8 @@ message NodeDatabase {
280285
repeated NodePositionEntry positions = 3 [(nanopb).callback_datatype = "std::vector<meshtastic_NodePositionEntry>"];
281286
repeated NodeTelemetryEntry telemetry = 4 [(nanopb).callback_datatype = "std::vector<meshtastic_NodeTelemetryEntry>"];
282287
repeated NodeStatusEntry status = 5 [(nanopb).callback_datatype = "std::vector<meshtastic_NodeStatusEntry>"];
288+
repeated NodeEnvironmentEntry environment = 6
289+
[(nanopb).callback_datatype = "std::vector<meshtastic_NodeEnvironmentEntry>"];
283290
}
284291

285292
/*

0 commit comments

Comments
 (0)