-
Notifications
You must be signed in to change notification settings - Fork 1
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
Ranging with multiple anchors #3
Comments
the library doesn't support ranging with multiple ancors at once. i haven't figured out a good way to do that. i range with each of them sequentially. something like:
|
So this is what I have been trying but not having any luck. I'll try to explain what I'm seeing. If I range between 1 anchor and 1 tag, everything is working great. As soon as I try to range to another anchor, the first anchor will receive the first message and the second anchor does not. THEN neither of the anchors will not receive any other messages after that. If I restart the first anchor, it will receive one time again. |
Hi, yes I have seen this, but only when CONFIG_DECA_XTAL_TRIM was enabled (it causes the clock drift to be adapted to the last sender). First, I assume you are using latest versions of decalib and decadriver... To debug this, maybe activate IRQ debugging (CONFIG_DECA_DEBUG_OUTPUT_IRQ) and see if you get any kind of interrupts. Another thing I'd recommend is activating the frame filter (dwmac_set_frame_filter()) on all sides. Last but not least, too much of a temperature change can cause the clocks to drift too much. so you should run dwhw_calib_if_temp_change() every once in a while... Hope that helps... |
@gilbertgit did you solve your problem? I am experiencing the exact same behavior. |
As I mentioned before, I do TWR to different ancors all the time. I suggest to turn on IRQ debugging on the ancors to see if any packets arrive... also it's important to wait for the TWR to finish before you start the next one. |
Hi,
From my understanding, these functions are not called anywhere else. Is that correct?
Thank you! |
Does the lib allow for ranging with multiple anchors? (aka, 1 tag to 3 anchors...?) I just get RX timeouts as soon as I add another anchor to range to. How would you implement this?
Thanks again for your help.
The text was updated successfully, but these errors were encountered: