OpenMobileAlliance / OMA_LwM2M_for_Developers

OMA LightweightM2M public resources.
http://openmobilealliance.github.io/OMA_LwM2M_for_Developers/
Other
239 stars 52 forks source link

Using NB-IoT as the underlying LPWA technology #293

Closed seanmcilroy29 closed 5 years ago

seanmcilroy29 commented 6 years ago
mojanm commented 6 years ago

By the sound of it you are using Queue Mode of operations, or at least should be. So as per section 8.3 of LwM2M specification client needs to send Registration Update to the server before anything else every time it wakes up and comes online.

aforster23 commented 6 years ago

Thanks. I think you are correct, however this behaviour is very inefficient for battery powered devices that are reporting their logged data every day (or even more frequently), as the Registration Update gets sent, then the client waits on the air for ACK_TIMEOUT time (~ 15 seconds in our case) before sending the daily payload. This adds significant overhead to each day, as Reg Update can be ~ 100 bytes, plus extra 15 seconds waiting for any queued server messages, followed finally by daily payload. Hopefully the next release allows notification messages to reset the registration lifetime timer.

ytava commented 6 years ago

Hi,

As mentioned above, when working in Queue Mode every time the client goes back online it should send Registration Update, it is not related to reg lifetime. So resetting reg lifetime upon notification won't help in this case.

Your options for optimize power consumption:

  1. Modem should use PSM/EDRX (depending if it should be available for NW request - pageable).
  2. Even during LWM2M communication time (pending for ACK timeout, etc), the modem should go to low power mode (still in IDLE DRX)
hannestschofenig commented 5 years ago

The registration update message is very small since it does not have any payload. Using notifications to extend the registration lifetime is not possible with LwM2M.

aforster23 commented 5 years ago

Thanks, yes we now have default behaviour to send registration update each and every time the device wakes from PSM mode and connects to our server. Its a small overhead that we were trying to avoid, but given how well NB-IOT works it is negligible in the scheme of things now. thanks