From ce908d8a45414e7b91504e29369254bf0d5bae83 Mon Sep 17 00:00:00 2001 From: Ben Meadors Date: Mon, 25 Mar 2024 07:41:06 -0500 Subject: [PATCH] Move to non-namespaced proto --- meshtastic/admin.proto | 1 - meshtastic/mesh.proto | 15 +++++++++++++++ meshtastic/remote_hardware.proto | 15 --------------- 3 files changed, 15 insertions(+), 16 deletions(-) diff --git a/meshtastic/admin.proto b/meshtastic/admin.proto index 18e7a3fa..675ac134 100644 --- a/meshtastic/admin.proto +++ b/meshtastic/admin.proto @@ -7,7 +7,6 @@ import "meshtastic/config.proto"; import "meshtastic/connection_status.proto"; import "meshtastic/mesh.proto"; import "meshtastic/module_config.proto"; -import "meshtastic/remote_hardware.proto"; option csharp_namespace = "Meshtastic.Protobufs"; option go_package = "github.com/meshtastic/go/generated"; diff --git a/meshtastic/mesh.proto b/meshtastic/mesh.proto index 60a39061..605c6817 100644 --- a/meshtastic/mesh.proto +++ b/meshtastic/mesh.proto @@ -1581,3 +1581,18 @@ message DeviceMetadata { message Heartbeat { } + +/* + * RemoteHardwarePins associated with a node + */ +message NodeRemoteHardwarePin { + /* + * The node_num exposing the available gpio pin + */ + uint32 node_num = 1; + + /* + * The the available gpio pin for usage with RemoteHardware module + */ + RemoteHardwarePin pin = 2; +} diff --git a/meshtastic/remote_hardware.proto b/meshtastic/remote_hardware.proto index c8717465..ba4a6930 100644 --- a/meshtastic/remote_hardware.proto +++ b/meshtastic/remote_hardware.proto @@ -73,18 +73,3 @@ message HardwareMessage { */ uint64 gpio_value = 3; } - -/* - * RemoteHardwarePins associated with a node - */ -message NodeRemoteHardwarePin { - /* - * The node_num exposing the available gpio pin - */ - uint32 node_num = 1; - - /* - * The the available gpio pin for usage with RemoteHardware module - */ - RemoteHardwarePin pin = 2; -}