-
-
Notifications
You must be signed in to change notification settings - Fork 122
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
Multicast class B timing issue on ping slot calculation #255
Comments
Could you run the following DB query for me and share the output?
|
Hello Orne, I get this:
The mc_addr is not the same than in my previous message, because this is part of a testing campaign, where the multicast group is dynamically created during the test execution (and then deleted afterward). |
I think I have found your issue. I assume you are using the API. There is a difference between the device-profile value and multicast-group periodicity option values. I will align them (with a backwards compatibility option): |
@Achichig the above commit aligns the Class-B ping-slot config with the device-profile where we configure the |
In chirpstack v4.4.3, there appears to be a problem with estimating the opening of ping slots for multicast class B downlinks.
In the image below, you can see the consumption of my device at the top, with each peak corresponding to the opening of an Rx window.
At the bottom, you can see the downlinks sent by my gateway. The leftmost peak corresponds to the beacon, and the rightmost peak is a multicast class B downlink. We can observe that the downlink does not align with the Rx window opening on the modem side.
To verify whether the error originates from my device or the Network Server (NS), I took the liberty to calculate the ping slot offset:
These calculations appear to confirm that my device is opening its ping slots at the correct timing since the first ping slot opening happens at exactly 3.98s after the beacon start.
I did the same work for unicast class B, and here I have no issues, and the calculations appear to be the same for both the device and the Network Server (NS).
The text was updated successfully, but these errors were encountered: