Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…tobufs into dev1.2
  • Loading branch information
geeksville committed Mar 2, 2021
2 parents f16485d + 39c41e0 commit 2def8ec
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 5 deletions.
3 changes: 2 additions & 1 deletion admin.proto
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
syntax = "proto3";

option java_package = "com.geeksville.mesh";
option java_outer_classname = "AdminProtos";
option optimize_for = LITE_RUNTIME;

import "mesh.proto";
import "radioconfig.proto";
import "channel.proto";

option java_outer_classname = "AdminProtos";

/* This message is handled by the Admin plugin and is responsible for all settings/channel read/write operations. This message
is used to do settings operations to both remote AND local nodes.
Expand Down
3 changes: 2 additions & 1 deletion apponly.proto
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
syntax = "proto3";

option java_package = "com.geeksville.mesh";
option java_outer_classname = "AppOnlyProtos";
option optimize_for = LITE_RUNTIME;

import "mesh.proto";
import "channel.proto";

option java_outer_classname = "AppOnlyProtos";

/*
* This message wraps a MeshPacket with extra metadata about the sender and how it arrived.
*/
Expand Down
3 changes: 2 additions & 1 deletion channel.proto
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,10 @@ syntax = "proto3";
*/

option java_package = "com.geeksville.mesh";
option java_outer_classname = "ChannelProtos";
option optimize_for = LITE_RUNTIME;

option java_outer_classname = "ChannelProtos";

/*
* Full settings (center freq, spread factor, pre-shared secret key etc...)
* needed to configure a radio for speaking on a particular channel This
Expand Down
3 changes: 2 additions & 1 deletion deviceonly.proto
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
syntax = "proto3";

option java_package = "com.geeksville.mesh";
option java_outer_classname = "DeviceOnly";
option optimize_for = LITE_RUNTIME;

import "mesh.proto";
import "radioconfig.proto";
import "channel.proto";

option java_outer_classname = "DeviceOnly";

/*
* This message is never sent over the wire, but it is used for serializing DB
* state to flash in the device code
Expand Down
3 changes: 2 additions & 1 deletion mesh.proto
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,12 @@ syntax = "proto3";
*/

option java_package = "com.geeksville.mesh";
option java_outer_classname = "MeshProtos";
option optimize_for = LITE_RUNTIME;

import "portnums.proto";

option java_outer_classname = "MeshProtos";

/*
* a gps position
*/
Expand Down

0 comments on commit 2def8ec

Please sign in to comment.