-
Notifications
You must be signed in to change notification settings - Fork 55
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
How to implement low power LoRaWAN device using OTAA? #144
Comments
I have found that website. It requires me to use the low-level library, but seems to support the deep sleep mode. |
Yes these LMIC libraries are far from being usable. They lack key features such as saving the state to be restored when exiting a deep sleep. Much work has to be done for this to be used in any serious application. |
It says "It provides a simple framework for doing low-power programming." in the documentation and never gets back to the topic. Documentation needs to be improved. This library is not user-friendly due to a lack of concise documentation. See also #143 |
I need to implement a LoRaWAN device that sends a message every 10 minutes. To limit the power consumption I need to put the device to sleep between sending the messages.
If I use ABP, the problem can be solved easily with simple putting the CPU to sleep in the loop() function.
However such solution is not possible when using OTAA, as it breaks the timing,
I have checked the sources, and I can see that Arduino_LoRaWAN::loop()
arduino-lorawan/src/lib/arduino_lorawan_loop.cpp
Line 40 in 4bc0d48
Unfortunately, the hal_sleep() function is currently not implemented .
Does it mean that if I need to implement a low-power LoRaWAN device I have to use ABP or I need to use another, not-MCCI LoraWAN library?
The text was updated successfully, but these errors were encountered: