Skip to content
Simon edited this page Mar 20, 2020 · 5 revisions

Modules

Leshan project is divided in several maven modules.

Core

leshan-core

Commons elements, like TLV/JSON encoder/decoder, DDF file parser, LWM2M requests and responses ...

leshan-core-cf

Commons elements which depend on californium.
Mainly utility classes needed by leshan-server-cf and leshan-client-cf.
You would probably not use it directly.

leshan-server-core

All the LWM2M server logic without any dependency to CoAP implementation.
You would probably not use it directly.

leshan-client-core

All the LWM2M client logic without any dependency to CoAP implementation.
You would probably not use it directly.

leshan-server-cf

The Server implementation based on californium.
This is the module you need if you want to create your own LWM2M server or Bootstrap server

leshan-client-cf

The Client implementation based on californium.
This is the module you need if you want to create your own LWM2M Client

leshan-server-redis

It contains redis implementation of server stores (RegistrationStore, SecurityStore)

Demos

All our demos are not intended to be re-used but could be good example to start.

leshan-client-demo

A simple demo client.

leshan-server-demo

A LWM2M demo server with a web UI.

leshan-bsserver-demo

A bootstrap demo server with a web UI.

Tests

leshan-integration-tests

Contains all our integration automatic tests. It should not be re-used.

Experimentals

leshan-server-cluster

Not available anymore in master anymore.
This is a really experimental module which aims to experiment a Northbound API for Leshan in cluster environment.
See cluster page for more details.
This should not be used it in production.