meshtastic-protobuf/cannedmessages.proto

52 wiersze
1.3 KiB
Protocol Buffer
Czysty Zwykły widok Historia

2022-01-19 18:54:26 +00:00
syntax = "proto3";
/*
* Meshtastic protobufs
*
* For more information on protobufs (and tools to use them with the language of your choice) see
* https://developers.google.com/protocol-buffers/docs/proto3
*
* We are not placing any of these defs inside a package, because if you do the
* resulting nanopb version is super verbose package mesh.
*
* Protobuf build instructions:
*
* To build java classes for reading writing:
* protoc -I=. --java_out /tmp mesh.proto
*
* To generate Nanopb c code:
* /home/kevinh/packages/nanopb-0.4.0-linux-x86/generator-bin/protoc --nanopb_out=/tmp -I=app/src/main/proto mesh.proto
*
* Nanopb binaries available here: https://jpa.kapsi.fi/nanopb/download/ use nanopb 0.4.0
*/
option java_package = "com.geeksville.mesh";
option java_outer_classname = "CannedMessageConfigProtos";
option optimize_for = LITE_RUNTIME;
option go_package = "github.com/meshtastic/gomeshproto";
/*
* Canned message module configuration.
2022-01-19 18:54:26 +00:00
*/
message CannedMessageModuleConfig {
2022-02-21 07:48:42 +00:00
2022-01-19 18:54:26 +00:00
/*
* Predefined messages for canned message module separated by '|' characters.
2022-01-19 18:54:26 +00:00
*/
string messagesPart1 = 11;
2022-02-21 07:48:42 +00:00
2022-01-19 18:54:26 +00:00
/*
2022-02-26 23:19:46 +00:00
* TODO: REPLACE
2022-01-19 18:54:26 +00:00
*/
string messagesPart2 = 12;
2022-02-21 07:48:42 +00:00
2022-01-19 18:54:26 +00:00
/*
2022-02-26 23:19:46 +00:00
* TODO: REPLACE
2022-01-19 18:54:26 +00:00
*/
string messagesPart3 = 13;
2022-02-21 07:48:42 +00:00
2022-01-19 18:54:26 +00:00
/*
2022-02-26 23:19:46 +00:00
* TODO: REPLACE
2022-01-19 18:54:26 +00:00
*/
string messagesPart4 = 14;
2022-01-19 18:54:26 +00:00
}