mirror of
https://github.com/meshtastic/protobufs.git
synced 2026-04-20 22:13:55 +00:00
Protobuf definitions for the Meshtastic project
Currently in firmware we hard-code NUM_CELLS (usually to 1), and our code for calculating battery charge uses this variable in ways like "voltage = v / NUM_CELLS;" If the battery voltage is one cell around our 4V normal, that works fine. However, as reported in https://github.com/meshtastic/firmware/issues/5360 it's not uncommon for solar installs that have multiple batteries set up in a way that looks like 1 cell at 12V to our current code. So, battery charge % is always 100%. Allowing num_cells as a configuration option will allow those users to specify how many batteries they have and receive accurate readings. |
||
|---|---|---|
| .github | ||
| .vscode | ||
| meshtastic | ||
| .gitattributes | ||
| buf.yaml | ||
| LICENSE | ||
| nanopb.proto | ||
| README.md | ||
Meshtastic Protobuf Definitions
Overview
The Protobuf message definitions for the Meshtastic project (used by apps and the device firmware).