Eclipse Leshan is an OMA Lightweight M2M (LWM2M) implementation in Java.
The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:
Eclipse Leshan™ is an OMA Lightweight M2M server and client Java implementation.
Leshan provides libraries which help people to develop their own Lightweight M2M server and client.
The project also provides a client, a server and a bootstrap server demonstration as an example of the Leshan API and for testing purpose.
| LWM2M Version Targeted | Leshan Version | Development State | Build Status | Standalone Demos |
| - | - | - | - | - |
core specification(pdf) | v1.x
Supported features | stable released | jenkins-1.x | server-demo
bsserver-demo | | v1.1.1
transport bindings(html)| v2.x (master)
Supported features | in development |jenkins-master | server-demo
The Leshan Documentation is available in our wiki :blue_book:.
You can try live our servers demos instances:
(Automatic deployment of master branch)
Get and run the last binary of our demo server :
wget https://ci.eclipse.org/leshan/job/leshan/lastSuccessfulBuild/artifact/leshan-server-demo.jar java -jar ./leshan-server-demo.jarGet and run the last binary of our demo client :
wget https://ci.eclipse.org/leshan/job/leshan/lastSuccessfulBuild/artifact/leshan-client-demo.jar java -jar ./leshan-client-demo.jarGet and run the last binary of our bootstrap demo server :
wget https://ci.eclipse.org/leshan/job/leshan/lastSuccessfulBuild/artifact/leshan-bsserver-demo.jar java -jar ./leshan-bsserver-demo.jar:informationsource: : _All the demos have a
Get sources : ```bash
git clone [email protected]:eclipse/leshan.git
git clone https://github.com/eclipse/leshan.git
Compile it, by running in leshan root folder :
mvn clean install ```
Run demo server:
java -jar leshan-server-demo/target/leshan-server-demo-*-SNAPSHOT-jar-with-dependencies.jar
Connect on Leshan demo UI: http://localhost:8080
Leshan server Demo provides a very simple UI to get the list of connected clients and interact with clients resources.
Now you can register a LWM2M client by running our client demo:
java -jar leshan-client-demo/target/leshan-client-demo-*-SNAPSHOT-jar-with-dependencies.jaror trying the Eclipse Wakaama test client.
You can also try our bootstrap demo server:
java -jar leshan-bsserver-demo/target/leshan-bsserver-demo-*-SNAPSHOT-jar-with-dependencies.jar
Now you played a bit with our demo, you should start to code your own server or client using our Getting-started guide.