Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » leshan lwm2m OBSERVER (access different client's resource)(trying to observe or comsume resourses (subsribe to published information))
leshan lwm2m OBSERVER (access different client's resource) [message #1834516] Wed, 11 November 2020 16:27
Michael Anburaj is currently offline Michael AnburajFriend
Messages: 2
Registered: October 2020
Junior Member
Hello,

I am using Leshan server demo (current version). I can successfully register lwm2m clients and exchange data with them on web interface. the next step would be establish MQTT like publisher-subsriber relationship between the registered clients, I assume the lwm2m equivalent would be the OBSERVE method.
From client-B I would like to GET, SET & OBSERVE resources or client-A. I am not worried about information security now, I would like to understand how establish this basic mechanism.

experimented a bit:
I tried from windows coap client (client-B) the following uri: coap://192.168.0.1:5683/3/0/0?ep=urn:dev:op:1111111111111111111111

192.168.0.1:5683 - is the leshan demo server ip and port
/3/0/0 is the resource instance I am trying to OBSERVE or GET
urn:dev:op:1111111111111111111111 - is the endpoint (client-A)'s device ID

and both OBSERVE & GET request return file not found error from the server.

Please help me with the correct method and details for this.
[FYI: I am working on proof of concept demo]

Thanks,
-Michael.
Previous Topic:error installing eclipse kura
Next Topic:Associating Eclipse Account with Github ID
Goto Forum:
  


Current Time: Sun Nov 29 14:39:52 GMT 2020

Powered by FUDForum. Page generated in 0.03344 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top