-
Notifications
You must be signed in to change notification settings - Fork 212
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
From v 2.3.2 to 3.0.99 issue #500
Comments
Thanks for your note. They have changed because the LMIC MAC parser was architecturally incorrect, and had to be rewritten. If you check the issues, there's a pretty detailed log. The old architecture didn't maintain the order of responses, and that's needed for LoRaWAN compliance. They were not long term state; no need to save or restore them. Avoid using any of the LMIC contents that are not explicitly documented as public, as they will change in the future. Although it's possible to do what you're doing, I regret that we can't really guarantee backward compatibility across major versions. The intent is to introduce APIs that you can call to get binary blobs that are opaque to you, and versioned; later you restore them with a different call. Remember that Semantic Version major change (2 -> 3) means "breaking change". Best regards, |
Thanks for the info
This is all I need to know, will remove them from the saved state in my code thanks again Paul |
Hi Terry, By not using these two lines of state code, we get an ADR downlink with every uplink forever, not just the usual one or two after joining the first time - any ideas? |
Yes, but in order to comment accurately I need to know:
Thanks, |
Thanks Terry, here are some details
Here is what is in the lmic.h file
|
Yes, that's a known problem in v3.0.99.3. Please update your library to head, which is v3.0.99.10. We made another breaking change, which is CFG_au915 is now (correctly) the magic word for Australia. I tried to make backward compatibility work, but... you may run into an issue. |
Sorry Terry, just getting back to this - how do I do the above? Latest library available within Arduino IDE is v3.0.99.3 thanks in advance |
Ah, sorry. I will release 3.1 later today. You could use github to update; but based on feedback, it’s time to release 3.1.
Best regards,
…--Terry
|
Hi @mutton74 -- because of bug #523, #521, #524 I think it's not a good idea to release. What you should do is follow the procedure for manually installing arduino libraries -- get a zip file using the GitHub web page, and then unzip that over your existing arduino-lmic library. If you installed from the IDE, it will be |
Hi,
I am an amateur users of your library but have been storing and retrieving LMIC state parameters in RTC memory while in deep sleep (ESP32 based board)
This is to avoid an OTAA join every wake up from deep sleep, and enabling use of ABP.
With an update from 2.3.2 to 3.0.99 I now get errors calling two of these LMIC states (LMIC.ladrAns and LMIC.devsAns)
'struct lmic_t' has no member named 'ladrAns'
'struct lmic_t' has no member named 'devsAns'
Any idea why that has changed between the versions and if they are required for a successful ABP join after an OTAA join?
thanks in advance
Paul
The text was updated successfully, but these errors were encountered: