-
Notifications
You must be signed in to change notification settings - Fork 375
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
Client: Reset context without closing and reconfiguring #663
Comments
Just for information: Leshan is able to "match" the client using the peer's "Principal". So, I'm not that clear, what "will interfere". Also, as least in the past, some DTLS libraries suppert a "DTLS role exchange" as well. That means, your client may not be even not aware, that there is a new DTLS session (at least not without listen to additional library events). |
Based on current test, I agree with @pehrnord: it seems that Leshan is not handling propertly reconfiguration of observations after a client being impacted by a change in its IP address. Let me add a log, comments:
Summary: Leshan seems not to reconfigure client context after an IP address client's update. Any previous notifications are not longer accepted by server. |
FMPOV, an ip-capture will help much more ... |
|
Oh it seems there is same question on Leshan Respository : eclipse-leshan/leshan#1636 So I will continue the discussion about Leshan there. |
When running a wakaama client on a connection which might be lost without warning, it is not possible to reset the lwm2m_context in preparation for connection reestablishment. If a connection is reestablished within re-transmission time there will still be items in the transactionList and these will interfere with the (re-)registration process.
Would a "lwm2m_reset" function be a suitable addition for this purpose? Pull request will be added
The text was updated successfully, but these errors were encountered: