-
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
Software Management executable resources synchronous or async? #591
Comments
(warning I'm not OMA member and so not a LWM2M author) You are talking about object LWM2M Software Management object 9 right ?
My understanding is when server send an EXECUTE request on one of those resources then client should answer immediately.
So yes I understand this is async action.
Oh good question.
I don't know what will be the official answer but I will not do that. I see the object instance as a way to control the software lifecycle. So FMPOV, a client should only allow to remove the object instance of a software where Update |
Yes, talking about Software Management Object 9. I agree overall with your interpretation. Unfortunately the spec doesn't remark on any criteria for accepting or rejecting a Delete request. |
I haven't found anything on the subject, and I agree that it would be a good idea to clarify this point. |
The DMSO WG has discussed this issue and the consensus is this issue is implementation dependent and not part of the specification. |
Doesn't that create a potential problem for interoperability? |
Is execution of the Install, Uninstall, Activate, and Deactivate resources of the Software Management object understood to initiate an asynchronous action, as opposed to performing the complete action synchronously before sending the response (success or failure) to the execute request?
A similar question I have is, what should the behavior be when deleting a software instance that is currently in the Installed state? Should a Delete request be interpreted as implicitly requesting an uninstall in this case (which could be performed asynchronously)? And if so, could or should there be any changes to /9/x/7 or /9/x/9 resulting in notifications being delivered before or after the response to the delete request itself.
The text was updated successfully, but these errors were encountered: