Simulation of Meshtastic protocol

15 views
Skip to first unread message

Donato Santoro

unread,
Dec 6, 2025, 4:38:02 PM (2 days ago) Dec 6
to ns-3-users

Hello everyone,

I am planning to simulate a network using the Meshtastic protocol within ns-3.

Has anyone in this group previously worked on implementing or simulating the Meshtastic Managed Flooding protocol or its core mechanisms in ns-3?

Any advice, pointers, or references to relevant resources (code, papers, previous discussions) would be greatly appreciated.

Tommaso Pecorella

unread,
Dec 7, 2025, 7:01:49 AM (2 days ago) Dec 7
to ns-3-users
Hi,

without a full specification it's hard to implement it. One could try to reverse-engineer the protocol by checking the code (it's public afaik), but of course it might not be as simple as it sounds.

Of course the performance of the protocol should be evaluated in the target scenario, i.e., with the intended MAC/Phy protocols, or you might have completely different results.
If the protocol (like it seems to be) is based on LoRA, this means to use the LoRA model from the AppStore (caveat: I have no idea of its maintenance status).
As for the protocol implementation (see above, either you find the exact specification, or it's reverse-engineering time) you could use the same approach of 6LoWPAN, which defines a shim layer. In your case the layer can do the ruting.
Reply all
Reply to author
Forward
0 new messages