Skip to content

Unregistration of provisioned devices via the Device API #230

@versatildefuy

Description

@versatildefuy

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions