Meshtastic Protobuf Definitions
Go to file
Sacha Weatherstone f1e495cbba Add ntp servew field 2022-05-11 18:29:36 +10:00
.github
.vscode
notused
.protolint.yaml
LICENSE
README.md
admin.options
admin.proto Config migration 2022-05-07 17:48:51 +10:00
apponly.proto
cannedmessages.options
cannedmessages.proto
channel.options
channel.proto update property name to modem_preset 2022-05-07 19:28:54 +10:00
config.options Add ntp servew field 2022-05-11 18:29:36 +10:00
config.proto Add ntp servew field 2022-05-11 18:29:36 +10:00
deviceonly.options
deviceonly.proto
mesh.options
mesh.proto Remove deprecated region field 2022-05-11 18:29:20 +10:00
module_config.options Config migration 2022-05-07 17:48:51 +10:00
module_config.proto rename wifi properties & remove nested config prefix 2022-05-07 19:11:01 +10:00
mqtt.options
mqtt.proto
portnums.proto Provision compression portnum & message 2022-05-10 13:39:25 +10:00
remote_hardware.proto
storeforward.proto
telemetry.options
telemetry.proto

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