I pulled out a calculator and crunched some math …
These are the channel settings that have been predefined into Meshtastic.
Short range (but fast) - 21.875 kbps
Medium range (but fast) - 5.469 kbps <-- This is the default
Long range (but slower) - 0.275 kbps
Very long range (but slow) 0.183 kbps
I use “Long range (but slower)” on my devices. What data rate do you use?
I am interested in the time for the mesh connected devices to maintain a synch.
Possibly four scenarios for the number in mesh: 2 devices, 5 devices, 10 devices, 20 devices
The question is at the various bitrates, How long does it take to perform
the following operations:
Time for Initial mesh connect and transmit initial position and health status.
Time to add and synch an additional device.
Time to transmit and receive by all devices acknowledgement of a message initiated by one device.
All message types are treated the same way. In addition, all messages are, more or less, flooded at the moment. Therefore, currently most important factors are network parameters (SP, Spreading Factor), and the amount of hops/retransmissions needed. Duty cycle limits are not enforced yet.
There might be flaws in those formulas, and hopefully someone corrects me if needed.
yep and btw - there is a bug in how we are setting the delays to avoid collisions. The current delay calculation is not considering the expected airtime of the packet. Which is fine for the default long range/slow settings - because that’s what I used when I was developing. But now that more people are wanting to use the fast/shorter range settings, we should fix that. Fixing this will dramatically speed up the the ‘faster’ settings.
The fix is easy, would someone mind putting a bug in for meshtastic-device and I’ll do it soon.