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

Infinite bootstrapping loop when the BS delete its own account. #96

Closed
dnav opened this issue Mar 2, 2016 · 2 comments
Closed

Infinite bootstrapping loop when the BS delete its own account. #96

dnav opened this issue Mar 2, 2016 · 2 comments

Comments

@dnav
Copy link
Contributor

dnav commented Mar 2, 2016

If the Bootstrap Server deletes or overwrites its own account, the status of the matching lwm2m_server_t is set to STATE_DIRTY then to STATE_BS_PENDING.
Then the server lists are not refreshed and the changes are not take into account.

ieei0214 added a commit to ieei0214/wakaama that referenced this issue Mar 3, 2016
…e BS delete its own account.

Replace STATE_DIRTY with boolean dirty in lwm2m_server_t.

Signed-off-by: Ricky Liu <ieei.liu@gmail.com>
@ieei0214
Copy link
Contributor

ieei0214 commented Mar 3, 2016

@dnav

STATE_DIRTY is just for tag server which is modified by bootstrap. So I remove it and add bool dirty in lwm2m_status_t.

It can pass the server bs process. I'm not sure if it's the best way but it's a simple solution for you reference.

Thanks.

dnav added a commit that referenced this issue Mar 4, 2016
Fix for issue #96: Infinite bootstrapping loop when the BS delete its…
@dnav
Copy link
Contributor Author

dnav commented Mar 4, 2016

Fixed by #98

@dnav dnav closed this as completed Mar 4, 2016
vslapik pushed a commit to vslapik/wakaama that referenced this issue Apr 20, 2017
…e BS delete its own account.

Replace STATE_DIRTY with boolean dirty in lwm2m_server_t.

Signed-off-by: Ricky Liu <ieei.liu@gmail.com>
vslapik pushed a commit to vslapik/wakaama that referenced this issue Apr 20, 2017
Fix for issue eclipse-wakaama#96: Infinite bootstrapping loop when the BS delete its…
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

2 participants