-
Notifications
You must be signed in to change notification settings - Fork 407
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
Leshan Bootstrap new Sequence mode #1454
Comments
Yep, I get the issue. The current idea in Leshan :
And also, if you just want to do minor changes you can just extend default Leshan implementation of those classes. A solution at short term : The remaining question: Another solution is to change |
I prepared this PoC . (apologies for the frontend part - not too familiar with vue 😉 ) What do you think - can we implement something similar in Leshan ? |
Yep this is what I understood when I read your very well described issue. But I'm still not sure this should be in Leshan library like I explained just above ☝️ On your side Is it a behavior :
I know it seems I always try to limit new additions in Leshan but my goal is to limit the scope as much as possible at the LWM2M specification itself. Adding too many features makes maintenance or future refactoring harder. Here this sounds small changes but last time I rewrite the UI completely, all the small feature makes the migration very long. (I even decide to remove some of them) Anyway, I'm counting on you to help me to keep the scope of Leshan small enough to be maintainable 🙏 About this new mode I have some concerns:
|
Me too 😅 |
Question
Some of devices DO NOT handle the DISCOVER operation during the Bootstrap Sequence. Unfortunately, we do not know in advance if a device will support it or not.
Currently in Leshan, you can choose between 2 modes:
Mode A) Leshan does NOT perform any DISCOVER and uses the instance number 0 as the one used for Bootstrap Server.
Mode B) Leshan does a DISCOVER in order to get the information on what is the instance number used by the device to hold Bootstrap Server informations. This is the Opt area named autoIdForSecurityObject == true below
Our problem is that it is difficult to know in advance if a specific device will supports the Bootstrap Discover correctly or not. Which is quite impossible to know in advance if we should use Mode A) or Mode B).
We would like to implement a new mode, which can be summarized in this way:
The text was updated successfully, but these errors were encountered: