question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Implementation of Observe-Composite

See original GitHub issue

Hello everyone!

I want to participate in the implementation of Observe-Composite functionality.

I’m working on prototype of this functionality and I have a problem:

In COAP module there is org.eclipse.californium.core.server.ServerMessageDeliverer.deliverRequest() method. This method gets Resource according to UriPath passed in request. Then method checkForObserveOption() addeds ObserveRelation relation to the exchange. This is necessary to correlate observe client responses with server observe request.

But for the Observe-Composite should be passed multiple paths in payload. I could set LwM2mPath.ROOTPATH as target and paths in payload like it’s done in CoapRequestBuilder.visit(ReadCompositeRequest request), but in that case in method ServerMessageDeliverer.deliverRequest() I will get RootResource and checkForObserveOption() will not pass, because RootResource is not observable.

Am I doing this in wrong way, or implementation of COAP may be incomplete?

Thank you in advance for your answer.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:37 (30 by maintainers)

github_iconTop GitHub Comments

1reaction
Michal-Wadowskicommented, Jul 16, 2021

I’m want to announce that I just implemented observe-compose functionality (in repository that I mentioned earlier) 😄. It needs a lot of code cleaning and the Redis integration is not implemented yet, but you can check the solution in general.

0reactions
Michal-Wadowskicommented, Sep 7, 2021

Yes, I think we can close this issue. For now I’m going to work on #1046

Read more comments on GitHub >

github_iconTop Results From Across the Web

LwM2M Composite Observe - Nordic Q&A
The server supports the LwM2M 1.1 observe composite feature. It is based on leshan-server-cf 2.0.0-M5. When the nRF9160 client sends three ...
Read more >
Performing LwM2M operations - IoT Developer Zone
Performing LwM2M operations#. This section will give you an overview of how to perform LwM2M operations on devices in AWS IoT Core and...
Read more >
White Paper – Lightweight M2M 1.1 - OMA SpecWorks
This document begins with outlining Operator motivation and IoT development challenges faced by partners & application developers when deploying ...
Read more >
Computing Resources and Software Support for the UKQCD ...
In a laboratory, however, we only observe composite objects such as protons (qqq) or pi-mesons ( q -- anti-q), collectively known as hadrons....
Read more >
2. OMA LwM2M - Brief description — Anjay 3.2.1 documentation
CoAP is an application layer protocol similar to HTTP in philosophy and general ... of Observe and Cancel Observation operations - Observe-Composite (CoAP ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found