Device metadata admin message

pull/187/head
Ben Meadors 2022-08-07 18:39:54 -05:00
rodzic 6bddcd2647
commit a9c88ef5e4
2 zmienionych plików z 25 dodań i 0 usunięć

Wyświetl plik

@ -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;
}
}

Wyświetl plik

@ -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;
}