Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unregistration of provisioned devices via the Device API #230

Open
versatildefuy opened this issue Sep 18, 2020 · 0 comments
Open

Unregistration of provisioned devices via the Device API #230

versatildefuy opened this issue Sep 18, 2020 · 0 comments

Comments

@versatildefuy
Copy link

Hi,
I noticed that unregistering a device completely erases the information on that device in the database.
OMA LwM2m is a protocol that maintains the connection with the device through a keepalive mechanism with a timeout set by the lifetime parameter. If the device does not update its status within that lifetime the server unregisters the device. But there are also many other cases in which the device can be unregistered such as a failure, a reset, or a firmware update.
Thus, if provisioning is established using the Device API, each time the device goes into one of the cases where it must be unregistered its configuration will be completely removed from the database. Making the device completely unusable when it retrieves the connection and registers again.

Perhaps there is a way to avoid this behavior currently implemented that I have not been able to find. Any suggestions?

Thank you very much for your time and efforts,
Greetings

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant