Skip to content
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

Packet loss in mesh network #187

Open
Cooper-Weng opened this issue Jun 5, 2017 · 1 comment
Open

Packet loss in mesh network #187

Cooper-Weng opened this issue Jun 5, 2017 · 1 comment

Comments

@Cooper-Weng
Copy link

Cooper-Weng commented Jun 5, 2017

My mesh network just has two mesh node, node A & B.
I made A node as a broadcaster, B node as a receiver. "MESH_INTERVAL_MIN_MS" setting to 20.
And I send a mesh packet every 200ms from A node.
But in this low broadcast speed, it still has packet loss issue. About 10~20s loss one mesh packet.
What is the problem?

Is it possible that the scan interval & scan window size doesn't match the advertising interval?
If so. How to modify the scan interval & scan window size?
And what is the default value on scan interval & scan window size?

@trond-snekvik
Copy link
Contributor

That sounds very odd to me. Do you disable the incoming handle on node B? Otherwise, it will rebroadcast the new data every time, and you'll end up spending significant time in TX mode and transitioning.

Other common sources of packet loss are noisy environments and SoftDevice activity in the receiver.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants