mirror of
https://github.com/meshtastic/firmware.git
synced 2026-10-07 21:52:35 -04:00
df1ae63bf36084cf0117dc0a9e1e17ccc4f71a31
The same BLEGattMeshHandler the ESP32 runs, with the Bluefruit half it was missing: an open write/write-without-response/notify characteristic on the mesh-peer UUID, received values queued from Bluefruit's callback task for the main-task pump, subscribed links as notify targets, and the negotiated MTU read live per peer. S140 has one advertising set, so the service UUID rides in the phone advertisement's scan response (instead of the TX power) and the name beside it is shortened. A link becomes a mesh peer when it subscribes to the mesh characteristic; the phone API's disconnect handler skips those links so a peer dropping never closes the phone's session. Bluefruit.begin(2, 1): the phone and one mesh peer at once, on the re-based linker script. Enabled by the BLE_GATT_PEER protocol bit, built by rak4631_blemesh. WisMesh Pocket <-> Pixel 6a monitor, both directions: the phone found the service 3 s after boot and subscribed at chunk 244; its Send test arrived as BLE GATT mesh RX and decoded; a Pocket text reached the phone as rx[gatt] a second after sending. RAM 41.1%, flash 92.0%.
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
- 🔧 Building Instructions - Learn how to compile the firmware from source.
- ⚡ Flashing Instructions - Install or update the firmware on your device.
Join our community and help improve Meshtastic! 🚀
Stats
Languages
C++
72.9%
C
22.2%
Python
2.7%
Shell
1.6%
Batchfile
0.2%
Other
0.2%
