-
Notifications
You must be signed in to change notification settings - Fork 408
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
New features for leshan-client-demo ? #1248
Comments
Thx for sharing this. 🙏 Any reason why https://github.com/JaroslawLegierski/lwm2m-simulator is a private repository ? |
I must clean the project before make it public. But most of all I would like to know your opinion if it makes sense. Some of the project's features are specific, but maybe there is something interesting in this tool from the leshan-client-demo point of view? |
My opinion : (The only thing you must be sure is that you don't share confidential information) Oops 😬 I didn't accept your invitation to access to your private repository in time :
|
I looked at this and this looks like a fork of leshan-client-demo. The main new feature I see is the Note that your For now I'm not so sure we want to integrate this in Leshan. 🤔 But I think it could make sense to have more open source project or example of code based on Leshan, so if you make it public we can create a dedicated wiki page to list of all this projects/examples. |
There is another potentially interesting CLI feature in the lwm2m-simulator project - the list nodes command which returns a list of all nodes on leshan-client-demo side: https://github.com/Przem83/leshan/tree/opl/list_nodes What's your opinion about this feature? |
Oh I missed that one. This is about listing all available object/object instance/ resource on the client ? without resource/resourceInstance value ? right ? I don't remember that I needing this kind of feature but maybe this is because I know too much the client-demo behavior. Maybe this can help for new users to discover what is supported by client-demo ? As the code is pretty small and isolated and if you think this is useful we can add it. "Deciding to add or not feature in demos" is not so easy decision because the scope of the demo is not clearly defined and adding a lot of feature is tempting but in the end this could make future refactoring more complicated. |
Yes this function is responsible for listing objects/object instances/resources without values e.g.: /0/0 : LWM2M Security
In my opinion, this option can be useful, for example, for new users, but also when, during the tests, when we have many (different) leshan-demo-client instances running
Thank you very much - I will prepare the appropriate PR
You are absolutely right - that's why we decided to make the lwm2m-simulator project public according to your suggestion (after cleaning and necessary modifications). |
I created PR #1258 |
Thx to you for your contribution 🙏 ! |
Our colleagues developed interesting tool: https://github.com/JaroslawLegierski/lwm2m-simulator Please let me know if you would be interested some of its features that can be potentially implemented e.g. in leshan-client-demo ?
The text was updated successfully, but these errors were encountered: