-
Notifications
You must be signed in to change notification settings - Fork 374
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
Do not a reply to DM requests coming from unregistered servers. #24
Conversation
…the server. Signed-off-by: David Navarro <david.navarro@intel.com>
Signed-off-by: David Navarro <david.navarro@intel.com>
Signed-off-by: David Navarro <david.navarro@intel.com>
This solution has impacts:
|
This is the current status. With this change, the LWM2M client does not reply to any request until the registration phase finished. So the server has no special handling to implement. |
"So the server has no special handling to implement." Scenario:
So, with no special handling on the LWM2M server, the LWM2M server may either get 2.05 or 4.01. |
Yes this is the current behavior of wakaama.
|
OK, your right! I overseen the IGNORE. (By the way, the "current" behaviour of wakaam was a response with 2.05, because the registration status was only checked for observe-, not for read-requests : - ). ) |
Do not a reply to DM requests coming from unregistered servers.
Do not a reply to DM requests coming from unregistered servers.
This can serve as a work around for issue OpenMobileAlliance/OMA_LwM2M_for_Developers#7
If a request arrives before the registration ACK, it will be ignored. So the server will resend it per CoAP specifications. Chances are the ACK will arrive before the retransmission.