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
2
votes
0 answers

How to connect Leshan Server to cloud (AWS)

I am new to Leshan and was wondering if it was possible to send live data to AWS via AWS IOT's MQTT or AWS SDK? My main intention is to store sensor node data to AWS Database via Leshan.
mionnaise
  • 188
  • 1
  • 18
2
votes
2 answers

Receiving Observed object changes on Leshan server

I am building a simple prototype based upon the leshan-server-demo included with the repo. I'm attempting to receive updates from objects that have been observed. Packet captures show that the updates are making their way to the server, but I'm…
C Russo
  • 53
  • 7
2
votes
2 answers

Does Leshan support ObjLink?

I am trying to create my composite LWM2M object by using objlink type. For Leshan, the only source on how to write the spec file in JSON seems to be the official oma-objects-spec.json, which does not contain examples of objlinks. Can anyone provide…
Chunhao Wu
  • 23
  • 4
1
vote
1 answer

Do Thingsboard support LwM2M multilpe instance object?

I have a sensor that uses multiple instances of the LwM2M Generic Sensor (3300) object. Sensor send a batch update of instances to Thingsboard LwM2M Server, but it doesn't show this report. I test my sensor with the Leshan server and Leshan shows…
inimin
  • 21
  • 4
1
vote
1 answer

Problem with the communication between lwm2m client and Iot Agent

In these days my teacher gives me to develop a system which uses these components: Lwm2m client (developed with leshan lib in java); Fiware Context Broker (Orion); Lwm2m-Iot Agent (https://github.com/telefonicaid/lightweightm2m-iotagent). I have a…
Army96
  • 11
  • 2
1
vote
0 answers

concurently hit the wakama clients to leshan server with out load testing tools in python language

100k of wakama clients concurently hitting to leshan server with out jmeter or any testing tools in python A python client in git is found which has wrote using asyncio coroutines i would like to modify the client code and achieve concurent hits…
srilalitha
  • 19
  • 1
1
vote
1 answer

I see leshan server timeout to be 5 sec. How and where to increase leshan server timeout?

I am facing Leshan server read timeout while testing with GPRS device. I see the present leshan timout to be 5 Sec which i prefer to increase. CoAP retry in my application is 4 times which takes around 16 sec, 5 sec would not be…
0
votes
3 answers

LWM2M implementation on Spring boot java application

We have an application on java springboot which would interact with IoT devices via HTTP Rest API. However, there is an IoT device that communicates with the LWM2M protocol. So, I need to set up an LWM2M server and make the application an LWM2M…
Rajnish
  • 58
  • 5
0
votes
1 answer

Problem coomunication beetwen leshan client and iotAgent Fiware

for a project i have to connect the Eclipse Leshan Client to a IoT Agent Server. My problem is to read the device's mesurements with Postman or cUrl command. The client after the configuration of the port (5683) look like it's connected to the…
Antonio
  • 11
  • 3
0
votes
1 answer

Create a x509 certificate signed by an existing Root CA

Leshan demo server provided a root CA If you want to connect a client using DTLS with certificate(x509) mode, your client need to trust this certificate to accept DTLS connection with this server. What i want to do is make a new x509 certificate…
MCh
  • 1
0
votes
1 answer

Sending files with varying lengths over lwm2m

I am using Eclipse Leshan to access the resources of a zolertia RE-MOTE. Long story short, I want to send a binary file from my laptop to the board. However, I see that the leshan server may not start the transmission, depending on the file size.…
0
votes
1 answer

Custom Object / Instance name is not reflecting in server for LwM2M custom Object

I have created few custom objects within the range of (26241-32768). As per OMA registry spec, we need not have to register the custom objects which are in the range of 26241-32768. I have used lwm2m Leshan 1.0 server and lwm2m IOWA 1.0 client.…
Amrita Sah
  • 33
  • 7
0
votes
1 answer

Unable to decode COAP packets in wireshark after succesful DTLS decryption

I am trying to debug an LWM2M protocol issue. I need to know what messages are transferred between the COAP server and the COAP client. As the traffic is encrypted using DTLS, I need to give the pre-shared key in wireshark to see the payload.…
Kiran G
  • 67
  • 1
  • 2
  • 8
0
votes
0 answers

store data in a csv file using the curl command

following this image: through a bash script invoked from the terminal I should store the values ​​of "latitude, longitude, timestamp and speed" in a csv file. However, these values ​​update every 1 second, which is why I wrote the following scrip…
0
votes
2 answers

Eclipse Leshan LwM2M Build Failure

I am currently getting myself into the LwM2M topic and I tried the leshan project from eclipse. I followed the README.md on https://github.com/eclipse/leshan. The standalone demos are working fine, but when I try to build the project with "mvn clean…
Silhim
  • 11
  • 4
1
2