Skip to content

ismagom/leshan-galileo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a fork of https://github.com/jvermillard/leshan

Changes

  • Added WRITE and EXEC operations.
  • Updated lw-resources.json to support Applications objects for OTA software download and execution control.
  • Future plans: add OBSERVE operation

Leshan

Leshan is a OMA Lightweight M2M server implementation.

What is OMA LWM2M: http://technical.openmobilealliance.org/Technical/release_program/lightweightM2M_v1_0.aspx

The specification: http://member.openmobilealliance.org/ftp/Public_documents/DM/LightweightM2M/

Introduction to LWM2M: http://fr.slideshare.net/zdshelby/oma-lightweightm2-mtutorial

Compile & Run

Screencast: http://ascii.io/a/4741

Compile with maven, generate a runnable jar:

mvn assembly:assembly -DdescriptorId=jar-with-dependencies

Run:

java -jar target/leshan-server-1.0-SNAPSHOT-jar-with-dependencies.jar

Now you can register your LWM2M client.

The list of the registered clients: http://localhost:8080/api/clients

Get the instace 0 of the object 3 of a registered client: http://localhost:8080/api/clients/{endpoint}/3/0

Leshan also provides a simple UI (http://localhost:8080) to get the list of connected clients and read some values of clients resources.

Leshan

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 77.7%
  • JavaScript 9.7%
  • Perl 7.1%
  • CSS 4.9%
  • Other 0.6%