-
Notifications
You must be signed in to change notification settings - Fork 73
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
Empty <Operations> values for Server object resources /1/X/13..1/X/20 #519
Comments
Comment submitted directly to PR #520 (comment).
|
Thanks, I've submitted the issue to the DMSE: |
Those was fixed in LWM2M 1.2, I strongly think that this fix should be backported on version_history/1-1_1.xml @jpradocueva @hannestschofenig what do you think about this ? |
Changes to the LwM2M Objects are guided (partially) by the principles of Semantic Versioning. Each time that an Object changes, the group needs to evaluate the type of changes, see 7.2.1 General Policy If we follow the current policy, if Object 1 v1.1 changes, it implies that v1.1 is kept as it is and the object now will be superseded by the next version v1.2. |
I'm not sure if using only 2 digits for versioning is a good idea but keeping bugged version of model doesn't make sense to me. If none of this is done, what will do implementers ?
Of course for bug fixes this doesn't make sense, eventually we can live without PATCH number(only 2 digits) but we should be able to fix an existing version without change the MINOR number. And repository should contains at least last fixed version of each MINOR release.
You get me correctly, we need a way to bug fix model already released without incrementing MINOR version. |
@sbernard31 thanks for the clarification. I will bring this issue to tomorrow's IPSO/DMSE meeting |
If none of this is done, what will do implementers ?
either they will continue to use a bugged/partially unusable version
or they will fix this on its side. (with the risk that each one do it in a
different way and so with interoperability issue)
That's what we did in our client, the spec is pretty clear that these
resources should have at least the Read permission, and the scheme has a
typo, so we implemented Read operation.
|
Personal opinion: Using version 1.1 of the Object with different operations than those defined in the XML can only lead to interoperability issues. Version 1.1 contains buggy but optional Resources. If these Resources are needed for your use-case, you should consider using the version 1.2 of the Object. |
I agree
But the version v1.2 of this object targets LWM2M v1.2 as minimal version. This kind of scenario show why we need a way to release bug fix for object model. |
@jpradocueva do you have any update about how managing this kind of issue ? There are needs of this for LWM2M v1.1 in Leshan (see : eclipse-leshan/leshan#1393) |
@sbernard31, the only thing I can do is bring it to the group's attention again. I will mention that the problem has not been resolved. |
@jpradocueva thx for doing this 🙏 Do you know what was the "conclusion" of this discussion last time that was reported to the working group ? |
@sbernard31, the group has not formally reviewed your request yet. It is on next week's agenda. |
This is the official answer from the DMSE group from the 2023-03-14 meeting: The Resources 13 to 20 in the version 1.1 of the LwM2M Server Object (ID: 1) do not have defined operations. This means that only the LwM2M Bootstrap Server can set these Resources during the Bootstrap procedure. This was intentional. With experience and new use cases, in the version 1.2 of the LwM2M Server Object, the Resources 13 to 20 were changed to allow the Read operation. Resources 14, 17, 18, 19, and 20 also allow the Write operation from LwM2M Servers. With this later change, LwM2M Servers can configure the delays and retries of the Single Ordered or Unordered Server Procedure to adapt to changing network conditions (if authorized by the ACL). Note that a LwM2M 1.1 Client could use the version 1.2 of the Object, and choose to not implement the Resources 24 to 27. Its Registration payload would be:
Regards, |
Thx a lot for clarification, that's really help 🙏 About,
I'm not so comfortable with the idea to allow a LWM2M 1.1 client to use an object model with |
@sbernard31 is there anything actionable for the DMSE to be done here or can we close the issue at this point? |
@jaimejim, I think we can close this. Thx again for clarification. |
Group agreed to close 4-4-2023 |
The definition of Server object /1 at LWM2M_Server-v1_1_1.xml has empty tags for resources from /1/X/13 to /1/X/20. I suppose they all should have "RW" permissions, but you at least have to specify "R" permission, otherwise the only command the server is allowed to do to these resources is Discover.
Just look what this broken object definition did to Leshan:
![Screenshot_20200902_230116](https://user-images.githubusercontent.com/155328/92030875-58ca6280-ed70-11ea-9dcb-9296cef4f37f.png)
The text was updated successfully, but these errors were encountered: