[riot-notifications] [RIOT-OS/RIOT] examples/lorawan: split in 2 examples, one using OTAA, one using ABP (#11237)

Alexandre Abadie notifications at github.com
Wed Apr 10 19:46:20 CEST 2019

> There are MIB setters and getters that we could use for saving and restoring the MAC state after STANDBY mode.

Here you make the assumption that the board you are running provide non volatile storage which might not be the case all the time.
That's why I think OTAA is better suited for STOP low-power mode with RAM retention: the state of the MAC is kept in RAM after restart.

> The more elegant solution would be to implement the LoRaWAN timers on top of RTC.

I think RTT would be more appropriate during TX and RX windows phases as it's more precise. And also when during STOP deep sleep phase (LPTIM is still active on STMs during STOP).
I already had a look at using RTT in replacement of xtimer but my problem was with multiple alarms running at the same time.

For STANDBY, using RTC is fine during the sleep phase, like it's already done in the example.

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...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190410/60a9fa28/attachment.html>

More information about the notifications mailing list