📄️ Building Meshtastic
Meshtastic uses the PlatformIO development environment, that enables easy multiplatform development and centralized tooling.
📄️ Device API
This document describes the protocol for external API clients using our devices. If you are interested in running your own code on the device itself, see the module API documentation instead.
📄️ Useful Documents
Cryptography is tricky, so we've tried to 'simply' apply standard crypto solutions to our implementation. However, the project developers are not cryptography experts. Therefore we ask two things:
📄️ HTTP API
This is a mini-spec on a HTTP API which can be used by browser based clients to do operations with devices.
📄️ Mesh algorithm
📄️ Module API
This is a tutorial on how to write small modules which run on the device. Modules are bits of regular 'Arduino' code that can send and receive packets to other nodes/apps/PCs using our mesh.
📄️ Port numbers
For any new apps that run on the device or via sister apps on phones/PCs they should pick and use a unique 'portnum' for their application.
📄️ Radio Settings
We use the same channel maps as LoRaWAN (though this is not LoRaWAN).
📄️ Decoding Stacktraces
You may encounter a situation where your device crashes and are left with a stacktrace, below are two methods of decoding them.