leshan - standalone bootstrap server

A LWM2M bootstrap server running an embedded Jetty server

License

License

Categories

Categories

CLI User Interface
GroupId

GroupId

org.eclipse.leshan
ArtifactId

ArtifactId

leshan-bs-server
Last Version

Last Version

0.1.11-M7
Release Date

Release Date

Type

Type

jar
Description

Description

leshan - standalone bootstrap server
A LWM2M bootstrap server running an embedded Jetty server

Download leshan-bs-server

How to add to project

<!-- https://jarcasting.com/artifacts/org.eclipse.leshan/leshan-bs-server/ -->
<dependency>
    <groupId>org.eclipse.leshan</groupId>
    <artifactId>leshan-bs-server</artifactId>
    <version>0.1.11-M7</version>
</dependency>
// https://jarcasting.com/artifacts/org.eclipse.leshan/leshan-bs-server/
implementation 'org.eclipse.leshan:leshan-bs-server:0.1.11-M7'
// https://jarcasting.com/artifacts/org.eclipse.leshan/leshan-bs-server/
implementation ("org.eclipse.leshan:leshan-bs-server:0.1.11-M7")
'org.eclipse.leshan:leshan-bs-server:jar:0.1.11-M7'
<dependency org="org.eclipse.leshan" name="leshan-bs-server" rev="0.1.11-M7">
  <artifact name="leshan-bs-server" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.eclipse.leshan', module='leshan-bs-server', version='0.1.11-M7')
)
libraryDependencies += "org.eclipse.leshan" % "leshan-bs-server" % "0.1.11-M7"
[org.eclipse.leshan/leshan-bs-server "0.1.11-M7"]

Dependencies

compile (6)

Group / Artifact Type Version
org.eclipse.leshan : leshan-server-cf jar 0.1.11-M7
commons-io : commons-io jar 2.4
commons-lang : commons-lang jar 2.6
org.eclipse.jetty : jetty-webapp jar 9.1.4.v20140401
org.eclipse.jetty : jetty-continuation jar 9.1.4.v20140401
com.google.code.gson : gson jar 2.2.4

runtime (2)

Group / Artifact Type Version
org.apache.logging.log4j : log4j-core jar 2.1
org.apache.logging.log4j : log4j-slf4j-impl jar 2.1

test (1)

Group / Artifact Type Version
junit : junit jar 4.11

Project Modules

There are no modules declared in this project.

Leshan

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

Contact

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:

(Automatic deployment of master branch)

Leshan

Test Leshan Demos locally

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

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

Get 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

ℹ️ : All the demos have a --help option.

Compile Leshan & Run Demos

Get sources :

#using ssh
git clone [email protected]:eclipse/leshan.git

or

#using https
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.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.

org.eclipse.leshan

Eclipse Foundation

Versions

Version
0.1.11-M7
0.1.11-M6
0.1.11-M5
0.1.11-M4
0.1.11-M3
0.1.11-M2
0.1.11-M1
0.1.10