protobufs/device_metadata.proto
2022-10-30 08:04:34 -05:00

32 lines
No EOL
645 B
Protocol Buffer

syntax = "proto3";
option java_package = "com.geeksville.mesh";
option optimize_for = LITE_RUNTIME;
option go_package = "github.com/meshtastic/go/generated";
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;
/*
* Indicates whether the device can shutdown CPU natively or via power management chip
*/
bool canShutdown = 3;
/*
* Indicates that the device has native wifi capabilities
*/
bool hasWifi = 4;
}