-
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
Does ["notification Storing" when Server is Disabled] really works ? #572
Comments
From what I see, we can't use NOTIFY because device has deregistered, but maybe it could work with a direct SEND OPERATION when device is back online ? |
As I understand the specification, a device can use SEND Operation on its own initiative. So nothing in the specification prevent a client to send a SEND request just after the REGISTER request and this SEND request can contains anything (which is accessible by the server). So you could image that on
This could work but the 3. step sounds a bit strange. Another solution could be to create a new |
"Notification Storing" applies to the SEND operation initiated from the CLIENT. Likely a configuration design decision by implementers. @lodup29 Please comment further |
My understanding is that stored notifications are indeed tied to an active registration and apply when the client is offline or the LwM2M Server account is disabled though access control. Stored notifications should not apply after a de-registration. As for storing pending SEND OPERATION, I believe that the first step would be to statute on #567 as stored SEND should be timestamped. If this is allowed, given the nature of a SEND, I believe it would make sense to leave the behaviour to the implementation, and not tie stored send behaviour to the value of resource 6. |
Reading LWM2M-v1.2.1@core§Table: E.2-2 LwM2M Object: LwM2M Server Resource definitions
So I understand that "notification storing" with server disabled works like :
But reading the specification I understand that an observe relation is tied to 1 registration. so on de-Registration observation relation must be deleted and so last notify will just be ignored by the server. (This makes sense to not keep state for a deregistered client)
See LWM2M-v1.2.1@core§6.2. Client Registration Interface :
And LWM2M-v1.2.1@core§6.4.1. Observe Operation:
The text was updated successfully, but these errors were encountered: