leshan: Unable to Send and receive multiple values with different timestamps of the same resource
It seems to be no way to Send multiple data by client from one resource with different timestamps. Also I don’t see possibility to receive this kind of data by server (by SendListener).
However I can see LwM2mDecoder.decodeTimestampedData() and LwM2mEncoder.encodeTimestampedData() which implementations allow to send timestamped data.
I created POC code locally that uses already implemented decodeTimestampedData() and encodeTimestampedData(), so technically it’s possible to do that, but it needs more investigation.
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 43 (43 by maintainers)
Ok, now everything is more clear for me. I’ll prepare some solution (POC) with container that allows to access both approaches. And if we’ll use container we don’t need overloaded dataReceived() of SendListener interface. And maybe we can use that with Composite-Observe. It can be connected also with #981 idea later (now I want to focus mainly on current functionality).
I opened an issue at https://github.com/OpenMobileAlliance/OMA_LwM2M_for_Developers/issues/538