-
Notifications
You must be signed in to change notification settings - Fork 408
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
Store and forward of Notify messages for Client with UQ binding #595
Comments
I will turn myself in captain obvious but the part strictly about the spec could have been posted on OMA LWM2M developers group. The part about Leshan is well placed here. Anyway, I will try to answer to the OMA LWM2M spec question too.
The LWM2M specification define a way to store notifications when device is off line. In the Server object (Id 1), there is a resource "Notification RW Storing When Disabled or Offline" (id 6) which is described as (§E.2): To report those stored notifications, you can use JSON format ( Here is an JSON example of the specificaiton (§4.4) : {
“bn”:“/72/“,
“e”:[
{"n":"1/2","v":22.4,"t":-5},
{"n":"1/2","v":22.9,"t":-30},
{"n":"1/2","v":24.1,"t":-50}
],
"bt":25462634
} At Leshan Server side you can get it, using
Leshan client does not support stored notification for now : #596.
You must know the protocol constraints :
See for more details : https://github.com/eclipse/leshan/wiki/F.A.Q.#all-questions-relative-to-lwm2m-observe So, if you are using the stored notifications like defined above, this should be OK. If you store
Leshan should behave as explained above. |
Could we close this issue ? |
Yes I think for now it can be closed. Thanks Simon! |
Hi,
I'm not sure if this should be posted in leshan or in the OMA LWM2M developers group. Please let me know and I will move it.
I have a Wakaama client connecting with UQ binding (to a Leshan server) because the cellular connection is turned off to save power. We want our client to implement a store and forward of notification messages when the network connection is turned off. Are there any recommendations on implementing this? Does the Leshan client have any implementation?
Will the server respond correctly (to the stored notification messages) when the client does its registration update and then starts sending the stored notification messages? As long as every notification message is sent with a sequential message ID my thought is the server should not have any problems?
Thanks,
Valens
The text was updated successfully, but these errors were encountered: