From aac0044b2dcca5daa86c6532c1d8c43475956d31 Mon Sep 17 00:00:00 2001 From: Kevin Hester Date: Mon, 7 Dec 2020 19:49:43 +0800 Subject: [PATCH] add java namespace to new protobufs --- portnums.proto | 4 ++++ remote_hardware.proto | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/portnums.proto b/portnums.proto index 42664b5..25612b1 100644 --- a/portnums.proto +++ b/portnums.proto @@ -1,5 +1,9 @@ syntax = "proto3"; +option java_package = "com.geeksville.mesh"; +option java_outer_classname = "Portnums"; +option optimize_for = LITE_RUNTIME; + /** For any new 'apps' that run on the device or via sister apps on phones/PCs they should pick and use a unique 'portnum' for their application. diff --git a/remote_hardware.proto b/remote_hardware.proto index badc365..02f53ef 100644 --- a/remote_hardware.proto +++ b/remote_hardware.proto @@ -1,5 +1,9 @@ syntax = "proto3"; +option java_package = "com.geeksville.mesh"; +option java_outer_classname = "RemoteHardware"; +option optimize_for = LITE_RUNTIME; + /** A example app to show off the plugin system. This message is used for REMOTE_HARDWARE_APP PortNums. Also provides easy remote access to any GPIO.