-
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
add Read-Composite request support #957
Comments
(@yemkay, @madhushreegc you may be interested by this) |
I'm currently exploring the |
Map<String,LwM2mNode> , key is LWM2M path? |
Yes that's the idea. |
I definitely like it. I also think that Map<String,LwM2mNode> with the key being the path is a simple and straightforward solution. It plays in nicely with all kinds of things like JSON Serialization, Logging, etc. |
There are some news in #958 (comment). |
The API currently looks like this : #958 (comment) The missing part is Read-Composite on "/" : #989. I think we can close this issue. |
I'm currently thinking about Read-Composite API.
See :
I guess the request should looks like this :
For the response, this is less easy, I currently have no idea how it should looks like, especially the payload (content) part.
I suppose we could imagine :
Collection<LwM2mNode> getContent()
pretty straightforward but not sure this is so easy to use API :/Map<String,LwM2mNode>
where we match a response for each request path but this could be an issue for"/"
use case where there is not 1 LwM2mNode but several.NavigableMap<LwM2mPath,Lwm2mNode>
which should allow a better way to navigate in received data but API will not be so straightforward tooThe text was updated successfully, but these errors were encountered: