Meshtastic Protobuf Definitions
Go to file
Jm Casler de734f7c32
Update comment for bitrate
2021-12-05 10:40:30 -08:00
.github/workflows Fix CI to only run on master 2021-10-24 16:22:58 +11:00
.vscode
notused add protolint; make all files indentation consistent with 2 spaces 2021-11-30 11:45:01 -08:00
.protolint.yml add protolint; make all files indentation consistent with 2 spaces 2021-11-30 11:45:01 -08:00
LICENSE
README.md add protolint; make all files indentation consistent with 2 spaces 2021-11-30 11:45:01 -08:00
admin.options
admin.proto fix caps and initial spacing on comments 2021-11-30 12:02:16 -08:00
apponly.proto add protolint; make all files indentation consistent with 2 spaces 2021-11-30 11:45:01 -08:00
channel.options
channel.proto add protolint; make all files indentation consistent with 2 spaces 2021-11-30 11:45:01 -08:00
deviceonly.options
deviceonly.proto add protolint; make all files indentation consistent with 2 spaces 2021-11-30 11:45:01 -08:00
environmental_measurement.proto add protolint; make all files indentation consistent with 2 spaces 2021-11-30 11:45:01 -08:00
mesh.options Fix data payload len to match mesh.options, also update docs 2021-05-28 10:58:51 +08:00
mesh.proto Update comment for bitrate 2021-12-05 10:40:30 -08:00
mqtt.options
mqtt.proto fix caps and initial spacing on comments 2021-11-30 12:02:16 -08:00
portnums.proto add protolint; make all files indentation consistent with 2 spaces 2021-11-30 11:45:01 -08:00
radioconfig.options add MQTT server option 2021-04-03 12:26:31 +08:00
radioconfig.proto fix caps and initial spacing on comments 2021-11-30 12:02:16 -08:00
remote_hardware.proto add protolint; make all files indentation consistent with 2 spaces 2021-11-30 11:45:01 -08:00
storeforward.proto Rename S&F structure, remove max 2021-12-02 16:50:12 -08:00

README.md

Meshtastic-protobufs

Open in Visual Studio Code

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.4-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