-
Notifications
You must be signed in to change notification settings - Fork 52
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
Object Versioning or Object and Object Instance Versioning? #557
Comments
Hi @bejost, Thx for opening this ticket, I'm Leshan main maintainer and I hope you will get an answer. Even if all is already explained in Leshan, I prefer to summarize the issue here for OMA authors. All LWM2M specs says that Object Version attribute must be attached to Object :
In v1.0.2 and v1.1.1, all examples respect this statement. More than that you can even see that link to object is added just to be able to version object. E.g : The only ambiguity could come from LWM2M v1.2 examples at 7.2.3. Object Definition and Object Version Usage :
So my understanding :
From Leshan point of view :
For the future, maybe OMA will add this feature ? See eclipse-leshan/leshan#1315 (comment) 🤷 Would be happy to have OMA clarification / confirmation about that. 🙏 |
Hi, This is not an example mistake but a possibility introduced in the latest LwM2M TS:
Now there is still the ever ongoing discussion on the scope of a TS version related to the protocol version... |
@dnav Thx a lot for clarification. 🙏
As :
was only added in v1.2.1. From the outside that really looks like a mistake which turns on a new feature between v1.2 and v1.2.1 😁. Anyway, If this is a real feature now, I feel there is maybe a mistake in specification v1.2.1 at Table: 7.3.1.-1 Class Attributes : (or maybe I didn't get what means attachment ? the spec says : "The Level (Object, Object Instance, Resource, Resource Instance) to which an Attribute is attached") |
IMHO "attachment" is from a logical point of view, and does not concern the representation in the CoRE-Link payload.
Reading this, my understanding would be that Instances of the same Object could have different versions. |
Maybe this can be interpreted like this 🤔 Anyway I try to reformulate my point. Note that :
|
Group agrees that this issue is resolved and can be closed 10/31/2023 |
@mkgillmore can you elaborate ? Resolved by what ? and in which version of the specification ? Especially about #557 (comment) |
I agree with @sbernard31: @mkgillmore Can you please elaborate, especially about #557 (comment) ? The specifications published by the OMA are intended to provide technology that are compatible with each other, regardless of manufacturer/developer. I asked this question, because i was working with a hardware module, that was unable to send a LwM2M-Register. Root cause was a object/ object instance/ ressource versioning implemented in the firmware and a server, that doesn't accept such a request. Nobody is perfect, there is no "bug free" perfect software, and there is no perfect specification. If you start writing software, that is specified in a document, there is always some unclearity or some gaps in the spec. What approach does the OMA take? Does OMA publish specs with clearification nodes? Where can I find such information? |
A LwM2M-Client that supports LwM2M-1.1 send a register to a LwM2M-Server.
In LwM2M-Specification in chapter "6.2.1 Register Operation" is a table "Registration Parameters" in this table is specified, that a client send in every Registration Request "Objects and Object Instances".
In chapter "7.2.3 Object Definition and Object Version Usage" is object versioning specified.
I have a LwM2M-Server (Leshan) and an Hardware-Module that supports LwM2M-1.1.
The Hardware-Module can't successful registered on the LwM2M-Server. The issue is, that Client send in LwM2M-Register a with Object and Object Instance and Server expects only a Object in register message.
In textual description of chapter 7.2.3 is only Object versioning described, not Object and Object Instance versioning. The examples shows Object and Object Instance Versioning.
Can you please clarify, is there a versioning of objects or of objects and object instances in LwM2M 1.1?
Is it correct, that the server rejects versioned object and object instances? (Because not described in specification only described as examples)
This issue is as well discussed here: Leshan Issue 1273 and here Leshan Issue 1315
The text was updated successfully, but these errors were encountered: