[riot-notifications] [RIOT-OS/RIOT] examples/lorawan: split in 2 examples, one using OTAA, one using ABP (#11237)
notifications at github.com
Wed Apr 10 17:30:19 CEST 2019
Thanks for your efforts in LPM and LoRaWAN!
I have some comments about the fundamentals of this PR:
- The function of the MAC layer is the same regardless of the join method. In fact, the join procedure generates the nwkskey, appskey and devaddr from the OTAA params. So, we should aim to have one example that covers both cases
- There are MIB setters and getters that we could use for saving and restoring the MAC state after STANDBY mode.
- In fact, I just did a quick check and I think the whole MAC can be restored just with MLME_GET and MLME_SET requests.
- For LPM, we could update the internal duty cycle counter with the RTC sleep. A quick fix could be to add a new MIB. The more elegant solution would be to implement the LoRaWAN timers on top of RTC.
What do you think?
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the notifications