Need help with leshan?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

520 Stars 341 Forks Eclipse Public License 2.0 1.7K Commits 63 Opened issues


Eclipse Leshan is an OMA Lightweight M2M (LWM2M) implementation in Java.

Services available


Need anything else?

Contributors list


Eclipse Leshan™ is an OMA Lightweight M2M server and client Java implementation.

What is OMA LWM2M ?
Object and Resource Registry.

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 | | - | - | - | - | - | | v1.0.2
core specification(pdf) | v1.x
Supported features | stable released | jenkins-1.x | server-demo
bsserver-demo | | v1.1.1
core specification(html)
transport bindings(html)| v2.x (master)
Supported features | in development |jenkins-master | server-demo
bsserver-demo |

Release (stable and milestones) are available on maven central.
Nightly build (snapshot) are available on eclipse repo. (more details)

The Leshan Documentation is available in our wiki :blue_book:.


Join the project mailing list : subscribe.
Mail address: [email protected]
Access to leshan-dev archives.

Test Server Sandbox

You can try live our servers demos instances:

  • The lwm2m server at
    (coap:// and coaps://
  • The bootstrap server at
    (coap:// and coaps://

(Automatic deployment of master branch)


Test Leshan Demos locally

Get and run the last binary of our demo server :

java -jar ./leshan-server-demo.jar
Get and run the last binary of our demo client :
java -jar ./leshan-client-demo.jar
Get and run the last binary of our bootstrap demo server :
java -jar ./leshan-bsserver-demo.jar
:informationsource: : _All the demos have a

Compile Leshan & Run Demos

Get sources : ```bash

using ssh

git clone [email protected]:eclipse/leshan.git


using https

git clone

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.jar 
or 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 

Let's start to code !

Now you played a bit with our demo, you should start to code your own server or client using our Getting-started guide.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.