-
Notifications
You must be signed in to change notification settings - Fork 405
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
Commit solving #1284 introduces a failure in EU868 #1293
Comments
Please let me know what additional debug infos you will need to solve this issue. Where should I start? |
It would be helpful if you could enable the BASIC and PROTOCOL debug flags and paste the output (including millisecond-timestamps) here! If it's just a few uplinks before the error, the whole cycle from join until then is nice, otherwise leave only like the last four or something (or since last downlink with MAC command). |
OK, give me two or three days to produce the log. |
FWIW I was not able to reproduce this issue with SX1262 in EU868, I'm at 60+ uplinks without problems. Since -12 is |
I use the SX1276. I will dive deeper into this problem today and will post the logs as soon as possible. |
-12 is likely due to a 0.0MHz channel incorrectly being used, as a hint. |
Here is the log containing the last working and the first failing uplink. @StevenCellist you are right it reports
|
Something happened here:
(second uplink):
Which is pretty weird to occur randomly. I'll see if I can trace the origin for this bug. Can you meanwhile share your full code? |
https://github.com/PCo-IoT-2024/platform.io/tree/main/LoRaWAN-HelloWorld-radiolib It is in "draft" state so it is a little bit messy ... |
In case you are curious what we want to do with LoRaWAN ... |
I have been able to reproduce this now. |
This problem only occurred when using persistence, which took some time to figure out (and is the reason @jgromes didn't encounter it). The bug has been fixed and tested on both EU868 and US915. |
Just for the sake of completeness: I can confirm that this issue is fixed! Thank you! |
I'm very sorry, but the commit solving #1284 introduces a failure at least in EU868. After a view uplinks (the number of uplinks working is not always the same - ranges from four to seven or eight) node.sendReceive(...) returns with error -12.
Going back one commit and everything is fine!
Currently, I didn't have enough resources to debug this issue myself, thus I stay at 33ab117.
Originally posted by @VolkerChristian in #1284 (comment)
The text was updated successfully, but these errors were encountered: