leshan lwm2m OBSERVER (access different client's resource) [message #1834516] |
Wed, 11 November 2020 16:27 |
Michael Anburaj 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.
|
|
|
Powered by
FUDForum. Page generated in 0.03323 seconds