I've been RTFM for meshcore protocol. No wonder it is scaleable! A quick recap. when you send a message to a specific person on MC, it initally ping pongs out thru every repeater that hears it (Flood routing). Once a path is discovered all messages travel a directed path and do not flood the whole network. This frees up repeaters in nearby areas to handle additionally messages for other people. All group chatroom traffic is flood routed all the time.
But wait there's more... when a repeater receives a packet it waits a random amount of time before repeating it so that another repeater that heard the same packet won't transmit at the same time. So as it turns out, the repeater software is smart enough to know if a packet is a flood type or a directed message type. We can program flood packets to move more slowly thru the network and move direct message type packets along in the queue faster. Even if it means jumping ahead in line around the flood types.
Imagine trains running on one track and the bulk freight trains get put on a siding to allow the passenger trains to pass. The freight train eventually gets there, but it's a lower priority.
I'm going to increase the txdelay factor from 0.5 to 1.3 on my repeaters and leave the direct.txdelay factor at 0.2.
Post #11102
1.04K
- 👍 7