eclipse/leshan


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

License: BSD-3-Clause

Language: Java

Keywords: coap, device-management, eclipseiot, internet-of-things, iot, java, lwm2m


Build Status

Leshan

Leshan is a OMA Lightweight M2M server and client java implementation.

What is OMA LWM2M ?
The specification.
Introduction to LWM2M.

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.

Contact

Join the project mailing list : subscribe.
Mail address: leshan-dev@eclipse.org.
Access to leshan-dev archives.

Test Server Sandbox

You can try live our servers demos instances:

(Automatic deployment of master branch)

Test Leshan locally

Get and run the last binary of our demo server :

wget https://hudson.eclipse.org/leshan/job/leshan/lastSuccessfulBuild/artifact/leshan-server-demo.jar
java -jar ./leshan-server-demo.jar

Get and run the last binary of our demo client :

wget https://hudson.eclipse.org/leshan/job/leshan/lastSuccessfulBuild/artifact/leshan-client-demo.jar
java -jar ./leshan-client-demo.jar

Get and run the last binary of our boostrap demo server :

wget https://hudson.eclipse.org/leshan/job/leshan/lastSuccessfulBuild/artifact/leshan-bsserver-demo.jar
java -jar ./leshan-bsserver-demo.jar

Compile & Run

mvn clean install

Run demo server:

java -jar target/leshan-server-demo-*-SNAPSHOT-jar-with-dependencies.jar 

Connect on Leshan demo UI: http://localhost:8080
Leshan 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 target/leshan-client-demo-*-SNAPSHOT-jar-with-dependencies.jar 

or trying the Eclipse Wakaama test client or script samples of its lua binding lualwm2m.

You can also try our bootstrap demo server:

java -jar target/leshan-bsserver-demo-*-SNAPSHOT-jar-with-dependencies.jar 

Leshan

Code with eclipse

You need to add the M2_REPO to your java classpath variables. To do that you can execute the following command:

mvn -Declipse.workspace=<path-to-eclipse-workspace> eclipse:add-maven-repo

An eclipse restart is needed (if you already have it open).

You can also do that inside eclipse: From the menu bar, select Window > Preferences. Select the Java > Build Path > Classpath Variables page.

Now, you need to eclipsify leshan java projects,so run:

mvn eclipse:eclipse

Modules

Leshan-core : commons elements.
Leshan-server-core : server lwm2m logic.
Leshan-server-cf : server implementation based on californium.
Leshan-client-core : client lwm2m logic.
Leshan-client-cf : client implementation based on californium.
Leshan-all : every previous modules in 1 jar.
Leshan-client-demo : a simple demo client.
Leshan-server-demo : a lwm2m demo server with a web UI.
Leshan-bsserver-demo : a bootstarp demo server with a web UI.
Leshan-integration-tests : integration automatic tests.

Project Statistics

Sourcerank 7
Repository Size 4.19 MB
Stars 321
Forks 243
Watchers 75
Open issues 48
Dependencies 0
Contributors 17
Tags 21
Created
Last updated
Last pushed

Top Contributors See all

sbernard31 Julien Vermillard Manuel Sangoï Kai Hudalla Pierre-Henri Trivier Ingo Schaal Ulf Lilleengen Achim Kraus Kiran Pradeep dwoodard1 Alexandru Caciulescu Alexander Ellwein John Nizar Vyacheslav Trushkin Ola Flisbäck cmanset

Recent Tags See all

leshan-1.0.0-M6 April 10, 2018
leshan-1.0.0-M5 January 19, 2018
leshan-1.0.0-M4 September 11, 2017
leshan-1.0.0-M3 June 23, 2017
leshan-1.0.0-M2 June 07, 2017
leshan-1.0.0-M1 February 09, 2017
leshan-0.1.11-M14 October 19, 2016
leshan-0.1.11-M13 September 29, 2016
leshan-0.1.11-M12 July 22, 2016
leshan-0.1.11-M11 June 29, 2016
leshan-0.1.11-M10 May 11, 2016
leshan-0.1.11-M9 March 23, 2016
leshan-0.1.11-M8 February 16, 2016
leshan-0.1.11-M7 January 19, 2016
leshan-0.1.11-M6 November 17, 2015

Interesting Forks See all

bsinno/leshan
Leshan is an OMA Lightweight M2M (LWM2M) implementation in Java.
Java - Last pushed - 2 stars - 1 forks
psaelens/leshan
Leshan is an OMA Lightweight M2M (LWM2M) implementation in Java.
Java - Last pushed - 2 stars
artikcloud/leshan
Eclipse Leshan is an OMA Lightweight M2M (LWM2M) implementation in Java.
Java - BSD-3-Clause - Last pushed - 1 stars
CNXTEoE/leshan
Eclipse Leshan is an OMA Lightweight M2M (LWM2M) implementation in Java.
This repository is no longer available - 1 stars
MehtaPrashant/leshan
Eclipse Leshan is an OMA Lightweight M2M (LWM2M) implementation in Java.
Java - Updated - 1 stars

Something wrong with this page? Make a suggestion

Last synced: 2017-11-24 18:39:05 UTC

Login to resync this repository