kopia lustrzana https://github.com/meshtastic/protobufs
Device metadata admin message
rodzic
6bddcd2647
commit
a9c88ef5e4
11
admin.proto
11
admin.proto
|
@ -8,6 +8,7 @@ import "channel.proto";
|
|||
import "config.proto";
|
||||
import "mesh.proto";
|
||||
import "module_config.proto";
|
||||
import "device_metadata.proto";
|
||||
|
||||
option java_outer_classname = "AdminProtos";
|
||||
|
||||
|
@ -263,5 +264,15 @@ 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;
|
||||
|
||||
/*
|
||||
* Device metadata response
|
||||
*/
|
||||
DeviceMetadata get_device_metadata_response = 53;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -0,0 +1,14 @@
|
|||
/*
|
||||
* Device metadata response
|
||||
*/
|
||||
message DeviceMetadata {
|
||||
/*
|
||||
* Device firmware version string
|
||||
*/
|
||||
string firmware_version = 0;
|
||||
|
||||
/*
|
||||
* Device state version
|
||||
*/
|
||||
uint32 device_state_version = 1;
|
||||
}
|
Ładowanie…
Reference in New Issue