Closed seanmcilroy29 closed 5 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.
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.
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:
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.
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
(e.g. OMA-TS-LightweightM2M-V1_0_2-20180209-A)
: