Meshtastic Protobuf Definitions
Go to file
Ben Meadors 1fca6b8e50
Merge pull request #129 from meshtastic/feature/telemetry_updates
Convert battery level to uint
2022-03-23 18:22:53 +00:00
.github
.vscode
notused
.protolint.yaml
LICENSE
README.md
admin.options
admin.proto
apponly.proto
cannedmessages.options
cannedmessages.proto
channel.options
channel.proto
deviceonly.options
deviceonly.proto
mesh.options
mesh.proto
mqtt.options
mqtt.proto
portnums.proto
radioconfig.options
radioconfig.proto
remote_hardware.proto
storeforward.proto
telemetry.proto uint 2022-03-23 07:26:44 -05:00

README.md

Meshtastic-protobufs

Open in Visual Studio Code CI

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