mirror of
https://github.com/meshtastic/protobufs.git
synced 2026-04-20 22:13:55 +00:00
Merge pull request #187 from meshtastic/device-metadata
Device metadata admin message
This commit is contained in:
commit
87bb8481eb
2 changed files with 27 additions and 0 deletions
|
|
@ -268,5 +268,10 @@ message AdminMessage {
|
|||
* Tell the node to shutdown in this many seconds (or <0 to cancel shutdown)
|
||||
*/
|
||||
int32 shutdown_seconds = 51;
|
||||
|
||||
/*
|
||||
* Request the node to send device metadata (firmware, protobuf version, etc)
|
||||
*/
|
||||
uint32 get_device_metadata_request = 52;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
22
device_metadata.proto
Normal file
22
device_metadata.proto
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
syntax = "proto3";
|
||||
|
||||
option java_package = "com.geeksville.mesh";
|
||||
option optimize_for = LITE_RUNTIME;
|
||||
option go_package = "github.com/meshtastic/gomeshproto";
|
||||
|
||||
option java_outer_classname = "DeviceMetadataProtos";
|
||||
|
||||
/*
|
||||
* Device metadata response
|
||||
*/
|
||||
message DeviceMetadata {
|
||||
/*
|
||||
* Device firmware version string
|
||||
*/
|
||||
string firmware_version = 1;
|
||||
|
||||
/*
|
||||
* Device state version
|
||||
*/
|
||||
uint32 device_state_version = 2;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue