-
Notifications
You must be signed in to change notification settings - Fork 7
LTE timeout should be configurable #10
Comments
The config property is called |
This LTE timeout is possibly not needed. The idea is that the modem is configured at boot by the application and that the modem decides when it timeouts the different LTE network modes. As of right now the timeout is in the app to perform a blocking wait of |
The modem has a configuration value for the timeout: This should be configurable by the application to adapt to the respective use case and to fine tune energy consumption. Depending on the use-case scenario 10 minutes might be rather long (e.g. for a slow moving / not moving device). |
Yes, but that option is compile-time atm. I believe the |
Currently the only way to set a connection timeout is the compile time Currently, a workaround is to let the app send an AT command to the modem to stop searching for network. The |
So, postpone this implementation until the new features in the link controller are in place. From an energy perspective doing a blocking wait at boot for connection probably doesn't have a lot of overhead, since the link controller thread sleeps in between "modem callbacks". My concern is that during this time the application can do other stuff like, search for a GPS fix and obtain time. So that when the device eventually connects to LTE, atleast time has been obtained. This way a potential DNS/NTP request can be avoided since the date time module can rely on GPS time. But on the other hand. From a developer point of view it is nice to have a confirmed LTE connection right after boot. So I guess it depends on the intention of the cat tracker firmware. Do we want to provide the most energy efficient solution possible given the circumstance or make room for such "developer friendly solutions". |
The goal is to show the most energy efficient way (ULP!), we have enough developer friendly samples which don't consider energy efficiency to make it easy for humans. So, don't implement a hack, just to have a fake timeout. I wan't this solved with a real configurable timeout, if this is not possible right now, then let's revisit this later. |
Haven't heard about this, so I assume it's not supported right now. |
Currently it seems to be fixed to 10 minutes.
The text was updated successfully, but these errors were encountered: