This is one of the most useful settings to adjust when using meshcore. Increasing the byte length helps reduce collision errors when the mesh starts to get big. 2-byte is a common first step when the mesh starts to grow to a decent size, and 3-byte is for when the mesh has grown to encompass a large area with hundreds to thousands of nodes.

The byte length refers to the public key ID that is used when sending packets. The full key is truncated to the specific byte length, and more bytes provides more unique “namespace”. It’s a trade off with how many hops a packet can take, but this doesn’t matter as much when there is a large mesh as you can propagate across a large area with less hops.

This feature has been adopted pretty quickly in my area, but if you have a lot of old repeaters in your area, you might want to experiment to see how well it works.

  • Abracadaniel [he/him]@hexbear.net
    link
    fedilink
    English
    arrow-up
    4
    ·
    edit-2
    19 days ago

    Public keys are hexadecimal, 2 characters per byte.

    Total unique combinations per hash level is 16^(2*byte number)

    e.g. 3B -> f53dda 2B -> f53d 1B -> f5

    The reduced number of maximum hops might seem like a big downside but in practice 21 can get you very far actually.

    If anything the real downside of a longer path hash is that it adds data to your message, and in low SNR environments, a longer message is less reliably retransmitted.