Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions meshtastic/admin.proto
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
syntax = "proto3";

package meshtastic;
Expand Down Expand Up @@ -701,3 +701,13 @@
*/
optional bool set_one_shot_mode = 2;
}

/*
* Telemetry recovery command
*/
message Telemetry_Recovery {
/*
* Air quality telemetry recovery command
*/
bool air_quality_recovery = 1;
}
2 changes: 2 additions & 0 deletions meshtastic/telemetry.options
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,5 @@
*HostMetrics.load5 int_size:16
*HostMetrics.load15 int_size:16
*HostMetrics.user_string max_size:200

*TelemetryDatabase.records max_count:10
25 changes: 25 additions & 0 deletions meshtastic/telemetry.proto
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
syntax = "proto3";

package meshtastic;
Expand Down Expand Up @@ -851,3 +851,28 @@
*/
optional fixed64 voc_state_array = 6;
}

/*
* Database record wrapper for storing telemetry with metadata
*/
message TelemetryDatabaseRecord {
/*
* Telemetry data
*/
Telemetry telemetry = 1;

/*
* Delivery status flags
*/
bool delivered = 2;
}

/*
* Telemetry database
*/
message TelemetryDatabase {
/*
* List of database records
*/
repeated TelemetryDatabaseRecord records = 1;
}
Loading