pull/16/head
Kevin Hester 2021-03-02 11:45:29 +08:00
commit 2def8ece61
5 zmienionych plików z 10 dodań i 5 usunięć

Wyświetl plik

@ -1,13 +1,14 @@
syntax = "proto3"; syntax = "proto3";
option java_package = "com.geeksville.mesh"; option java_package = "com.geeksville.mesh";
option java_outer_classname = "AdminProtos";
option optimize_for = LITE_RUNTIME; option optimize_for = LITE_RUNTIME;
import "mesh.proto"; import "mesh.proto";
import "radioconfig.proto"; import "radioconfig.proto";
import "channel.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 /* 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. is used to do settings operations to both remote AND local nodes.

Wyświetl plik

@ -1,12 +1,13 @@
syntax = "proto3"; syntax = "proto3";
option java_package = "com.geeksville.mesh"; option java_package = "com.geeksville.mesh";
option java_outer_classname = "AppOnlyProtos";
option optimize_for = LITE_RUNTIME; option optimize_for = LITE_RUNTIME;
import "mesh.proto"; import "mesh.proto";
import "channel.proto"; import "channel.proto";
option java_outer_classname = "AppOnlyProtos";
/* /*
* This message wraps a MeshPacket with extra metadata about the sender and how it arrived. * This message wraps a MeshPacket with extra metadata about the sender and how it arrived.
*/ */

Wyświetl plik

@ -20,9 +20,10 @@ syntax = "proto3";
*/ */
option java_package = "com.geeksville.mesh"; option java_package = "com.geeksville.mesh";
option java_outer_classname = "ChannelProtos";
option optimize_for = LITE_RUNTIME; option optimize_for = LITE_RUNTIME;
option java_outer_classname = "ChannelProtos";
/* /*
* Full settings (center freq, spread factor, pre-shared secret key etc...) * Full settings (center freq, spread factor, pre-shared secret key etc...)
* needed to configure a radio for speaking on a particular channel This * needed to configure a radio for speaking on a particular channel This

Wyświetl plik

@ -1,13 +1,14 @@
syntax = "proto3"; syntax = "proto3";
option java_package = "com.geeksville.mesh"; option java_package = "com.geeksville.mesh";
option java_outer_classname = "DeviceOnly";
option optimize_for = LITE_RUNTIME; option optimize_for = LITE_RUNTIME;
import "mesh.proto"; import "mesh.proto";
import "radioconfig.proto"; import "radioconfig.proto";
import "channel.proto"; import "channel.proto";
option java_outer_classname = "DeviceOnly";
/* /*
* This message is never sent over the wire, but it is used for serializing DB * This message is never sent over the wire, but it is used for serializing DB
* state to flash in the device code * state to flash in the device code

Wyświetl plik

@ -20,11 +20,12 @@ syntax = "proto3";
*/ */
option java_package = "com.geeksville.mesh"; option java_package = "com.geeksville.mesh";
option java_outer_classname = "MeshProtos";
option optimize_for = LITE_RUNTIME; option optimize_for = LITE_RUNTIME;
import "portnums.proto"; import "portnums.proto";
option java_outer_classname = "MeshProtos";
/* /*
* a gps position * a gps position
*/ */