Hi Ricardo,
It is a design choice that if all registration or update are failing, the lwm2m_step() returns an error.
It is the application job to decide what to in this case by inspecting and eventually modifying the various servers state.
You can join the discussion on https://github.com/eclipse/wakaama/issues/156 .
Regards,
David Navarro
From: wakaama-dev-bounces@xxxxxxxxxxx [mailto:wakaama-dev-bounces@xxxxxxxxxxx]
On Behalf Of Riccardo Pozza
Sent: Tuesday, 7 June, 2016 15:41
To: wakaama-dev@xxxxxxxxxxx
Subject: [wakaama-dev] Registration Update Failed
Dear all,
I have Wakaama Client (custom sensor board) registering to the Leshan Server Demo deployed in the cloud.
I have an issue and maybe some of you could shed some light.
At times either Wakaama Client cannot register anymore and tells me about a “Registration Update FAILED”, stopping.
I understand that registration update could fail (i.e. Server unavailable), in fact this happens when the Leshan Server Demo encounters some errors.
Is it normal behaviour that the client stops? If not, I think it might be an issue with my implementation.
In case, do I need to restart the loop and try a brand new registration?
Thanks and Kind Regards,
Riccardo.