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

Observation data mixup due to observation token re-use #78

Open
GiedriusM opened this issue Sep 19, 2018 · 0 comments
Open

Observation data mixup due to observation token re-use #78

GiedriusM opened this issue Sep 19, 2018 · 0 comments
Assignees
Labels

Comments

@GiedriusM
Copy link

Restserver may send invalid resource value when observations are deleted and added.

Bugflow:
C - LwM2m client; S - LwM2M server (wakaama); R - REST client;

CS: Registration
RS: Subscribe A
CS: Update
SC: Observe A [token = 0]
CS: Content A [0] --> SR: Notification Resource A
....
RS: Unsubscribe A (observe list empty)
RS: Subscribe B (observation list id re-use)
CS: Content A [0] --> SR: Notification Resource B!!!!!!!!!!!!!!!!!! (client sent content for resource A)
....
CS: Update
SC: Observe B [0]
CS: Content B [0] --> SR: Notification Resource B (back to normal once update is received)

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

No branches or pull requests

2 participants