-
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
How to collect and send gateway object including the IoT Device Objects resource #1660
Comments
I'm not sure I get the question. Could you give me some context ? What are you trying to achieve ? |
I try to send the object 25 to my lwm2m server, but it doesn't include resource 3 of object 25 (IoT Device Objects). |
Ok so you want to use Leshan Client to simulate a LWM2M Gateway ? But are you coding your own client using Leshan library OR you are just playing with leshan-client-demo ? |
Yes exactly, with the leshan cliënt demo. |
Ok you launch your leshan-client-demo then use command leshan-client-demo does NOT really implement object 25. You can have a look at the DummyInstanceEnabler. It seems for this multiresource corelink resource currently leshan demo doesn't provide any default resource .. |
I was just wondering if it was possible to set it somehow. No need to do any code changes 😏 |
I'm not sure what you have in mind but this is about sending a WRITE request from LWM2M server to Client. It seems this will not be possible because resource /25/?/3 is Read only.
Currently we generate value for all type except coreLink resource, so it could make sense to me to change it.
This allow to initialize client with custom value. Let me know if one of those changes could fit your need ? |
No I needed to send the gateway object to my lwm2m server, not from the server to the client :-) |
Note that Leshan doesn't really support the Gateway use case, so you could face some limitation at some point.
Ok I will let this open as possible enhancement for client demo. |
Question
Small question I guess; using the Leshan client, how can I make sure the IoT Device Objects resource (3) of the Gateway object (25) is present and filled?
The text was updated successfully, but these errors were encountered: