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

Add tool to remove client registration from server. #223

Open
thetoster opened this issue Jul 5, 2016 · 2 comments
Open

Add tool to remove client registration from server. #223

thetoster opened this issue Jul 5, 2016 · 2 comments

Comments

@thetoster
Copy link
Contributor

It would be nice to have some tool/script which allows to kick some client from server (unregister).
At this moment I need to wait until instance of crashed client unregister due to timeout, which is little frustrating.

@cdewbery cdewbery changed the title [feature request] Kick somebody from server. Add tool to remove client registration from server. Jul 5, 2016
@DavidAntliff
Copy link
Collaborator

This is how LWM2M works, because it needs to work with sleeping devices. Normally the server has no way of knowing whether the client has crashed or is just asleep. This is why the update time period is configurable on the client. If you want it to disappear sooner, then you'll want to reduce the update time on the client.

Are you having an issue with a crashed client being unable to re-register due to an existing record?

@thetoster
Copy link
Contributor Author

The way in which server works is fine in production state. However it will be useful for developer to instruct server that some client just expired. As you mentioned root cause of this request is restarted client can't re-register due to existing record, and in such situation send of "unregister" as a existing client will be useful.

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

No branches or pull requests

3 participants