James Rich dcf3bdcdbc Send the important frames first
The TX queue was arrival-ordered, and extended advertising is set-and-repeat: a
frame that leaves first holds the radio for a whole burst. So a position update
queued ahead of an ack went out first and the ack waited behind it, which is
exactly backwards for the one a sender is timing out waiting on.

It is now a bag rather than a ring. runOnce picks the highest-priority slot and
closes the gap; equal priorities still leave oldest-first, because priority is
meant to order the queue, not to reorder within itself. A full queue makes room
only for something strictly more important, the same trade
MeshPacketQueue::replaceLowerPriorityPacket makes for LoRa, and the slot it
displaces is the newest of the least important, so a frame that has already
waited its turn is not the one thrown away. Refusals are counted in
txDroppedQueueFull, kept separate from txDroppedTooLarge: one says the bearer
cannot carry this packet at all, the other that it could not carry it right now.

The slot carries the priority because the air copy no longer does - strippedForAir
drops it, being local scheduling the receiver overwrites.
2026-09-15 07:04:09 -05:00
2026-09-15 07:04:09 -05:00
2026-09-15 07:04:09 -05:00
2026-07-01 19:01:27 -05:00
…
2026-07-28 11:09:40 +00:00
…
…
2026-07-01 19:01:27 -05:00
…
…

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

S
Description
No description provided
Readme GPL-3.0
306 MiB
0 Stars 1 Watchers 0 Forks
Languages
C++ 73%
C 22.8%
Python 2%
Shell 1.6%
Batchfile 0.2%
Other 0.2%