Meshtastic Protobuf Definitions
Go to file
Sacha Weatherstone 521620ba14
Fix linting
2022-05-02 21:19:48 +10:00
.github Create pull_request_template.md 2022-02-27 10:12:00 +11:00
.vscode Fix indentation & add proto lint extension 2022-02-21 19:39:32 +11:00
notused Fix spaces 2022-03-30 14:02:26 +11:00
.protolint.yaml
LICENSE
README.md Update README.md 2022-05-01 11:21:07 -07:00
admin.options More update plugin to module, mostly cannedmessages 2022-02-27 00:58:46 -08:00
admin.proto Fix linting 2022-05-02 21:19:48 +10:00
apponly.proto Comment fixes 2022-02-21 18:48:42 +11:00
cannedmessages.options More update plugin to module, mostly cannedmessages 2022-02-27 00:58:46 -08:00
cannedmessages.proto Fix spaces 2022-03-30 14:02:26 +11:00
channel.options
channel.proto Fix spaces 2022-03-30 14:02:26 +11:00
config.proto fix linting 2022-05-02 10:19:54 +10:00
deviceonly.options Add storage for OEM screen text and logo 2022-04-18 18:13:52 +02:00
deviceonly.proto Add storage for OEM screen text and logo 2022-04-18 18:13:52 +02:00
mesh.options Add compressed payload variant 2022-04-12 21:09:22 -07:00
mesh.proto Remove Team 2022-05-02 08:23:19 +10:00
module_config.proto Update config - seperate device and modules 2022-05-02 21:17:43 +10:00
mqtt.options
mqtt.proto Comment fixes 2022-02-21 18:48:42 +11:00
portnums.proto Fix spaces 2022-03-30 14:02:26 +11:00
radioconfig.options update plugin to module in radioconfig.options 2022-02-27 00:47:46 -08:00
radioconfig.proto Moved telemetry out of old radio config prefs 2022-05-01 14:22:54 -05:00
remote_hardware.proto Fix spaces 2022-03-30 14:02:26 +11:00
storeforward.proto Comment fixes 2022-02-21 18:48:42 +11:00
telemetry.options Split device and environment metrics 2022-03-26 14:09:18 -05:00
telemetry.proto Moved telemetry out of old radio config prefs 2022-05-01 14:22:54 -05:00

README.md

Meshtastic-protobufs

Open in Visual Studio Code CI CLA assistant

The protobuf definitions for the Meshtastic project (used by apps and the device code)

For questions on using these protobufs please post in our forum. We are friendly and we love people building/extending this work.

For documentation please visit:

For more information on protobufs (and tools to use them with the language of your choice) see

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.5-linux-x86/generator-bin/protoc --nanopb_out=/tmp -I=app/src/main/proto mesh.proto

Nanopb binaries available here:

To lint:

  • Install protolint: brew tap yoheimuta/protolint; brew install protolint
  • Run it from the main directory: protolint lint .
  • (optional) Have it fix the mundane warnings: protolint lint -fix .
  • See https://github.com/yoheimuta/protolint for more info