The official firmware for Meshtastic, an open-source, off-grid mesh communication system. https://meshtastic.org
Find a file
Clive Blackledge 28f53d132a
refactor: change node count variables from uint8_t to uint16_t (#8478)
This is a non-breaking change that increases the internal representation
of node counts from uint8_t (max 255) to uint16_t (max 65535) to support
larger mesh networks, particularly on ESP32-S3 devices with PSRAM.

Changes:
- NodeStatus: numOnline, numTotal, lastNumTotal (uint8_t -> uint16_t)
- ProtobufModule: numOnlineNodes (uint8_t -> uint16_t)
- MapApplet: loop counters changed to size_t for consistency with getNumMeshNodes()
- NodeStatus: Fixed log format to use %u for unsigned integers

Note: Default class methods keep uint32_t for numOnlineNodes parameter
to match the public API and allow flexibility, even though internal node
counts use uint16_t (max 65535 nodes).

This change does NOT affect protobuf definitions, maintaining wire
compatibility with existing clients and devices.
2025-10-28 15:32:08 -05:00
.clusterfuzzlite
.devcontainer
.github
.trunk
.vscode
arch
bin
boards
branding
data/static
debian
extra_scripts
images
meshtestic@dcac7e5673
monitor
protobufs@bf149bbdcc
release
src refactor: change node count variables from uint8_t to uint16_t (#8478) 2025-10-28 15:32:08 -05:00
test
variants
.dockerignore
.env.example
.gitattributes
.gitignore
.gitmodules
.gitpod.yml
.semgrepignore
alpine.Dockerfile
CODE_OF_CONDUCT.md
CONTRIBUTING.md
docker-compose.yml
Dockerfile
LICENSE
meshtasticd.spec.rpkg
partition-table-8MB.csv
partition-table.csv
platformio.ini
pyocd.yaml
README.md
renovate.json
rpkg.conf
SECURITY.md
suppressions.txt
userPrefs.jsonc
version.properties

Meshtastic Logo

Meshtastic Firmware

GitHub release downloads CI CLA assistant Fiscal Contributors Vercel

meshtastic%2Ffirmware | Trendshift

Overview

This repository contains the official device firmware for Meshtastic, an open-source LoRa mesh networking project designed for long-range, low-power communication without relying on internet or cellular infrastructure. The firmware supports various hardware platforms, including ESP32, nRF52, RP2040/RP2350, and Linux-based devices.

Meshtastic enables text messaging, location sharing, and telemetry over a decentralized mesh network, making it ideal for outdoor adventures, emergency preparedness, and remote operations.

Get Started

Join our community and help improve Meshtastic! 🚀

Stats

Alt