-
Notifications
You must be signed in to change notification settings - Fork 963
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add setting to transmit NeighborInfo over LoRa #5286
Conversation
Only if not using the default channel
Hi, does this mean that NeighborInfo data is only transmitted to the default channel if it's not primary? I don't know if there's still this limitation but I remember position data was sent only on primary channel, would this mean we'll have neighbor info on default channel but not position? What's the purpose of this? Wouldn't this still generate the same traffic? |
Hi @macvenez, indeed, periodic broadcasts only go out on the primary channel, so if that is the default channel, it won’t allow it. It was added upon request here meshtastic/protobufs#618. When you have a private primary channel, it will automatically use a different frequency slot. When using |
So: Am i right? |
|
That's a shame - on our mesh we use neighborinfo quite a bit on default channel. |
I need to verify this more, but it seems this feature broadcasts info about clients set with the "CLIENT_HIDDEN" preset to other nodes. |
Ah! that's no good! |
Nodeinfo defaults the broadcast interval for NodeInfo for HIDDEN nodes to UINT_MAX 667 moduleConfig.neighbor_info.update_interval = UINT32_MAX; |
How about this: #5464 |
As discussed in #5082 and meshtastic/protobufs#618.
When setting
neighbor_info.transmit_over_lora
to true (default to false), next to sending it to MQTT/PhoneAPI, it will also broadcast it over LoRa to be able to obtain it from remote nodes. This happens only when not using the default channel as primary, and the channel utilization allows it.Furthermore, the absolute minimum you can set the NeighborInfo broadcast interval to is bumped to 14400 (4 hours).