Questions tagged [leshan]

Leshan is an OMA Lightweight M2M (LWM2M) implementation in Java. It provides libraries that help people develop their own Lightweight M2M server and client.

What is LWM2M?

OMA Lightweight M2M is a protocol from the Open Mobile Alliance for M2M or IoT device management.

  • On top of CoAP
  • UDP and SMS transport layer support
  • Simple Object based resource model
  • Basic M2M functionalities: LWM2M Server, Access Control, Device, Connectivity, - Firmware Update, Location, Connectivity Statistics
  • DTLS based security

What is Eclipse Leshan?

Leshan provides libraries that help people develop their own Lightweight M2M server and client.

  • Eclipse project since 2014
  • Modular Java libraries
  • Based on Californium CoAP implementation
  • Based on Scandium DTLS implementation
  • IPSO objects support
24 questions
0
votes
2 answers

Docker: problem with run a file jar in docker

I'm new in the community and i'm new in docker's world. i have to virtualize a leshan server through docker and I have to do this with the option "--redis" that leshan makes avaible. so I decided to take a dockerfile from docker hub and modify the…
0
votes
1 answer

Leshan connect to server and cloud

I have the task of implementing iot device management using Eclipse Leshan. I have difficulty understanding how Eclipse Leshan works in connecting IOT sensors with servers and cloud. Is it true if I declare that Eclipse Leshan does not require a…
Hilfit19
  • 29
  • 7
0
votes
1 answer

OMA firmware update using Leshan server: Where to save the files?

I'm quite new to the world of the IOT (protocols). I want to update some devices remotely (they will be installed about 8000km away from my working place). I have found out that LWM2M would fit to my scope. Because the internet connection there is…
Mr Pink
  • 71
  • 7
0
votes
0 answers

Why I am not able to host java application on Azure Linux VM Virtual IP?

I want to run my java application (i.e. Leshan Server) run Azure Linux VM. My VM is configured as dynamic IP. It is showing two IP addresses. These are virtual IP Address-1.1.1.1 0.0.0.0 (private IP) these IP addresses are for example only. My…
ram
  • 23
  • 6
0
votes
1 answer

objectID is always 0 in Observe.onResponse

I'm trying to set up a custom server based on Leshan-server code. I want to store some data received from devices into a database. Currently I'm using the provided leshan-client-demo as the only client, for testing purpose. My plan is to listen to…
FitzFish
  • 8,557
  • 2
  • 30
  • 39
0
votes
1 answer

Eclipse Leshan Server Authentication and Authorization when multiple clients are connected

I am working on Handling security in the Leshan Server when multiple clients are connected. I looked into the source code of the project Leshan. But couldn't figure it out. Could someone please let me know how the leshan server handles security when…
Ctienshi
  • 3
  • 2
0
votes
2 answers

LWM2M Leshan How to configure the default period of an observe?

I am currently working on a lwm2m project, using the leshan eclipse project. When observing a resource, lwm2m seems to use the default minimum period and the default maximum period, two resources of the "LWM2M Server" object. Basically, from what I…
0
votes
1 answer

Getting Timeout error for Read/Write request in Leshan server

How to remove this error, I don't know from where the issue is happening. Is it happening from server side or client side. How to debug this?
RejeeshChandran
  • 4,168
  • 3
  • 21
  • 32
-1
votes
2 answers

Which is better between OneM2M and OCEAN

Which one to select between eclipse onem2m and ocean? Anyone has done any comparison study?
santos
  • 31
  • 4
1
2