Add device role and position flags to metdata

pull/278/head
Ben Meadors 2023-01-18 07:07:37 -06:00
rodzic fdde827bfd
commit f7bdd11471
1 zmienionych plików z 12 dodań i 0 usunięć

Wyświetl plik

@ -2,6 +2,8 @@ syntax = "proto3";
package meshtastic;
import "meshtastic/config.proto";
option java_package = "com.geeksville.mesh";
option optimize_for = LITE_RUNTIME;
option go_package = "github.com/meshtastic/go/generated";
@ -41,4 +43,14 @@ message DeviceMetadata {
* Indicates that the device has an ethernet peripheral
*/
bool hasEthernet = 6;
/*
* Indicates that the device's role in the mesh
*/
Config.DeviceConfig.Role role = 7;
/*
* Indicates the device's current enabled position flags
*/
Config.PositionConfig.PositionFlags position_flags = 8;
}