diff --git a/admin.proto b/admin.proto index 7d2713f..79a6687 100644 --- a/admin.proto +++ b/admin.proto @@ -3,6 +3,7 @@ syntax = "proto3"; option java_package = "com.geeksville.mesh"; option optimize_for = LITE_RUNTIME; option go_package = "github.com/meshtastic/go/generated"; +option csharp_namespace = "Meshtastic.Protobufs"; import "channel.proto"; import "config.proto"; diff --git a/apponly.proto b/apponly.proto index 4e4262a..be58039 100644 --- a/apponly.proto +++ b/apponly.proto @@ -3,6 +3,7 @@ syntax = "proto3"; option java_package = "com.geeksville.mesh"; option optimize_for = LITE_RUNTIME; option go_package = "github.com/meshtastic/go/generated"; +option csharp_namespace = "Meshtastic.Protobufs"; import "channel.proto"; import "config.proto"; diff --git a/cannedmessages.proto b/cannedmessages.proto index 7f1f366..e0ea3d9 100644 --- a/cannedmessages.proto +++ b/cannedmessages.proto @@ -4,6 +4,7 @@ option java_package = "com.geeksville.mesh"; option java_outer_classname = "CannedMessageConfigProtos"; option optimize_for = LITE_RUNTIME; option go_package = "github.com/meshtastic/go/generated"; +option csharp_namespace = "Meshtastic.Protobufs"; /* * Canned message module configuration. diff --git a/channel.proto b/channel.proto index ea2a23b..18ef287 100644 --- a/channel.proto +++ b/channel.proto @@ -6,6 +6,7 @@ option optimize_for = LITE_RUNTIME; option go_package = "github.com/meshtastic/go/generated"; option java_outer_classname = "ChannelProtos"; +option csharp_namespace = "Meshtastic.Protobufs"; /* * Full settings (center freq, spread factor, pre-shared secret key etc...) diff --git a/config.proto b/config.proto index 3468605..bfeb7a7 100644 --- a/config.proto +++ b/config.proto @@ -4,6 +4,7 @@ option java_package = "com.geeksville.mesh"; option java_outer_classname = "ConfigProtos"; option optimize_for = LITE_RUNTIME; option go_package = "github.com/meshtastic/go/generated"; +option csharp_namespace = "Meshtastic.Protobufs"; message Config { /* diff --git a/device_metadata.proto b/device_metadata.proto index fd1bf47..ee73d83 100644 --- a/device_metadata.proto +++ b/device_metadata.proto @@ -5,6 +5,7 @@ option optimize_for = LITE_RUNTIME; option go_package = "github.com/meshtastic/go/generated"; option java_outer_classname = "DeviceMetadataProtos"; +option csharp_namespace = "Meshtastic.Protobufs"; /* * Device metadata response diff --git a/deviceonly.proto b/deviceonly.proto index b4e0c1d..a7e1f0d 100644 --- a/deviceonly.proto +++ b/deviceonly.proto @@ -8,6 +8,7 @@ import "channel.proto"; import "mesh.proto"; option java_outer_classname = "DeviceOnly"; +option csharp_namespace = "Meshtastic.Protobufs"; /* * This message is never sent over the wire, but it is used for serializing DB diff --git a/localonly.proto b/localonly.proto index cc77c3d..f4c1859 100644 --- a/localonly.proto +++ b/localonly.proto @@ -8,6 +8,7 @@ import "config.proto"; import "module_config.proto"; option java_outer_classname = "LocalOnlyProtos"; +option csharp_namespace = "Meshtastic.Protobufs"; /* * Protobuf structures common to apponly.proto and deviceonly.proto diff --git a/mesh.proto b/mesh.proto index 68f95ab..89bc5fe 100644 --- a/mesh.proto +++ b/mesh.proto @@ -11,6 +11,7 @@ import "portnums.proto"; import "telemetry.proto"; option java_outer_classname = "MeshProtos"; +option csharp_namespace = "Meshtastic.Protobufs"; /* * a gps position diff --git a/module_config.proto b/module_config.proto index 93c7ae1..5a363b9 100644 --- a/module_config.proto +++ b/module_config.proto @@ -4,6 +4,7 @@ option java_package = "com.geeksville.mesh"; option java_outer_classname = "ModuleConfigProtos"; option optimize_for = LITE_RUNTIME; option go_package = "github.com/meshtastic/go/generated"; +option csharp_namespace = "Meshtastic.Protobufs"; /* * Module Config diff --git a/mqtt.proto b/mqtt.proto index 4045b1a..9b491e7 100644 --- a/mqtt.proto +++ b/mqtt.proto @@ -7,6 +7,7 @@ option go_package = "github.com/meshtastic/go/generated"; import "mesh.proto"; option java_outer_classname = "MQTTProtos"; +option csharp_namespace = "Meshtastic.Protobufs"; /* * This message wraps a MeshPacket with extra metadata about the sender and how it arrived. diff --git a/portnums.proto b/portnums.proto index ab806ad..4b0ddf4 100644 --- a/portnums.proto +++ b/portnums.proto @@ -4,6 +4,7 @@ option java_package = "com.geeksville.mesh"; option java_outer_classname = "Portnums"; option optimize_for = LITE_RUNTIME; option go_package = "github.com/meshtastic/go/generated"; +option csharp_namespace = "Meshtastic.Protobufs"; /* * For any new 'apps' that run on the device or via sister apps on phones/PCs they should pick and use a diff --git a/remote_hardware.proto b/remote_hardware.proto index d5cca42..3340a31 100644 --- a/remote_hardware.proto +++ b/remote_hardware.proto @@ -4,6 +4,7 @@ option java_package = "com.geeksville.mesh"; option java_outer_classname = "RemoteHardware"; option optimize_for = LITE_RUNTIME; option go_package = "github.com/meshtastic/go/generated"; +option csharp_namespace = "Meshtastic.Protobufs"; /* * An example app to show off the module system. This message is used for diff --git a/storeforward.proto b/storeforward.proto index 45d163a..7938b64 100644 --- a/storeforward.proto +++ b/storeforward.proto @@ -4,6 +4,7 @@ option java_package = "com.geeksville.mesh"; option java_outer_classname = "StoreAndForwardProtos"; option optimize_for = LITE_RUNTIME; option go_package = "github.com/meshtastic/go/generated"; +option csharp_namespace = "Meshtastic.Protobufs"; /* * TODO: REPLACE diff --git a/telemetry.proto b/telemetry.proto index d87d13e..4234a8f 100644 --- a/telemetry.proto +++ b/telemetry.proto @@ -5,6 +5,7 @@ option optimize_for = LITE_RUNTIME; option go_package = "github.com/meshtastic/go/generated"; option java_outer_classname = "TelemetryProtos"; +option csharp_namespace = "Meshtastic.Protobufs"; /* * Key native device metrics such as battery level