Meshtastic Protobuf Definitions
Go to file
Ben Meadors f1476bf2f6
Merge pull request #147 from meshtastic/dr-dev
Add dr-dev board to 1.2
2022-05-07 21:02:52 -05:00
.github/workflows split out ci tasks 2021-12-30 10:18:08 -08:00
.vscode Add vscode-proto3 extension recommendation 2021-02-10 10:43:25 +11:00
notused add protolint; make all files indentation consistent with 2 spaces 2021-11-30 11:45:01 -08:00
.protolint.yaml rename yaml file 2021-12-30 10:06:15 -08:00
LICENSE Initial commit 2020-03-02 09:44:55 -08:00
README.md Update README.md 2022-01-20 10:03:25 -08:00
admin.options from 996940f 2022-02-25 23:11:06 -08:00
admin.proto Revert "provide a factory reset option for 1.2" 2022-03-17 10:39:52 -07:00
apponly.proto add protolint; make all files indentation consistent with 2 spaces 2021-11-30 11:45:01 -08:00
cannedmessages.options from 996940f 2022-02-25 23:11:06 -08:00
cannedmessages.proto from 996940f 2022-02-25 23:11:06 -08:00
channel.options move channel and settings to their own proto files 2021-02-27 13:16:43 +08:00
channel.proto revert to 1.2 2022-02-25 23:26:51 -08:00
deviceonly.options from 996940f 2022-02-25 23:11:06 -08:00
deviceonly.proto revert to 1.2 2022-02-25 23:26:51 -08:00
environmental_measurement.proto Add voltage and current for upcoming sensors 2022-01-27 07:14:54 -06:00
mesh.options revert to 1.2 2022-02-25 23:26:51 -08:00
mesh.proto Add dr-dev board to 1.2 2022-05-07 21:02:38 -05:00
mqtt.options move ServiceEnvelope (MQTT) into the device code 2021-04-03 12:13:13 +08:00
mqtt.proto fix caps and initial spacing on comments 2021-11-30 12:02:16 -08:00
portnums.proto revert to 1.2 2022-02-25 23:26:51 -08:00
radioconfig.options need size eventho deprecated 2022-01-19 16:57:45 -08:00
radioconfig.proto revert to 1.2 2022-02-25 23:26:51 -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 fix linting warnings 2021-12-30 10:12:21 -08: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