Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[leshan-dev] Clarification regarding LESHAN server and client demo

Hi,

I am learning LWM2M technology using Leshan.
I have downloaded the source files and demo jar files from  https://github.com/eclipse/leshan
I have few doubts regarding the demo server and demo client.


1) I am trying to run the Leshan server and client demo jar files.
When I run both server & client in the same machine, Client details are listed in the server.
But, when I start server in one machine and client in other machine (connected via WiFi), server doesn't list client details.
I am starting the server using the following command:
"java -jar leshan-server-demo.jar -lh 192.168.1.101 -lp 5683"

and client using the following command:
"java -jar leshan-client-demo.jar -lh 192.168.1.102 -lp 5683 -u 192.168.1.101:5683"

In client side wireshark, I could see client sending Coap Registration message and in 
server side wireshark, I could see the incoming Coap Registration message.
But, the details are not reflected in the WebServer page.

Can you please help me to figure out where I am going wrong?


2)  I wanted to understand the flow from Coap to LWM2M server. I am trying to put some logs in corresponding files.
Is there any way I can compile the source files using eclipse and get the client and server jar files.

Thanks,
Rajesh Kumar S R


Back to the top