Leshan currently does not consider the fact that a LWM2M client has registered with support for queue mode or not. Leshan always tries to immediately
retrieve a resource from the client and will simply timeout if no response is received. This will then be signaled back to the application having issued the original request.
My impression is that the Queue Mode is still quite under-specified in LWM2M. Our current take regarding the interface between the application
layer and leshan is to transparently put the downlink request into the LWM2M client’s queue to be processed the next time the client updates its registration. The application layer will need to provide a ResponseCallback to notify once the response has been
received (which could be days later). I would be interested in anybody’s opinion whether this is a feasible approach, though …
Regards,
Kai
From: leshan-dev-bounces@xxxxxxxxxxx [mailto:leshan-dev-bounces@xxxxxxxxxxx]
On Behalf Of Henryk Konsek
Sent: Wednesday, July 22, 2015 2:15 PM
To: leshan developer discussions
Subject: Re: [leshan-dev] Queue Mode
What is the current behavior for the queued requests then? The request will simply fail just as if queue mode is not enabled?
Hi Luis,
queue mode is not (yet) implemented in leshan. We have a pending PR for adding it though
which you might be interested to take a look at as well:
https://github.com/eclipse/leshan/pull/31
Regards,
Kai
Hello to everybody:
I've try to use this binding mode (queue mode) setting param b=UQ, but i'm not sure if this is working correctly, is Leshan support this mode? I still don't know how verify it,
i am reviewing structure of project to add controls y manage manually the queue mode.
_______________________________________________
leshan-dev mailing list
leshan-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/leshan-dev
|