2022-08-07 18:52:28 -05:00
|
|
|
syntax = "proto3";
|
|
|
|
|
|
|
|
|
|
option java_package = "com.geeksville.mesh";
|
|
|
|
|
option optimize_for = LITE_RUNTIME;
|
2022-10-19 17:03:17 +10:00
|
|
|
option go_package = "github.com/meshtastic/go/generated";
|
2022-08-07 18:52:28 -05:00
|
|
|
|
|
|
|
|
option java_outer_classname = "DeviceMetadataProtos";
|
|
|
|
|
|
2022-08-07 18:39:54 -05:00
|
|
|
/*
|
|
|
|
|
* Device metadata response
|
|
|
|
|
*/
|
2022-08-07 18:53:58 -05:00
|
|
|
message DeviceMetadata {
|
2022-08-07 18:39:54 -05:00
|
|
|
/*
|
|
|
|
|
* Device firmware version string
|
|
|
|
|
*/
|
2022-08-07 18:50:18 -05:00
|
|
|
string firmware_version = 1;
|
2022-08-07 18:39:54 -05:00
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* Device state version
|
|
|
|
|
*/
|
2022-08-07 18:50:18 -05:00
|
|
|
uint32 device_state_version = 2;
|
2022-10-30 08:04:34 -05:00
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* Indicates whether the device can shutdown CPU natively or via power management chip
|
|
|
|
|
*/
|
|
|
|
|
bool canShutdown = 3;
|
|
|
|
|
|
|
|
|
|
/*
|
2022-10-30 08:13:07 -05:00
|
|
|
* Indicates that the device has native wifi capability
|
2022-10-30 08:04:34 -05:00
|
|
|
*/
|
|
|
|
|
bool hasWifi = 4;
|
2022-10-30 08:13:07 -05:00
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* Indicates that the device has native bluetooth capability
|
|
|
|
|
*/
|
|
|
|
|
bool hasBluetooth = 5;
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* Indicates that the device has an ethernet peripheral
|
|
|
|
|
*/
|
2022-10-30 08:14:22 -05:00
|
|
|
bool hasEthernet = 6;
|
2022-08-07 18:39:54 -05:00
|
|
|
}
|