add java namespace to new protobufs

This commit is contained in:
Kevin Hester 2020-12-07 19:49:43 +08:00
parent f38b8e3040
commit aac0044b2d
2 changed files with 8 additions and 0 deletions

View file

@ -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.

View file

@ -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.