Comments (4)
Of course, this is not an issue but a question. But somehow I didn't find a way to select this ...
from lmic-node.
Hi,
Thanks for your feedback.
Deep sleep support is a much wanted feature and very relevant for battery powered LoRaWAN devices.
Unfortunately LMIC-node currently does not include any deep sleep support.
The first (and main) reason is that the (MCCI) LMIC library still does not provide any support / hooks for deep sleep.
Support for functions like e.g. saveLmicState()
and restoreLmicState()
have yet to be added to the LMIC library (user will need to provide the actual implementation).
Another issue is that the timers that LMIC depends on, need to updated after deep sleep. This is essential because LMIC needs to manage radio time i.e. it keeps track/manages which channels it is allowed to transmit on when. The LMIC library currently does not provide support for this. A 'redo from start' approach would bypass proper radio time management and will very probably conflict with LoRaWAN and/or regional radio frequency regulations.
A second reason why LMIC-node currently does not support deep sleep is that deep sleep behaves differently on different MCU platforms (e.g. ESP32 actually resets when waking up from deep sleep while other platform preserve all state). Without any generic support from the LMIC library this would be quite complex (and much work) to implement for all MCU platforms that LMIC-node currently supports.
For you, how to implement this properly depends on your MCU platform and you will need to solve the issues described above for your platform and hardware.
from lmic-node.
from lmic-node.
I think it's an understatement, that deepsleep is very relevant - I believe it's essential!
It definitely is. Therefore it's sad that the LMIC library still doesn't provide any type of support for it.
I found a solution which was realized for an ESP32
Be aware that the dutycycle correction which that solution implements works for EU band plans (eu868) only.
which ... forgets EVERYTHING during deepsleep
Well, almost everything: contents of RTC memory is preserved during deep sleep (see ESP32 memory types).
BR
from lmic-node.
Related Issues (20)
- Sub-band selection HOT 1
- TTGO T-Beam V1.1 - analogRead - Uplink not scheduled because TxRx pending HOT 8
- Definition: _LMIC_CONFIG_PRECONDITIONS_H_ HOT 3
- Event: Uplink not scheduled because TxRx pending issue HOT 4
- How to change Pico SPI channel? HOT 2
- Failing build: multiple definition of `hal_init' HOT 3
- Sparkfun ESP32 WROOM with RFM95W support HOT 1
- USE_DISPLAY Not working TTGO-Lora32 V1.3 HOT 4
- Spreading Factor can't be set HOT 1
- Bootloop with TTGO LoRa32 V2.1.6 board with platform-espressif32 v4.30 and higher HOT 27
- Add support for heltec LoraWAN Wifi OLED board version 3 HOT 3
- rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) - infinite loop bug HOT 3
- Support for STM32l0xx HOT 1
- Support for Dragino Arduino Uno + Dragino LoRa-shield (BSF?) HOT 1
- Error ESP32s + Lilygo T-Highrow lora shield 20191223 HOT 2
- Lilygo TTGO v2.1 Bootloop issue caused by wrong Reset pin
- What does LMIC stand for? Add it to the README HOT 2
- Doesn't build with target platform set to 'nodemcu2' HOT 2
- axp2101 please
- Wrong Pi Pico pinout
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lmic-node.