Move remote hardware pins to sever problematic device_only dependency

pull/473/head
Ben Meadors 2024-03-25 07:27:22 -05:00
rodzic 95b0aa07b2
commit 633ac9de71
3 zmienionych plików z 17 dodań i 16 usunięć

Wyświetl plik

@ -5,9 +5,9 @@ package meshtastic;
import "meshtastic/channel.proto";
import "meshtastic/config.proto";
import "meshtastic/connection_status.proto";
import "meshtastic/deviceonly.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";

Wyświetl plik

@ -7,6 +7,7 @@ import "meshtastic/localonly.proto";
import "meshtastic/mesh.proto";
import "meshtastic/telemetry.proto";
import "meshtastic/module_config.proto";
import "meshtastic/remote_hardware.proto";
import "nanopb.proto";
option csharp_namespace = "Meshtastic.Protobufs";
@ -254,18 +255,3 @@ message OEMStore {
*/
LocalModuleConfig oem_local_module_config = 8;
}
/*
* 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;
}

Wyświetl plik

@ -73,3 +73,18 @@ 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;
}